Class: Google::Cloud::Dataform::V1beta1::Dataform::Rest::Client::Configuration

Inherits:
Object
  • Object
show all
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.

Examples:


# Modify the global config, setting the timeout for
# list_repositories to 20 seconds,
# and all remaining timeouts to 10 seconds.
::Google::Cloud::Dataform::V1beta1::Dataform::Rest::Client.configure do |config|
  config.timeout = 10.0
  config.rpcs.list_repositories.timeout = 20.0
end

# Apply the above configuration only to a new client.
client = ::Google::Cloud::Dataform::V1beta1::Dataform::Rest::Client.new do |config|
  config.timeout = 10.0
  config.rpcs.list_repositories.timeout = 20.0
end

Defined Under Namespace

Classes: Rpcs

Instance Attribute Summary collapse

Instance Method Summary collapse

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

Returns:

  • (::Object)


4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
# File 'lib/google/cloud/dataform/v1beta1/dataform/rest/client.rb', line 4598

class Configuration
  extend ::Gapic::Config

  # @private
  # The endpoint specific to the default "googleapis.com" universe. Deprecated.
  DEFAULT_ENDPOINT = "dataform.googleapis.com"

  config_attr :endpoint,      nil, ::String, nil
  config_attr :credentials,   nil do |value|
    allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
    allowed.any? { |klass| klass === value }
  end
  config_attr :scope,         nil, ::String, ::Array, nil
  config_attr :lib_name,      nil, ::String, nil
  config_attr :lib_version,   nil, ::String, nil
  config_attr :timeout,       nil, ::Numeric, nil
  config_attr :metadata,      nil, ::Hash, nil
  config_attr :retry_policy,  nil, ::Hash, ::Proc, nil
  config_attr :quota_project, nil, ::String, nil
  config_attr :universe_domain, nil, ::String, nil

  # @private
  # 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
  config_attr :logger, :default, ::Logger, nil, :default

  # @private
  def initialize parent_config = nil
    @parent_config = parent_config unless parent_config.nil?

    yield self if block_given?
  end

  ##
  # Configurations for individual RPCs
  # @return [Rpcs]
  #
  def rpcs
    @rpcs ||= begin
      parent_rpcs = nil
      parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
      Rpcs.new parent_rpcs
    end
  end

  ##
  # Configuration 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 `commit_repository_changes`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :commit_repository_changes
    ##
    # RPC-specific configuration for `read_repository_file`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :read_repository_file
    ##
    # RPC-specific configuration for `query_repository_directory_contents`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :query_repository_directory_contents
    ##
    # RPC-specific configuration for `fetch_repository_history`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :fetch_repository_history
    ##
    # RPC-specific configuration for `compute_repository_access_token_status`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :compute_repository_access_token_status
    ##
    # 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_release_configs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_release_configs
    ##
    # RPC-specific configuration for `get_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_release_config
    ##
    # RPC-specific configuration for `create_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_release_config
    ##
    # RPC-specific configuration for `update_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_release_config
    ##
    # RPC-specific configuration for `delete_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_release_config
    ##
    # 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_configs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_workflow_configs
    ##
    # RPC-specific configuration for `get_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_workflow_config
    ##
    # RPC-specific configuration for `create_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_workflow_config
    ##
    # RPC-specific configuration for `update_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_workflow_config
    ##
    # RPC-specific configuration for `delete_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_workflow_config
    ##
    # 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
      commit_repository_changes_config = parent_rpcs.commit_repository_changes if parent_rpcs.respond_to? :commit_repository_changes
      @commit_repository_changes = ::Gapic::Config::Method.new commit_repository_changes_config
      read_repository_file_config = parent_rpcs.read_repository_file if parent_rpcs.respond_to? :read_repository_file
      @read_repository_file = ::Gapic::Config::Method.new read_repository_file_config
      query_repository_directory_contents_config = parent_rpcs.query_repository_directory_contents if parent_rpcs.respond_to? :query_repository_directory_contents
      @query_repository_directory_contents = ::Gapic::Config::Method.new query_repository_directory_contents_config
      fetch_repository_history_config = parent_rpcs.fetch_repository_history if parent_rpcs.respond_to? :fetch_repository_history
      @fetch_repository_history = ::Gapic::Config::Method.new fetch_repository_history_config
      compute_repository_access_token_status_config = parent_rpcs.compute_repository_access_token_status if parent_rpcs.respond_to? :compute_repository_access_token_status
      @compute_repository_access_token_status = ::Gapic::Config::Method.new compute_repository_access_token_status_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_release_configs_config = parent_rpcs.list_release_configs if parent_rpcs.respond_to? :list_release_configs
      @list_release_configs = ::Gapic::Config::Method.new list_release_configs_config
      get_release_config_config = parent_rpcs.get_release_config if parent_rpcs.respond_to? :get_release_config
      @get_release_config = ::Gapic::Config::Method.new get_release_config_config
      create_release_config_config = parent_rpcs.create_release_config if parent_rpcs.respond_to? :create_release_config
      @create_release_config = ::Gapic::Config::Method.new create_release_config_config
      update_release_config_config = parent_rpcs.update_release_config if parent_rpcs.respond_to? :update_release_config
      @update_release_config = ::Gapic::Config::Method.new update_release_config_config
      delete_release_config_config = parent_rpcs.delete_release_config if parent_rpcs.respond_to? :delete_release_config
      @delete_release_config = ::Gapic::Config::Method.new delete_release_config_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_configs_config = parent_rpcs.list_workflow_configs if parent_rpcs.respond_to? :list_workflow_configs
      @list_workflow_configs = ::Gapic::Config::Method.new list_workflow_configs_config
      get_workflow_config_config = parent_rpcs.get_workflow_config if parent_rpcs.respond_to? :get_workflow_config
      @get_workflow_config = ::Gapic::Config::Method.new get_workflow_config_config
      create_workflow_config_config = parent_rpcs.create_workflow_config if parent_rpcs.respond_to? :create_workflow_config
      @create_workflow_config = ::Gapic::Config::Method.new create_workflow_config_config
      update_workflow_config_config = parent_rpcs.update_workflow_config if parent_rpcs.respond_to? :update_workflow_config
      @update_workflow_config = ::Gapic::Config::Method.new update_workflow_config_config
      delete_workflow_config_config = parent_rpcs.delete_workflow_config if parent_rpcs.respond_to? :delete_workflow_config
      @delete_workflow_config = ::Gapic::Config::Method.new delete_workflow_config_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?

A custom service endpoint, as a hostname or hostname:port. The default is nil, indicating to use the default endpoint in the current universe domain.

Returns:

  • (::String, nil)


4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
# File 'lib/google/cloud/dataform/v1beta1/dataform/rest/client.rb', line 4598

class Configuration
  extend ::Gapic::Config

  # @private
  # The endpoint specific to the default "googleapis.com" universe. Deprecated.
  DEFAULT_ENDPOINT = "dataform.googleapis.com"

  config_attr :endpoint,      nil, ::String, nil
  config_attr :credentials,   nil do |value|
    allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
    allowed.any? { |klass| klass === value }
  end
  config_attr :scope,         nil, ::String, ::Array, nil
  config_attr :lib_name,      nil, ::String, nil
  config_attr :lib_version,   nil, ::String, nil
  config_attr :timeout,       nil, ::Numeric, nil
  config_attr :metadata,      nil, ::Hash, nil
  config_attr :retry_policy,  nil, ::Hash, ::Proc, nil
  config_attr :quota_project, nil, ::String, nil
  config_attr :universe_domain, nil, ::String, nil

  # @private
  # 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
  config_attr :logger, :default, ::Logger, nil, :default

  # @private
  def initialize parent_config = nil
    @parent_config = parent_config unless parent_config.nil?

    yield self if block_given?
  end

  ##
  # Configurations for individual RPCs
  # @return [Rpcs]
  #
  def rpcs
    @rpcs ||= begin
      parent_rpcs = nil
      parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
      Rpcs.new parent_rpcs
    end
  end

  ##
  # Configuration 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 `commit_repository_changes`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :commit_repository_changes
    ##
    # RPC-specific configuration for `read_repository_file`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :read_repository_file
    ##
    # RPC-specific configuration for `query_repository_directory_contents`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :query_repository_directory_contents
    ##
    # RPC-specific configuration for `fetch_repository_history`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :fetch_repository_history
    ##
    # RPC-specific configuration for `compute_repository_access_token_status`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :compute_repository_access_token_status
    ##
    # 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_release_configs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_release_configs
    ##
    # RPC-specific configuration for `get_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_release_config
    ##
    # RPC-specific configuration for `create_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_release_config
    ##
    # RPC-specific configuration for `update_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_release_config
    ##
    # RPC-specific configuration for `delete_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_release_config
    ##
    # 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_configs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_workflow_configs
    ##
    # RPC-specific configuration for `get_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_workflow_config
    ##
    # RPC-specific configuration for `create_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_workflow_config
    ##
    # RPC-specific configuration for `update_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_workflow_config
    ##
    # RPC-specific configuration for `delete_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_workflow_config
    ##
    # 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
      commit_repository_changes_config = parent_rpcs.commit_repository_changes if parent_rpcs.respond_to? :commit_repository_changes
      @commit_repository_changes = ::Gapic::Config::Method.new commit_repository_changes_config
      read_repository_file_config = parent_rpcs.read_repository_file if parent_rpcs.respond_to? :read_repository_file
      @read_repository_file = ::Gapic::Config::Method.new read_repository_file_config
      query_repository_directory_contents_config = parent_rpcs.query_repository_directory_contents if parent_rpcs.respond_to? :query_repository_directory_contents
      @query_repository_directory_contents = ::Gapic::Config::Method.new query_repository_directory_contents_config
      fetch_repository_history_config = parent_rpcs.fetch_repository_history if parent_rpcs.respond_to? :fetch_repository_history
      @fetch_repository_history = ::Gapic::Config::Method.new fetch_repository_history_config
      compute_repository_access_token_status_config = parent_rpcs.compute_repository_access_token_status if parent_rpcs.respond_to? :compute_repository_access_token_status
      @compute_repository_access_token_status = ::Gapic::Config::Method.new compute_repository_access_token_status_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_release_configs_config = parent_rpcs.list_release_configs if parent_rpcs.respond_to? :list_release_configs
      @list_release_configs = ::Gapic::Config::Method.new list_release_configs_config
      get_release_config_config = parent_rpcs.get_release_config if parent_rpcs.respond_to? :get_release_config
      @get_release_config = ::Gapic::Config::Method.new get_release_config_config
      create_release_config_config = parent_rpcs.create_release_config if parent_rpcs.respond_to? :create_release_config
      @create_release_config = ::Gapic::Config::Method.new create_release_config_config
      update_release_config_config = parent_rpcs.update_release_config if parent_rpcs.respond_to? :update_release_config
      @update_release_config = ::Gapic::Config::Method.new update_release_config_config
      delete_release_config_config = parent_rpcs.delete_release_config if parent_rpcs.respond_to? :delete_release_config
      @delete_release_config = ::Gapic::Config::Method.new delete_release_config_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_configs_config = parent_rpcs.list_workflow_configs if parent_rpcs.respond_to? :list_workflow_configs
      @list_workflow_configs = ::Gapic::Config::Method.new list_workflow_configs_config
      get_workflow_config_config = parent_rpcs.get_workflow_config if parent_rpcs.respond_to? :get_workflow_config
      @get_workflow_config = ::Gapic::Config::Method.new get_workflow_config_config
      create_workflow_config_config = parent_rpcs.create_workflow_config if parent_rpcs.respond_to? :create_workflow_config
      @create_workflow_config = ::Gapic::Config::Method.new create_workflow_config_config
      update_workflow_config_config = parent_rpcs.update_workflow_config if parent_rpcs.respond_to? :update_workflow_config
      @update_workflow_config = ::Gapic::Config::Method.new update_workflow_config_config
      delete_workflow_config_config = parent_rpcs.delete_workflow_config if parent_rpcs.respond_to? :delete_workflow_config
      @delete_workflow_config = ::Gapic::Config::Method.new delete_workflow_config_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

Returns:

  • (::String)


4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
# File 'lib/google/cloud/dataform/v1beta1/dataform/rest/client.rb', line 4598

class Configuration
  extend ::Gapic::Config

  # @private
  # The endpoint specific to the default "googleapis.com" universe. Deprecated.
  DEFAULT_ENDPOINT = "dataform.googleapis.com"

  config_attr :endpoint,      nil, ::String, nil
  config_attr :credentials,   nil do |value|
    allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
    allowed.any? { |klass| klass === value }
  end
  config_attr :scope,         nil, ::String, ::Array, nil
  config_attr :lib_name,      nil, ::String, nil
  config_attr :lib_version,   nil, ::String, nil
  config_attr :timeout,       nil, ::Numeric, nil
  config_attr :metadata,      nil, ::Hash, nil
  config_attr :retry_policy,  nil, ::Hash, ::Proc, nil
  config_attr :quota_project, nil, ::String, nil
  config_attr :universe_domain, nil, ::String, nil

  # @private
  # 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
  config_attr :logger, :default, ::Logger, nil, :default

  # @private
  def initialize parent_config = nil
    @parent_config = parent_config unless parent_config.nil?

    yield self if block_given?
  end

  ##
  # Configurations for individual RPCs
  # @return [Rpcs]
  #
  def rpcs
    @rpcs ||= begin
      parent_rpcs = nil
      parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
      Rpcs.new parent_rpcs
    end
  end

  ##
  # Configuration 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 `commit_repository_changes`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :commit_repository_changes
    ##
    # RPC-specific configuration for `read_repository_file`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :read_repository_file
    ##
    # RPC-specific configuration for `query_repository_directory_contents`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :query_repository_directory_contents
    ##
    # RPC-specific configuration for `fetch_repository_history`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :fetch_repository_history
    ##
    # RPC-specific configuration for `compute_repository_access_token_status`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :compute_repository_access_token_status
    ##
    # 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_release_configs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_release_configs
    ##
    # RPC-specific configuration for `get_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_release_config
    ##
    # RPC-specific configuration for `create_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_release_config
    ##
    # RPC-specific configuration for `update_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_release_config
    ##
    # RPC-specific configuration for `delete_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_release_config
    ##
    # 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_configs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_workflow_configs
    ##
    # RPC-specific configuration for `get_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_workflow_config
    ##
    # RPC-specific configuration for `create_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_workflow_config
    ##
    # RPC-specific configuration for `update_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_workflow_config
    ##
    # RPC-specific configuration for `delete_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_workflow_config
    ##
    # 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
      commit_repository_changes_config = parent_rpcs.commit_repository_changes if parent_rpcs.respond_to? :commit_repository_changes
      @commit_repository_changes = ::Gapic::Config::Method.new commit_repository_changes_config
      read_repository_file_config = parent_rpcs.read_repository_file if parent_rpcs.respond_to? :read_repository_file
      @read_repository_file = ::Gapic::Config::Method.new read_repository_file_config
      query_repository_directory_contents_config = parent_rpcs.query_repository_directory_contents if parent_rpcs.respond_to? :query_repository_directory_contents
      @query_repository_directory_contents = ::Gapic::Config::Method.new query_repository_directory_contents_config
      fetch_repository_history_config = parent_rpcs.fetch_repository_history if parent_rpcs.respond_to? :fetch_repository_history
      @fetch_repository_history = ::Gapic::Config::Method.new fetch_repository_history_config
      compute_repository_access_token_status_config = parent_rpcs.compute_repository_access_token_status if parent_rpcs.respond_to? :compute_repository_access_token_status
      @compute_repository_access_token_status = ::Gapic::Config::Method.new compute_repository_access_token_status_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_release_configs_config = parent_rpcs.list_release_configs if parent_rpcs.respond_to? :list_release_configs
      @list_release_configs = ::Gapic::Config::Method.new list_release_configs_config
      get_release_config_config = parent_rpcs.get_release_config if parent_rpcs.respond_to? :get_release_config
      @get_release_config = ::Gapic::Config::Method.new get_release_config_config
      create_release_config_config = parent_rpcs.create_release_config if parent_rpcs.respond_to? :create_release_config
      @create_release_config = ::Gapic::Config::Method.new create_release_config_config
      update_release_config_config = parent_rpcs.update_release_config if parent_rpcs.respond_to? :update_release_config
      @update_release_config = ::Gapic::Config::Method.new update_release_config_config
      delete_release_config_config = parent_rpcs.delete_release_config if parent_rpcs.respond_to? :delete_release_config
      @delete_release_config = ::Gapic::Config::Method.new delete_release_config_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_configs_config = parent_rpcs.list_workflow_configs if parent_rpcs.respond_to? :list_workflow_configs
      @list_workflow_configs = ::Gapic::Config::Method.new list_workflow_configs_config
      get_workflow_config_config = parent_rpcs.get_workflow_config if parent_rpcs.respond_to? :get_workflow_config
      @get_workflow_config = ::Gapic::Config::Method.new get_workflow_config_config
      create_workflow_config_config = parent_rpcs.create_workflow_config if parent_rpcs.respond_to? :create_workflow_config
      @create_workflow_config = ::Gapic::Config::Method.new create_workflow_config_config
      update_workflow_config_config = parent_rpcs.update_workflow_config if parent_rpcs.respond_to? :update_workflow_config
      @update_workflow_config = ::Gapic::Config::Method.new update_workflow_config_config
      delete_workflow_config_config = parent_rpcs.delete_workflow_config if parent_rpcs.respond_to? :delete_workflow_config
      @delete_workflow_config = ::Gapic::Config::Method.new delete_workflow_config_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

Returns:

  • (::String)


4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
# File 'lib/google/cloud/dataform/v1beta1/dataform/rest/client.rb', line 4598

class Configuration
  extend ::Gapic::Config

  # @private
  # The endpoint specific to the default "googleapis.com" universe. Deprecated.
  DEFAULT_ENDPOINT = "dataform.googleapis.com"

  config_attr :endpoint,      nil, ::String, nil
  config_attr :credentials,   nil do |value|
    allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
    allowed.any? { |klass| klass === value }
  end
  config_attr :scope,         nil, ::String, ::Array, nil
  config_attr :lib_name,      nil, ::String, nil
  config_attr :lib_version,   nil, ::String, nil
  config_attr :timeout,       nil, ::Numeric, nil
  config_attr :metadata,      nil, ::Hash, nil
  config_attr :retry_policy,  nil, ::Hash, ::Proc, nil
  config_attr :quota_project, nil, ::String, nil
  config_attr :universe_domain, nil, ::String, nil

  # @private
  # 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
  config_attr :logger, :default, ::Logger, nil, :default

  # @private
  def initialize parent_config = nil
    @parent_config = parent_config unless parent_config.nil?

    yield self if block_given?
  end

  ##
  # Configurations for individual RPCs
  # @return [Rpcs]
  #
  def rpcs
    @rpcs ||= begin
      parent_rpcs = nil
      parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
      Rpcs.new parent_rpcs
    end
  end

  ##
  # Configuration 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 `commit_repository_changes`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :commit_repository_changes
    ##
    # RPC-specific configuration for `read_repository_file`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :read_repository_file
    ##
    # RPC-specific configuration for `query_repository_directory_contents`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :query_repository_directory_contents
    ##
    # RPC-specific configuration for `fetch_repository_history`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :fetch_repository_history
    ##
    # RPC-specific configuration for `compute_repository_access_token_status`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :compute_repository_access_token_status
    ##
    # 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_release_configs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_release_configs
    ##
    # RPC-specific configuration for `get_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_release_config
    ##
    # RPC-specific configuration for `create_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_release_config
    ##
    # RPC-specific configuration for `update_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_release_config
    ##
    # RPC-specific configuration for `delete_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_release_config
    ##
    # 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_configs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_workflow_configs
    ##
    # RPC-specific configuration for `get_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_workflow_config
    ##
    # RPC-specific configuration for `create_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_workflow_config
    ##
    # RPC-specific configuration for `update_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_workflow_config
    ##
    # RPC-specific configuration for `delete_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_workflow_config
    ##
    # 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
      commit_repository_changes_config = parent_rpcs.commit_repository_changes if parent_rpcs.respond_to? :commit_repository_changes
      @commit_repository_changes = ::Gapic::Config::Method.new commit_repository_changes_config
      read_repository_file_config = parent_rpcs.read_repository_file if parent_rpcs.respond_to? :read_repository_file
      @read_repository_file = ::Gapic::Config::Method.new read_repository_file_config
      query_repository_directory_contents_config = parent_rpcs.query_repository_directory_contents if parent_rpcs.respond_to? :query_repository_directory_contents
      @query_repository_directory_contents = ::Gapic::Config::Method.new query_repository_directory_contents_config
      fetch_repository_history_config = parent_rpcs.fetch_repository_history if parent_rpcs.respond_to? :fetch_repository_history
      @fetch_repository_history = ::Gapic::Config::Method.new fetch_repository_history_config
      compute_repository_access_token_status_config = parent_rpcs.compute_repository_access_token_status if parent_rpcs.respond_to? :compute_repository_access_token_status
      @compute_repository_access_token_status = ::Gapic::Config::Method.new compute_repository_access_token_status_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_release_configs_config = parent_rpcs.list_release_configs if parent_rpcs.respond_to? :list_release_configs
      @list_release_configs = ::Gapic::Config::Method.new list_release_configs_config
      get_release_config_config = parent_rpcs.get_release_config if parent_rpcs.respond_to? :get_release_config
      @get_release_config = ::Gapic::Config::Method.new get_release_config_config
      create_release_config_config = parent_rpcs.create_release_config if parent_rpcs.respond_to? :create_release_config
      @create_release_config = ::Gapic::Config::Method.new create_release_config_config
      update_release_config_config = parent_rpcs.update_release_config if parent_rpcs.respond_to? :update_release_config
      @update_release_config = ::Gapic::Config::Method.new update_release_config_config
      delete_release_config_config = parent_rpcs.delete_release_config if parent_rpcs.respond_to? :delete_release_config
      @delete_release_config = ::Gapic::Config::Method.new delete_release_config_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_configs_config = parent_rpcs.list_workflow_configs if parent_rpcs.respond_to? :list_workflow_configs
      @list_workflow_configs = ::Gapic::Config::Method.new list_workflow_configs_config
      get_workflow_config_config = parent_rpcs.get_workflow_config if parent_rpcs.respond_to? :get_workflow_config
      @get_workflow_config = ::Gapic::Config::Method.new get_workflow_config_config
      create_workflow_config_config = parent_rpcs.create_workflow_config if parent_rpcs.respond_to? :create_workflow_config
      @create_workflow_config = ::Gapic::Config::Method.new create_workflow_config_config
      update_workflow_config_config = parent_rpcs.update_workflow_config if parent_rpcs.respond_to? :update_workflow_config
      @update_workflow_config = ::Gapic::Config::Method.new update_workflow_config_config
      delete_workflow_config_config = parent_rpcs.delete_workflow_config if parent_rpcs.respond_to? :delete_workflow_config
      @delete_workflow_config = ::Gapic::Config::Method.new delete_workflow_config_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

#logger::Logger, ...

A custom logger to use for request/response debug logging, or the value :default (the default) to construct a default logger, or nil to explicitly disable logging.

Returns:

  • (::Logger, :default, nil)


4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
# File 'lib/google/cloud/dataform/v1beta1/dataform/rest/client.rb', line 4598

class Configuration
  extend ::Gapic::Config

  # @private
  # The endpoint specific to the default "googleapis.com" universe. Deprecated.
  DEFAULT_ENDPOINT = "dataform.googleapis.com"

  config_attr :endpoint,      nil, ::String, nil
  config_attr :credentials,   nil do |value|
    allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
    allowed.any? { |klass| klass === value }
  end
  config_attr :scope,         nil, ::String, ::Array, nil
  config_attr :lib_name,      nil, ::String, nil
  config_attr :lib_version,   nil, ::String, nil
  config_attr :timeout,       nil, ::Numeric, nil
  config_attr :metadata,      nil, ::Hash, nil
  config_attr :retry_policy,  nil, ::Hash, ::Proc, nil
  config_attr :quota_project, nil, ::String, nil
  config_attr :universe_domain, nil, ::String, nil

  # @private
  # 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
  config_attr :logger, :default, ::Logger, nil, :default

  # @private
  def initialize parent_config = nil
    @parent_config = parent_config unless parent_config.nil?

    yield self if block_given?
  end

  ##
  # Configurations for individual RPCs
  # @return [Rpcs]
  #
  def rpcs
    @rpcs ||= begin
      parent_rpcs = nil
      parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
      Rpcs.new parent_rpcs
    end
  end

  ##
  # Configuration 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 `commit_repository_changes`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :commit_repository_changes
    ##
    # RPC-specific configuration for `read_repository_file`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :read_repository_file
    ##
    # RPC-specific configuration for `query_repository_directory_contents`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :query_repository_directory_contents
    ##
    # RPC-specific configuration for `fetch_repository_history`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :fetch_repository_history
    ##
    # RPC-specific configuration for `compute_repository_access_token_status`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :compute_repository_access_token_status
    ##
    # 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_release_configs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_release_configs
    ##
    # RPC-specific configuration for `get_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_release_config
    ##
    # RPC-specific configuration for `create_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_release_config
    ##
    # RPC-specific configuration for `update_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_release_config
    ##
    # RPC-specific configuration for `delete_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_release_config
    ##
    # 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_configs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_workflow_configs
    ##
    # RPC-specific configuration for `get_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_workflow_config
    ##
    # RPC-specific configuration for `create_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_workflow_config
    ##
    # RPC-specific configuration for `update_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_workflow_config
    ##
    # RPC-specific configuration for `delete_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_workflow_config
    ##
    # 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
      commit_repository_changes_config = parent_rpcs.commit_repository_changes if parent_rpcs.respond_to? :commit_repository_changes
      @commit_repository_changes = ::Gapic::Config::Method.new commit_repository_changes_config
      read_repository_file_config = parent_rpcs.read_repository_file if parent_rpcs.respond_to? :read_repository_file
      @read_repository_file = ::Gapic::Config::Method.new read_repository_file_config
      query_repository_directory_contents_config = parent_rpcs.query_repository_directory_contents if parent_rpcs.respond_to? :query_repository_directory_contents
      @query_repository_directory_contents = ::Gapic::Config::Method.new query_repository_directory_contents_config
      fetch_repository_history_config = parent_rpcs.fetch_repository_history if parent_rpcs.respond_to? :fetch_repository_history
      @fetch_repository_history = ::Gapic::Config::Method.new fetch_repository_history_config
      compute_repository_access_token_status_config = parent_rpcs.compute_repository_access_token_status if parent_rpcs.respond_to? :compute_repository_access_token_status
      @compute_repository_access_token_status = ::Gapic::Config::Method.new compute_repository_access_token_status_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_release_configs_config = parent_rpcs.list_release_configs if parent_rpcs.respond_to? :list_release_configs
      @list_release_configs = ::Gapic::Config::Method.new list_release_configs_config
      get_release_config_config = parent_rpcs.get_release_config if parent_rpcs.respond_to? :get_release_config
      @get_release_config = ::Gapic::Config::Method.new get_release_config_config
      create_release_config_config = parent_rpcs.create_release_config if parent_rpcs.respond_to? :create_release_config
      @create_release_config = ::Gapic::Config::Method.new create_release_config_config
      update_release_config_config = parent_rpcs.update_release_config if parent_rpcs.respond_to? :update_release_config
      @update_release_config = ::Gapic::Config::Method.new update_release_config_config
      delete_release_config_config = parent_rpcs.delete_release_config if parent_rpcs.respond_to? :delete_release_config
      @delete_release_config = ::Gapic::Config::Method.new delete_release_config_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_configs_config = parent_rpcs.list_workflow_configs if parent_rpcs.respond_to? :list_workflow_configs
      @list_workflow_configs = ::Gapic::Config::Method.new list_workflow_configs_config
      get_workflow_config_config = parent_rpcs.get_workflow_config if parent_rpcs.respond_to? :get_workflow_config
      @get_workflow_config = ::Gapic::Config::Method.new get_workflow_config_config
      create_workflow_config_config = parent_rpcs.create_workflow_config if parent_rpcs.respond_to? :create_workflow_config
      @create_workflow_config = ::Gapic::Config::Method.new create_workflow_config_config
      update_workflow_config_config = parent_rpcs.update_workflow_config if parent_rpcs.respond_to? :update_workflow_config
      @update_workflow_config = ::Gapic::Config::Method.new update_workflow_config_config
      delete_workflow_config_config = parent_rpcs.delete_workflow_config if parent_rpcs.respond_to? :delete_workflow_config
      @delete_workflow_config = ::Gapic::Config::Method.new delete_workflow_config_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.

Returns:

  • (::Hash{::Symbol=>::String})


4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
# File 'lib/google/cloud/dataform/v1beta1/dataform/rest/client.rb', line 4598

class Configuration
  extend ::Gapic::Config

  # @private
  # The endpoint specific to the default "googleapis.com" universe. Deprecated.
  DEFAULT_ENDPOINT = "dataform.googleapis.com"

  config_attr :endpoint,      nil, ::String, nil
  config_attr :credentials,   nil do |value|
    allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
    allowed.any? { |klass| klass === value }
  end
  config_attr :scope,         nil, ::String, ::Array, nil
  config_attr :lib_name,      nil, ::String, nil
  config_attr :lib_version,   nil, ::String, nil
  config_attr :timeout,       nil, ::Numeric, nil
  config_attr :metadata,      nil, ::Hash, nil
  config_attr :retry_policy,  nil, ::Hash, ::Proc, nil
  config_attr :quota_project, nil, ::String, nil
  config_attr :universe_domain, nil, ::String, nil

  # @private
  # 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
  config_attr :logger, :default, ::Logger, nil, :default

  # @private
  def initialize parent_config = nil
    @parent_config = parent_config unless parent_config.nil?

    yield self if block_given?
  end

  ##
  # Configurations for individual RPCs
  # @return [Rpcs]
  #
  def rpcs
    @rpcs ||= begin
      parent_rpcs = nil
      parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
      Rpcs.new parent_rpcs
    end
  end

  ##
  # Configuration 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 `commit_repository_changes`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :commit_repository_changes
    ##
    # RPC-specific configuration for `read_repository_file`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :read_repository_file
    ##
    # RPC-specific configuration for `query_repository_directory_contents`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :query_repository_directory_contents
    ##
    # RPC-specific configuration for `fetch_repository_history`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :fetch_repository_history
    ##
    # RPC-specific configuration for `compute_repository_access_token_status`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :compute_repository_access_token_status
    ##
    # 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_release_configs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_release_configs
    ##
    # RPC-specific configuration for `get_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_release_config
    ##
    # RPC-specific configuration for `create_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_release_config
    ##
    # RPC-specific configuration for `update_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_release_config
    ##
    # RPC-specific configuration for `delete_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_release_config
    ##
    # 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_configs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_workflow_configs
    ##
    # RPC-specific configuration for `get_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_workflow_config
    ##
    # RPC-specific configuration for `create_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_workflow_config
    ##
    # RPC-specific configuration for `update_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_workflow_config
    ##
    # RPC-specific configuration for `delete_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_workflow_config
    ##
    # 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
      commit_repository_changes_config = parent_rpcs.commit_repository_changes if parent_rpcs.respond_to? :commit_repository_changes
      @commit_repository_changes = ::Gapic::Config::Method.new commit_repository_changes_config
      read_repository_file_config = parent_rpcs.read_repository_file if parent_rpcs.respond_to? :read_repository_file
      @read_repository_file = ::Gapic::Config::Method.new read_repository_file_config
      query_repository_directory_contents_config = parent_rpcs.query_repository_directory_contents if parent_rpcs.respond_to? :query_repository_directory_contents
      @query_repository_directory_contents = ::Gapic::Config::Method.new query_repository_directory_contents_config
      fetch_repository_history_config = parent_rpcs.fetch_repository_history if parent_rpcs.respond_to? :fetch_repository_history
      @fetch_repository_history = ::Gapic::Config::Method.new fetch_repository_history_config
      compute_repository_access_token_status_config = parent_rpcs.compute_repository_access_token_status if parent_rpcs.respond_to? :compute_repository_access_token_status
      @compute_repository_access_token_status = ::Gapic::Config::Method.new compute_repository_access_token_status_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_release_configs_config = parent_rpcs.list_release_configs if parent_rpcs.respond_to? :list_release_configs
      @list_release_configs = ::Gapic::Config::Method.new list_release_configs_config
      get_release_config_config = parent_rpcs.get_release_config if parent_rpcs.respond_to? :get_release_config
      @get_release_config = ::Gapic::Config::Method.new get_release_config_config
      create_release_config_config = parent_rpcs.create_release_config if parent_rpcs.respond_to? :create_release_config
      @create_release_config = ::Gapic::Config::Method.new create_release_config_config
      update_release_config_config = parent_rpcs.update_release_config if parent_rpcs.respond_to? :update_release_config
      @update_release_config = ::Gapic::Config::Method.new update_release_config_config
      delete_release_config_config = parent_rpcs.delete_release_config if parent_rpcs.respond_to? :delete_release_config
      @delete_release_config = ::Gapic::Config::Method.new delete_release_config_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_configs_config = parent_rpcs.list_workflow_configs if parent_rpcs.respond_to? :list_workflow_configs
      @list_workflow_configs = ::Gapic::Config::Method.new list_workflow_configs_config
      get_workflow_config_config = parent_rpcs.get_workflow_config if parent_rpcs.respond_to? :get_workflow_config
      @get_workflow_config = ::Gapic::Config::Method.new get_workflow_config_config
      create_workflow_config_config = parent_rpcs.create_workflow_config if parent_rpcs.respond_to? :create_workflow_config
      @create_workflow_config = ::Gapic::Config::Method.new create_workflow_config_config
      update_workflow_config_config = parent_rpcs.update_workflow_config if parent_rpcs.respond_to? :update_workflow_config
      @update_workflow_config = ::Gapic::Config::Method.new update_workflow_config_config
      delete_workflow_config_config = parent_rpcs.delete_workflow_config if parent_rpcs.respond_to? :delete_workflow_config
      @delete_workflow_config = ::Gapic::Config::Method.new delete_workflow_config_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.

Returns:

  • (::String)


4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
# File 'lib/google/cloud/dataform/v1beta1/dataform/rest/client.rb', line 4598

class Configuration
  extend ::Gapic::Config

  # @private
  # The endpoint specific to the default "googleapis.com" universe. Deprecated.
  DEFAULT_ENDPOINT = "dataform.googleapis.com"

  config_attr :endpoint,      nil, ::String, nil
  config_attr :credentials,   nil do |value|
    allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
    allowed.any? { |klass| klass === value }
  end
  config_attr :scope,         nil, ::String, ::Array, nil
  config_attr :lib_name,      nil, ::String, nil
  config_attr :lib_version,   nil, ::String, nil
  config_attr :timeout,       nil, ::Numeric, nil
  config_attr :metadata,      nil, ::Hash, nil
  config_attr :retry_policy,  nil, ::Hash, ::Proc, nil
  config_attr :quota_project, nil, ::String, nil
  config_attr :universe_domain, nil, ::String, nil

  # @private
  # 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
  config_attr :logger, :default, ::Logger, nil, :default

  # @private
  def initialize parent_config = nil
    @parent_config = parent_config unless parent_config.nil?

    yield self if block_given?
  end

  ##
  # Configurations for individual RPCs
  # @return [Rpcs]
  #
  def rpcs
    @rpcs ||= begin
      parent_rpcs = nil
      parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
      Rpcs.new parent_rpcs
    end
  end

  ##
  # Configuration 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 `commit_repository_changes`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :commit_repository_changes
    ##
    # RPC-specific configuration for `read_repository_file`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :read_repository_file
    ##
    # RPC-specific configuration for `query_repository_directory_contents`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :query_repository_directory_contents
    ##
    # RPC-specific configuration for `fetch_repository_history`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :fetch_repository_history
    ##
    # RPC-specific configuration for `compute_repository_access_token_status`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :compute_repository_access_token_status
    ##
    # 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_release_configs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_release_configs
    ##
    # RPC-specific configuration for `get_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_release_config
    ##
    # RPC-specific configuration for `create_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_release_config
    ##
    # RPC-specific configuration for `update_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_release_config
    ##
    # RPC-specific configuration for `delete_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_release_config
    ##
    # 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_configs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_workflow_configs
    ##
    # RPC-specific configuration for `get_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_workflow_config
    ##
    # RPC-specific configuration for `create_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_workflow_config
    ##
    # RPC-specific configuration for `update_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_workflow_config
    ##
    # RPC-specific configuration for `delete_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_workflow_config
    ##
    # 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
      commit_repository_changes_config = parent_rpcs.commit_repository_changes if parent_rpcs.respond_to? :commit_repository_changes
      @commit_repository_changes = ::Gapic::Config::Method.new commit_repository_changes_config
      read_repository_file_config = parent_rpcs.read_repository_file if parent_rpcs.respond_to? :read_repository_file
      @read_repository_file = ::Gapic::Config::Method.new read_repository_file_config
      query_repository_directory_contents_config = parent_rpcs.query_repository_directory_contents if parent_rpcs.respond_to? :query_repository_directory_contents
      @query_repository_directory_contents = ::Gapic::Config::Method.new query_repository_directory_contents_config
      fetch_repository_history_config = parent_rpcs.fetch_repository_history if parent_rpcs.respond_to? :fetch_repository_history
      @fetch_repository_history = ::Gapic::Config::Method.new fetch_repository_history_config
      compute_repository_access_token_status_config = parent_rpcs.compute_repository_access_token_status if parent_rpcs.respond_to? :compute_repository_access_token_status
      @compute_repository_access_token_status = ::Gapic::Config::Method.new compute_repository_access_token_status_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_release_configs_config = parent_rpcs.list_release_configs if parent_rpcs.respond_to? :list_release_configs
      @list_release_configs = ::Gapic::Config::Method.new list_release_configs_config
      get_release_config_config = parent_rpcs.get_release_config if parent_rpcs.respond_to? :get_release_config
      @get_release_config = ::Gapic::Config::Method.new get_release_config_config
      create_release_config_config = parent_rpcs.create_release_config if parent_rpcs.respond_to? :create_release_config
      @create_release_config = ::Gapic::Config::Method.new create_release_config_config
      update_release_config_config = parent_rpcs.update_release_config if parent_rpcs.respond_to? :update_release_config
      @update_release_config = ::Gapic::Config::Method.new update_release_config_config
      delete_release_config_config = parent_rpcs.delete_release_config if parent_rpcs.respond_to? :delete_release_config
      @delete_release_config = ::Gapic::Config::Method.new delete_release_config_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_configs_config = parent_rpcs.list_workflow_configs if parent_rpcs.respond_to? :list_workflow_configs
      @list_workflow_configs = ::Gapic::Config::Method.new list_workflow_configs_config
      get_workflow_config_config = parent_rpcs.get_workflow_config if parent_rpcs.respond_to? :get_workflow_config
      @get_workflow_config = ::Gapic::Config::Method.new get_workflow_config_config
      create_workflow_config_config = parent_rpcs.create_workflow_config if parent_rpcs.respond_to? :create_workflow_config
      @create_workflow_config = ::Gapic::Config::Method.new create_workflow_config_config
      update_workflow_config_config = parent_rpcs.update_workflow_config if parent_rpcs.respond_to? :update_workflow_config
      @update_workflow_config = ::Gapic::Config::Method.new update_workflow_config_config
      delete_workflow_config_config = parent_rpcs.delete_workflow_config if parent_rpcs.respond_to? :delete_workflow_config
      @delete_workflow_config = ::Gapic::Config::Method.new delete_workflow_config_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.

Returns:

  • (::Hash)


4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
# File 'lib/google/cloud/dataform/v1beta1/dataform/rest/client.rb', line 4598

class Configuration
  extend ::Gapic::Config

  # @private
  # The endpoint specific to the default "googleapis.com" universe. Deprecated.
  DEFAULT_ENDPOINT = "dataform.googleapis.com"

  config_attr :endpoint,      nil, ::String, nil
  config_attr :credentials,   nil do |value|
    allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
    allowed.any? { |klass| klass === value }
  end
  config_attr :scope,         nil, ::String, ::Array, nil
  config_attr :lib_name,      nil, ::String, nil
  config_attr :lib_version,   nil, ::String, nil
  config_attr :timeout,       nil, ::Numeric, nil
  config_attr :metadata,      nil, ::Hash, nil
  config_attr :retry_policy,  nil, ::Hash, ::Proc, nil
  config_attr :quota_project, nil, ::String, nil
  config_attr :universe_domain, nil, ::String, nil

  # @private
  # 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
  config_attr :logger, :default, ::Logger, nil, :default

  # @private
  def initialize parent_config = nil
    @parent_config = parent_config unless parent_config.nil?

    yield self if block_given?
  end

  ##
  # Configurations for individual RPCs
  # @return [Rpcs]
  #
  def rpcs
    @rpcs ||= begin
      parent_rpcs = nil
      parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
      Rpcs.new parent_rpcs
    end
  end

  ##
  # Configuration 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 `commit_repository_changes`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :commit_repository_changes
    ##
    # RPC-specific configuration for `read_repository_file`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :read_repository_file
    ##
    # RPC-specific configuration for `query_repository_directory_contents`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :query_repository_directory_contents
    ##
    # RPC-specific configuration for `fetch_repository_history`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :fetch_repository_history
    ##
    # RPC-specific configuration for `compute_repository_access_token_status`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :compute_repository_access_token_status
    ##
    # 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_release_configs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_release_configs
    ##
    # RPC-specific configuration for `get_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_release_config
    ##
    # RPC-specific configuration for `create_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_release_config
    ##
    # RPC-specific configuration for `update_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_release_config
    ##
    # RPC-specific configuration for `delete_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_release_config
    ##
    # 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_configs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_workflow_configs
    ##
    # RPC-specific configuration for `get_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_workflow_config
    ##
    # RPC-specific configuration for `create_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_workflow_config
    ##
    # RPC-specific configuration for `update_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_workflow_config
    ##
    # RPC-specific configuration for `delete_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_workflow_config
    ##
    # 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
      commit_repository_changes_config = parent_rpcs.commit_repository_changes if parent_rpcs.respond_to? :commit_repository_changes
      @commit_repository_changes = ::Gapic::Config::Method.new commit_repository_changes_config
      read_repository_file_config = parent_rpcs.read_repository_file if parent_rpcs.respond_to? :read_repository_file
      @read_repository_file = ::Gapic::Config::Method.new read_repository_file_config
      query_repository_directory_contents_config = parent_rpcs.query_repository_directory_contents if parent_rpcs.respond_to? :query_repository_directory_contents
      @query_repository_directory_contents = ::Gapic::Config::Method.new query_repository_directory_contents_config
      fetch_repository_history_config = parent_rpcs.fetch_repository_history if parent_rpcs.respond_to? :fetch_repository_history
      @fetch_repository_history = ::Gapic::Config::Method.new fetch_repository_history_config
      compute_repository_access_token_status_config = parent_rpcs.compute_repository_access_token_status if parent_rpcs.respond_to? :compute_repository_access_token_status
      @compute_repository_access_token_status = ::Gapic::Config::Method.new compute_repository_access_token_status_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_release_configs_config = parent_rpcs.list_release_configs if parent_rpcs.respond_to? :list_release_configs
      @list_release_configs = ::Gapic::Config::Method.new list_release_configs_config
      get_release_config_config = parent_rpcs.get_release_config if parent_rpcs.respond_to? :get_release_config
      @get_release_config = ::Gapic::Config::Method.new get_release_config_config
      create_release_config_config = parent_rpcs.create_release_config if parent_rpcs.respond_to? :create_release_config
      @create_release_config = ::Gapic::Config::Method.new create_release_config_config
      update_release_config_config = parent_rpcs.update_release_config if parent_rpcs.respond_to? :update_release_config
      @update_release_config = ::Gapic::Config::Method.new update_release_config_config
      delete_release_config_config = parent_rpcs.delete_release_config if parent_rpcs.respond_to? :delete_release_config
      @delete_release_config = ::Gapic::Config::Method.new delete_release_config_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_configs_config = parent_rpcs.list_workflow_configs if parent_rpcs.respond_to? :list_workflow_configs
      @list_workflow_configs = ::Gapic::Config::Method.new list_workflow_configs_config
      get_workflow_config_config = parent_rpcs.get_workflow_config if parent_rpcs.respond_to? :get_workflow_config
      @get_workflow_config = ::Gapic::Config::Method.new get_workflow_config_config
      create_workflow_config_config = parent_rpcs.create_workflow_config if parent_rpcs.respond_to? :create_workflow_config
      @create_workflow_config = ::Gapic::Config::Method.new create_workflow_config_config
      update_workflow_config_config = parent_rpcs.update_workflow_config if parent_rpcs.respond_to? :update_workflow_config
      @update_workflow_config = ::Gapic::Config::Method.new update_workflow_config_config
      delete_workflow_config_config = parent_rpcs.delete_workflow_config if parent_rpcs.respond_to? :delete_workflow_config
      @delete_workflow_config = ::Gapic::Config::Method.new delete_workflow_config_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

Returns:

  • (::Array<::String>)


4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
# File 'lib/google/cloud/dataform/v1beta1/dataform/rest/client.rb', line 4598

class Configuration
  extend ::Gapic::Config

  # @private
  # The endpoint specific to the default "googleapis.com" universe. Deprecated.
  DEFAULT_ENDPOINT = "dataform.googleapis.com"

  config_attr :endpoint,      nil, ::String, nil
  config_attr :credentials,   nil do |value|
    allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
    allowed.any? { |klass| klass === value }
  end
  config_attr :scope,         nil, ::String, ::Array, nil
  config_attr :lib_name,      nil, ::String, nil
  config_attr :lib_version,   nil, ::String, nil
  config_attr :timeout,       nil, ::Numeric, nil
  config_attr :metadata,      nil, ::Hash, nil
  config_attr :retry_policy,  nil, ::Hash, ::Proc, nil
  config_attr :quota_project, nil, ::String, nil
  config_attr :universe_domain, nil, ::String, nil

  # @private
  # 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
  config_attr :logger, :default, ::Logger, nil, :default

  # @private
  def initialize parent_config = nil
    @parent_config = parent_config unless parent_config.nil?

    yield self if block_given?
  end

  ##
  # Configurations for individual RPCs
  # @return [Rpcs]
  #
  def rpcs
    @rpcs ||= begin
      parent_rpcs = nil
      parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
      Rpcs.new parent_rpcs
    end
  end

  ##
  # Configuration 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 `commit_repository_changes`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :commit_repository_changes
    ##
    # RPC-specific configuration for `read_repository_file`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :read_repository_file
    ##
    # RPC-specific configuration for `query_repository_directory_contents`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :query_repository_directory_contents
    ##
    # RPC-specific configuration for `fetch_repository_history`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :fetch_repository_history
    ##
    # RPC-specific configuration for `compute_repository_access_token_status`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :compute_repository_access_token_status
    ##
    # 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_release_configs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_release_configs
    ##
    # RPC-specific configuration for `get_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_release_config
    ##
    # RPC-specific configuration for `create_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_release_config
    ##
    # RPC-specific configuration for `update_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_release_config
    ##
    # RPC-specific configuration for `delete_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_release_config
    ##
    # 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_configs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_workflow_configs
    ##
    # RPC-specific configuration for `get_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_workflow_config
    ##
    # RPC-specific configuration for `create_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_workflow_config
    ##
    # RPC-specific configuration for `update_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_workflow_config
    ##
    # RPC-specific configuration for `delete_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_workflow_config
    ##
    # 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
      commit_repository_changes_config = parent_rpcs.commit_repository_changes if parent_rpcs.respond_to? :commit_repository_changes
      @commit_repository_changes = ::Gapic::Config::Method.new commit_repository_changes_config
      read_repository_file_config = parent_rpcs.read_repository_file if parent_rpcs.respond_to? :read_repository_file
      @read_repository_file = ::Gapic::Config::Method.new read_repository_file_config
      query_repository_directory_contents_config = parent_rpcs.query_repository_directory_contents if parent_rpcs.respond_to? :query_repository_directory_contents
      @query_repository_directory_contents = ::Gapic::Config::Method.new query_repository_directory_contents_config
      fetch_repository_history_config = parent_rpcs.fetch_repository_history if parent_rpcs.respond_to? :fetch_repository_history
      @fetch_repository_history = ::Gapic::Config::Method.new fetch_repository_history_config
      compute_repository_access_token_status_config = parent_rpcs.compute_repository_access_token_status if parent_rpcs.respond_to? :compute_repository_access_token_status
      @compute_repository_access_token_status = ::Gapic::Config::Method.new compute_repository_access_token_status_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_release_configs_config = parent_rpcs.list_release_configs if parent_rpcs.respond_to? :list_release_configs
      @list_release_configs = ::Gapic::Config::Method.new list_release_configs_config
      get_release_config_config = parent_rpcs.get_release_config if parent_rpcs.respond_to? :get_release_config
      @get_release_config = ::Gapic::Config::Method.new get_release_config_config
      create_release_config_config = parent_rpcs.create_release_config if parent_rpcs.respond_to? :create_release_config
      @create_release_config = ::Gapic::Config::Method.new create_release_config_config
      update_release_config_config = parent_rpcs.update_release_config if parent_rpcs.respond_to? :update_release_config
      @update_release_config = ::Gapic::Config::Method.new update_release_config_config
      delete_release_config_config = parent_rpcs.delete_release_config if parent_rpcs.respond_to? :delete_release_config
      @delete_release_config = ::Gapic::Config::Method.new delete_release_config_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_configs_config = parent_rpcs.list_workflow_configs if parent_rpcs.respond_to? :list_workflow_configs
      @list_workflow_configs = ::Gapic::Config::Method.new list_workflow_configs_config
      get_workflow_config_config = parent_rpcs.get_workflow_config if parent_rpcs.respond_to? :get_workflow_config
      @get_workflow_config = ::Gapic::Config::Method.new get_workflow_config_config
      create_workflow_config_config = parent_rpcs.create_workflow_config if parent_rpcs.respond_to? :create_workflow_config
      @create_workflow_config = ::Gapic::Config::Method.new create_workflow_config_config
      update_workflow_config_config = parent_rpcs.update_workflow_config if parent_rpcs.respond_to? :update_workflow_config
      @update_workflow_config = ::Gapic::Config::Method.new update_workflow_config_config
      delete_workflow_config_config = parent_rpcs.delete_workflow_config if parent_rpcs.respond_to? :delete_workflow_config
      @delete_workflow_config = ::Gapic::Config::Method.new delete_workflow_config_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.

Returns:

  • (::Numeric)


4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
# File 'lib/google/cloud/dataform/v1beta1/dataform/rest/client.rb', line 4598

class Configuration
  extend ::Gapic::Config

  # @private
  # The endpoint specific to the default "googleapis.com" universe. Deprecated.
  DEFAULT_ENDPOINT = "dataform.googleapis.com"

  config_attr :endpoint,      nil, ::String, nil
  config_attr :credentials,   nil do |value|
    allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
    allowed.any? { |klass| klass === value }
  end
  config_attr :scope,         nil, ::String, ::Array, nil
  config_attr :lib_name,      nil, ::String, nil
  config_attr :lib_version,   nil, ::String, nil
  config_attr :timeout,       nil, ::Numeric, nil
  config_attr :metadata,      nil, ::Hash, nil
  config_attr :retry_policy,  nil, ::Hash, ::Proc, nil
  config_attr :quota_project, nil, ::String, nil
  config_attr :universe_domain, nil, ::String, nil

  # @private
  # 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
  config_attr :logger, :default, ::Logger, nil, :default

  # @private
  def initialize parent_config = nil
    @parent_config = parent_config unless parent_config.nil?

    yield self if block_given?
  end

  ##
  # Configurations for individual RPCs
  # @return [Rpcs]
  #
  def rpcs
    @rpcs ||= begin
      parent_rpcs = nil
      parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
      Rpcs.new parent_rpcs
    end
  end

  ##
  # Configuration 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 `commit_repository_changes`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :commit_repository_changes
    ##
    # RPC-specific configuration for `read_repository_file`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :read_repository_file
    ##
    # RPC-specific configuration for `query_repository_directory_contents`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :query_repository_directory_contents
    ##
    # RPC-specific configuration for `fetch_repository_history`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :fetch_repository_history
    ##
    # RPC-specific configuration for `compute_repository_access_token_status`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :compute_repository_access_token_status
    ##
    # 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_release_configs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_release_configs
    ##
    # RPC-specific configuration for `get_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_release_config
    ##
    # RPC-specific configuration for `create_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_release_config
    ##
    # RPC-specific configuration for `update_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_release_config
    ##
    # RPC-specific configuration for `delete_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_release_config
    ##
    # 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_configs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_workflow_configs
    ##
    # RPC-specific configuration for `get_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_workflow_config
    ##
    # RPC-specific configuration for `create_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_workflow_config
    ##
    # RPC-specific configuration for `update_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_workflow_config
    ##
    # RPC-specific configuration for `delete_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_workflow_config
    ##
    # 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
      commit_repository_changes_config = parent_rpcs.commit_repository_changes if parent_rpcs.respond_to? :commit_repository_changes
      @commit_repository_changes = ::Gapic::Config::Method.new commit_repository_changes_config
      read_repository_file_config = parent_rpcs.read_repository_file if parent_rpcs.respond_to? :read_repository_file
      @read_repository_file = ::Gapic::Config::Method.new read_repository_file_config
      query_repository_directory_contents_config = parent_rpcs.query_repository_directory_contents if parent_rpcs.respond_to? :query_repository_directory_contents
      @query_repository_directory_contents = ::Gapic::Config::Method.new query_repository_directory_contents_config
      fetch_repository_history_config = parent_rpcs.fetch_repository_history if parent_rpcs.respond_to? :fetch_repository_history
      @fetch_repository_history = ::Gapic::Config::Method.new fetch_repository_history_config
      compute_repository_access_token_status_config = parent_rpcs.compute_repository_access_token_status if parent_rpcs.respond_to? :compute_repository_access_token_status
      @compute_repository_access_token_status = ::Gapic::Config::Method.new compute_repository_access_token_status_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_release_configs_config = parent_rpcs.list_release_configs if parent_rpcs.respond_to? :list_release_configs
      @list_release_configs = ::Gapic::Config::Method.new list_release_configs_config
      get_release_config_config = parent_rpcs.get_release_config if parent_rpcs.respond_to? :get_release_config
      @get_release_config = ::Gapic::Config::Method.new get_release_config_config
      create_release_config_config = parent_rpcs.create_release_config if parent_rpcs.respond_to? :create_release_config
      @create_release_config = ::Gapic::Config::Method.new create_release_config_config
      update_release_config_config = parent_rpcs.update_release_config if parent_rpcs.respond_to? :update_release_config
      @update_release_config = ::Gapic::Config::Method.new update_release_config_config
      delete_release_config_config = parent_rpcs.delete_release_config if parent_rpcs.respond_to? :delete_release_config
      @delete_release_config = ::Gapic::Config::Method.new delete_release_config_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_configs_config = parent_rpcs.list_workflow_configs if parent_rpcs.respond_to? :list_workflow_configs
      @list_workflow_configs = ::Gapic::Config::Method.new list_workflow_configs_config
      get_workflow_config_config = parent_rpcs.get_workflow_config if parent_rpcs.respond_to? :get_workflow_config
      @get_workflow_config = ::Gapic::Config::Method.new get_workflow_config_config
      create_workflow_config_config = parent_rpcs.create_workflow_config if parent_rpcs.respond_to? :create_workflow_config
      @create_workflow_config = ::Gapic::Config::Method.new create_workflow_config_config
      update_workflow_config_config = parent_rpcs.update_workflow_config if parent_rpcs.respond_to? :update_workflow_config
      @update_workflow_config = ::Gapic::Config::Method.new update_workflow_config_config
      delete_workflow_config_config = parent_rpcs.delete_workflow_config if parent_rpcs.respond_to? :delete_workflow_config
      @delete_workflow_config = ::Gapic::Config::Method.new delete_workflow_config_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

#universe_domain::String?

The universe domain within which to make requests. This determines the default endpoint URL. The default value of nil uses the environment universe (usually the default "googleapis.com" universe).

Returns:

  • (::String, nil)


4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
# File 'lib/google/cloud/dataform/v1beta1/dataform/rest/client.rb', line 4598

class Configuration
  extend ::Gapic::Config

  # @private
  # The endpoint specific to the default "googleapis.com" universe. Deprecated.
  DEFAULT_ENDPOINT = "dataform.googleapis.com"

  config_attr :endpoint,      nil, ::String, nil
  config_attr :credentials,   nil do |value|
    allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
    allowed.any? { |klass| klass === value }
  end
  config_attr :scope,         nil, ::String, ::Array, nil
  config_attr :lib_name,      nil, ::String, nil
  config_attr :lib_version,   nil, ::String, nil
  config_attr :timeout,       nil, ::Numeric, nil
  config_attr :metadata,      nil, ::Hash, nil
  config_attr :retry_policy,  nil, ::Hash, ::Proc, nil
  config_attr :quota_project, nil, ::String, nil
  config_attr :universe_domain, nil, ::String, nil

  # @private
  # 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
  config_attr :logger, :default, ::Logger, nil, :default

  # @private
  def initialize parent_config = nil
    @parent_config = parent_config unless parent_config.nil?

    yield self if block_given?
  end

  ##
  # Configurations for individual RPCs
  # @return [Rpcs]
  #
  def rpcs
    @rpcs ||= begin
      parent_rpcs = nil
      parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
      Rpcs.new parent_rpcs
    end
  end

  ##
  # Configuration 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 `commit_repository_changes`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :commit_repository_changes
    ##
    # RPC-specific configuration for `read_repository_file`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :read_repository_file
    ##
    # RPC-specific configuration for `query_repository_directory_contents`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :query_repository_directory_contents
    ##
    # RPC-specific configuration for `fetch_repository_history`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :fetch_repository_history
    ##
    # RPC-specific configuration for `compute_repository_access_token_status`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :compute_repository_access_token_status
    ##
    # 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_release_configs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_release_configs
    ##
    # RPC-specific configuration for `get_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_release_config
    ##
    # RPC-specific configuration for `create_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_release_config
    ##
    # RPC-specific configuration for `update_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_release_config
    ##
    # RPC-specific configuration for `delete_release_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_release_config
    ##
    # 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_configs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_workflow_configs
    ##
    # RPC-specific configuration for `get_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_workflow_config
    ##
    # RPC-specific configuration for `create_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_workflow_config
    ##
    # RPC-specific configuration for `update_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_workflow_config
    ##
    # RPC-specific configuration for `delete_workflow_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_workflow_config
    ##
    # 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
      commit_repository_changes_config = parent_rpcs.commit_repository_changes if parent_rpcs.respond_to? :commit_repository_changes
      @commit_repository_changes = ::Gapic::Config::Method.new commit_repository_changes_config
      read_repository_file_config = parent_rpcs.read_repository_file if parent_rpcs.respond_to? :read_repository_file
      @read_repository_file = ::Gapic::Config::Method.new read_repository_file_config
      query_repository_directory_contents_config = parent_rpcs.query_repository_directory_contents if parent_rpcs.respond_to? :query_repository_directory_contents
      @query_repository_directory_contents = ::Gapic::Config::Method.new query_repository_directory_contents_config
      fetch_repository_history_config = parent_rpcs.fetch_repository_history if parent_rpcs.respond_to? :fetch_repository_history
      @fetch_repository_history = ::Gapic::Config::Method.new fetch_repository_history_config
      compute_repository_access_token_status_config = parent_rpcs.compute_repository_access_token_status if parent_rpcs.respond_to? :compute_repository_access_token_status
      @compute_repository_access_token_status = ::Gapic::Config::Method.new compute_repository_access_token_status_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_release_configs_config = parent_rpcs.list_release_configs if parent_rpcs.respond_to? :list_release_configs
      @list_release_configs = ::Gapic::Config::Method.new list_release_configs_config
      get_release_config_config = parent_rpcs.get_release_config if parent_rpcs.respond_to? :get_release_config
      @get_release_config = ::Gapic::Config::Method.new get_release_config_config
      create_release_config_config = parent_rpcs.create_release_config if parent_rpcs.respond_to? :create_release_config
      @create_release_config = ::Gapic::Config::Method.new create_release_config_config
      update_release_config_config = parent_rpcs.update_release_config if parent_rpcs.respond_to? :update_release_config
      @update_release_config = ::Gapic::Config::Method.new update_release_config_config
      delete_release_config_config = parent_rpcs.delete_release_config if parent_rpcs.respond_to? :delete_release_config
      @delete_release_config = ::Gapic::Config::Method.new delete_release_config_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_configs_config = parent_rpcs.list_workflow_configs if parent_rpcs.respond_to? :list_workflow_configs
      @list_workflow_configs = ::Gapic::Config::Method.new list_workflow_configs_config
      get_workflow_config_config = parent_rpcs.get_workflow_config if parent_rpcs.respond_to? :get_workflow_config
      @get_workflow_config = ::Gapic::Config::Method.new get_workflow_config_config
      create_workflow_config_config = parent_rpcs.create_workflow_config if parent_rpcs.respond_to? :create_workflow_config
      @create_workflow_config = ::Gapic::Config::Method.new create_workflow_config_config
      update_workflow_config_config = parent_rpcs.update_workflow_config if parent_rpcs.respond_to? :update_workflow_config
      @update_workflow_config = ::Gapic::Config::Method.new update_workflow_config_config
      delete_workflow_config_config = parent_rpcs.delete_workflow_config if parent_rpcs.respond_to? :delete_workflow_config
      @delete_workflow_config = ::Gapic::Config::Method.new delete_workflow_config_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

#rpcsRpcs

Configurations for individual RPCs

Returns:



4638
4639
4640
4641
4642
4643
4644
# File 'lib/google/cloud/dataform/v1beta1/dataform/rest/client.rb', line 4638

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