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

Inherits:
Object
  • Object
show all
Extended by:
Gapic::Config
Defined in:
lib/google/cloud/dataform/v1beta1/dataform/client.rb

Overview

Configuration class for the Dataform API.

This class represents the configuration for Dataform, 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::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::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

#channel_args::Hash

Extra parameters passed to the gRPC channel. Note: this is ignored if a GRPC::Core::Channel object is provided as the credential.

Returns:

  • (::Hash)


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
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
# File 'lib/google/cloud/dataform/v1beta1/dataform/client.rb', line 4940

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 += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
    allowed.any? { |klass| klass === value }
  end
  config_attr :scope,         nil, ::String, ::Array, nil
  config_attr :lib_name,      nil, ::String, nil
  config_attr :lib_version,   nil, ::String, nil
  config_attr(:channel_args,  { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
  config_attr :interceptors,  nil, ::Array, nil
  config_attr :timeout,       nil, ::Numeric, nil
  config_attr :metadata,      nil, ::Hash, nil
  config_attr :retry_policy,  nil, ::Hash, ::Proc, nil
  config_attr :quota_project, nil, ::String, nil
  config_attr :universe_domain, nil, ::String, nil

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

    yield self if block_given?
  end

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

  ##
  # Configuration for the channel pool
  # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
  #
  def channel_pool
    @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
  end

  ##
  # Configuration RPC class for the 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 gRPC headers
  #  *  `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
  #     include the following keys:
  #      *  `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
  #      *  `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
  #      *  `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
  #      *  `:retry_codes` (*type:* `Array<String>`) - The error codes that should
  #         trigger a retry.
  #
  class Rpcs
    ##
    # RPC-specific configuration for `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

#credentials::Object

Credentials to send with calls. You may provide any of the following types:

  • (String) The path to a service account key file in JSON format
  • (Hash) A service account key as a Hash
  • (Google::Auth::Credentials) A googleauth credentials object (see the googleauth docs)
  • (Signet::OAuth2::Client) A signet oauth2 client object (see the signet docs)
  • (GRPC::Core::Channel) a gRPC channel with included credentials
  • (GRPC::Core::ChannelCredentials) a gRPC credentails object
  • (nil) indicating no credentials

Returns:

  • (::Object)


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
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
# File 'lib/google/cloud/dataform/v1beta1/dataform/client.rb', line 4940

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 += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
    allowed.any? { |klass| klass === value }
  end
  config_attr :scope,         nil, ::String, ::Array, nil
  config_attr :lib_name,      nil, ::String, nil
  config_attr :lib_version,   nil, ::String, nil
  config_attr(:channel_args,  { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
  config_attr :interceptors,  nil, ::Array, nil
  config_attr :timeout,       nil, ::Numeric, nil
  config_attr :metadata,      nil, ::Hash, nil
  config_attr :retry_policy,  nil, ::Hash, ::Proc, nil
  config_attr :quota_project, nil, ::String, nil
  config_attr :universe_domain, nil, ::String, nil

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

    yield self if block_given?
  end

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

  ##
  # Configuration for the channel pool
  # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
  #
  def channel_pool
    @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
  end

  ##
  # Configuration RPC class for the 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 gRPC headers
  #  *  `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
  #     include the following keys:
  #      *  `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
  #      *  `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
  #      *  `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
  #      *  `:retry_codes` (*type:* `Array<String>`) - The error codes that should
  #         trigger a retry.
  #
  class Rpcs
    ##
    # RPC-specific configuration for `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)


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
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
# File 'lib/google/cloud/dataform/v1beta1/dataform/client.rb', line 4940

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 += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
    allowed.any? { |klass| klass === value }
  end
  config_attr :scope,         nil, ::String, ::Array, nil
  config_attr :lib_name,      nil, ::String, nil
  config_attr :lib_version,   nil, ::String, nil
  config_attr(:channel_args,  { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
  config_attr :interceptors,  nil, ::Array, nil
  config_attr :timeout,       nil, ::Numeric, nil
  config_attr :metadata,      nil, ::Hash, nil
  config_attr :retry_policy,  nil, ::Hash, ::Proc, nil
  config_attr :quota_project, nil, ::String, nil
  config_attr :universe_domain, nil, ::String, nil

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

    yield self if block_given?
  end

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

  ##
  # Configuration for the channel pool
  # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
  #
  def channel_pool
    @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
  end

  ##
  # Configuration RPC class for the 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 gRPC headers
  #  *  `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
  #     include the following keys:
  #      *  `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
  #      *  `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
  #      *  `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
  #      *  `:retry_codes` (*type:* `Array<String>`) - The error codes that should
  #         trigger a retry.
  #
  class Rpcs
    ##
    # RPC-specific configuration for `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

#interceptors::Array<::GRPC::ClientInterceptor>

An array of interceptors that are run before calls are executed.

Returns:

  • (::Array<::GRPC::ClientInterceptor>)


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
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
# File 'lib/google/cloud/dataform/v1beta1/dataform/client.rb', line 4940

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 += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
    allowed.any? { |klass| klass === value }
  end
  config_attr :scope,         nil, ::String, ::Array, nil
  config_attr :lib_name,      nil, ::String, nil
  config_attr :lib_version,   nil, ::String, nil
  config_attr(:channel_args,  { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
  config_attr :interceptors,  nil, ::Array, nil
  config_attr :timeout,       nil, ::Numeric, nil
  config_attr :metadata,      nil, ::Hash, nil
  config_attr :retry_policy,  nil, ::Hash, ::Proc, nil
  config_attr :quota_project, nil, ::String, nil
  config_attr :universe_domain, nil, ::String, nil

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

    yield self if block_given?
  end

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

  ##
  # Configuration for the channel pool
  # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
  #
  def channel_pool
    @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
  end

  ##
  # Configuration RPC class for the 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 gRPC headers
  #  *  `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
  #     include the following keys:
  #      *  `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
  #      *  `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
  #      *  `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
  #      *  `:retry_codes` (*type:* `Array<String>`) - The error codes that should
  #         trigger a retry.
  #
  class Rpcs
    ##
    # RPC-specific configuration for `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)


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
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
# File 'lib/google/cloud/dataform/v1beta1/dataform/client.rb', line 4940

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 += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
    allowed.any? { |klass| klass === value }
  end
  config_attr :scope,         nil, ::String, ::Array, nil
  config_attr :lib_name,      nil, ::String, nil
  config_attr :lib_version,   nil, ::String, nil
  config_attr(:channel_args,  { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
  config_attr :interceptors,  nil, ::Array, nil
  config_attr :timeout,       nil, ::Numeric, nil
  config_attr :metadata,      nil, ::Hash, nil
  config_attr :retry_policy,  nil, ::Hash, ::Proc, nil
  config_attr :quota_project, nil, ::String, nil
  config_attr :universe_domain, nil, ::String, nil

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

    yield self if block_given?
  end

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

  ##
  # Configuration for the channel pool
  # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
  #
  def channel_pool
    @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
  end

  ##
  # Configuration RPC class for the 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 gRPC headers
  #  *  `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
  #     include the following keys:
  #      *  `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
  #      *  `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
  #      *  `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
  #      *  `:retry_codes` (*type:* `Array<String>`) - The error codes that should
  #         trigger a retry.
  #
  class Rpcs
    ##
    # RPC-specific configuration for `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)


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
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
# File 'lib/google/cloud/dataform/v1beta1/dataform/client.rb', line 4940

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 += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
    allowed.any? { |klass| klass === value }
  end
  config_attr :scope,         nil, ::String, ::Array, nil
  config_attr :lib_name,      nil, ::String, nil
  config_attr :lib_version,   nil, ::String, nil
  config_attr(:channel_args,  { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
  config_attr :interceptors,  nil, ::Array, nil
  config_attr :timeout,       nil, ::Numeric, nil
  config_attr :metadata,      nil, ::Hash, nil
  config_attr :retry_policy,  nil, ::Hash, ::Proc, nil
  config_attr :quota_project, nil, ::String, nil
  config_attr :universe_domain, nil, ::String, nil

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

    yield self if block_given?
  end

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

  ##
  # Configuration for the channel pool
  # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
  #
  def channel_pool
    @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
  end

  ##
  # Configuration RPC class for the 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 gRPC headers
  #  *  `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
  #     include the following keys:
  #      *  `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
  #      *  `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
  #      *  `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
  #      *  `:retry_codes` (*type:* `Array<String>`) - The error codes that should
  #         trigger a retry.
  #
  class Rpcs
    ##
    # RPC-specific configuration for `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 gRPC headers to be sent with the call.

Returns:

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


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
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
# File 'lib/google/cloud/dataform/v1beta1/dataform/client.rb', line 4940

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 += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
    allowed.any? { |klass| klass === value }
  end
  config_attr :scope,         nil, ::String, ::Array, nil
  config_attr :lib_name,      nil, ::String, nil
  config_attr :lib_version,   nil, ::String, nil
  config_attr(:channel_args,  { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
  config_attr :interceptors,  nil, ::Array, nil
  config_attr :timeout,       nil, ::Numeric, nil
  config_attr :metadata,      nil, ::Hash, nil
  config_attr :retry_policy,  nil, ::Hash, ::Proc, nil
  config_attr :quota_project, nil, ::String, nil
  config_attr :universe_domain, nil, ::String, nil

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

    yield self if block_given?
  end

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

  ##
  # Configuration for the channel pool
  # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
  #
  def channel_pool
    @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
  end

  ##
  # Configuration RPC class for the 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 gRPC headers
  #  *  `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
  #     include the following keys:
  #      *  `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
  #      *  `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
  #      *  `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
  #      *  `:retry_codes` (*type:* `Array<String>`) - The error codes that should
  #         trigger a retry.
  #
  class Rpcs
    ##
    # RPC-specific configuration for `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)


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
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
# File 'lib/google/cloud/dataform/v1beta1/dataform/client.rb', line 4940

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 += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
    allowed.any? { |klass| klass === value }
  end
  config_attr :scope,         nil, ::String, ::Array, nil
  config_attr :lib_name,      nil, ::String, nil
  config_attr :lib_version,   nil, ::String, nil
  config_attr(:channel_args,  { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
  config_attr :interceptors,  nil, ::Array, nil
  config_attr :timeout,       nil, ::Numeric, nil
  config_attr :metadata,      nil, ::Hash, nil
  config_attr :retry_policy,  nil, ::Hash, ::Proc, nil
  config_attr :quota_project, nil, ::String, nil
  config_attr :universe_domain, nil, ::String, nil

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

    yield self if block_given?
  end

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

  ##
  # Configuration for the channel pool
  # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
  #
  def channel_pool
    @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
  end

  ##
  # Configuration RPC class for the 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 gRPC headers
  #  *  `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
  #     include the following keys:
  #      *  `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
  #      *  `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
  #      *  `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
  #      *  `:retry_codes` (*type:* `Array<String>`) - The error codes that should
  #         trigger a retry.
  #
  class Rpcs
    ##
    # RPC-specific configuration for `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)


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
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
# File 'lib/google/cloud/dataform/v1beta1/dataform/client.rb', line 4940

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 += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
    allowed.any? { |klass| klass === value }
  end
  config_attr :scope,         nil, ::String, ::Array, nil
  config_attr :lib_name,      nil, ::String, nil
  config_attr :lib_version,   nil, ::String, nil
  config_attr(:channel_args,  { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
  config_attr :interceptors,  nil, ::Array, nil
  config_attr :timeout,       nil, ::Numeric, nil
  config_attr :metadata,      nil, ::Hash, nil
  config_attr :retry_policy,  nil, ::Hash, ::Proc, nil
  config_attr :quota_project, nil, ::String, nil
  config_attr :universe_domain, nil, ::String, nil

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

    yield self if block_given?
  end

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

  ##
  # Configuration for the channel pool
  # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
  #
  def channel_pool
    @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
  end

  ##
  # Configuration RPC class for the 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 gRPC headers
  #  *  `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
  #     include the following keys:
  #      *  `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
  #      *  `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
  #      *  `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
  #      *  `:retry_codes` (*type:* `Array<String>`) - The error codes that should
  #         trigger a retry.
  #
  class Rpcs
    ##
    # RPC-specific configuration for `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>)


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
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
# File 'lib/google/cloud/dataform/v1beta1/dataform/client.rb', line 4940

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 += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
    allowed.any? { |klass| klass === value }
  end
  config_attr :scope,         nil, ::String, ::Array, nil
  config_attr :lib_name,      nil, ::String, nil
  config_attr :lib_version,   nil, ::String, nil
  config_attr(:channel_args,  { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
  config_attr :interceptors,  nil, ::Array, nil
  config_attr :timeout,       nil, ::Numeric, nil
  config_attr :metadata,      nil, ::Hash, nil
  config_attr :retry_policy,  nil, ::Hash, ::Proc, nil
  config_attr :quota_project, nil, ::String, nil
  config_attr :universe_domain, nil, ::String, nil

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

    yield self if block_given?
  end

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

  ##
  # Configuration for the channel pool
  # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
  #
  def channel_pool
    @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
  end

  ##
  # Configuration RPC class for the 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 gRPC headers
  #  *  `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
  #     include the following keys:
  #      *  `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
  #      *  `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
  #      *  `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
  #      *  `:retry_codes` (*type:* `Array<String>`) - The error codes that should
  #         trigger a retry.
  #
  class Rpcs
    ##
    # RPC-specific configuration for `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)


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
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
# File 'lib/google/cloud/dataform/v1beta1/dataform/client.rb', line 4940

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 += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
    allowed.any? { |klass| klass === value }
  end
  config_attr :scope,         nil, ::String, ::Array, nil
  config_attr :lib_name,      nil, ::String, nil
  config_attr :lib_version,   nil, ::String, nil
  config_attr(:channel_args,  { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
  config_attr :interceptors,  nil, ::Array, nil
  config_attr :timeout,       nil, ::Numeric, nil
  config_attr :metadata,      nil, ::Hash, nil
  config_attr :retry_policy,  nil, ::Hash, ::Proc, nil
  config_attr :quota_project, nil, ::String, nil
  config_attr :universe_domain, nil, ::String, nil

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

    yield self if block_given?
  end

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

  ##
  # Configuration for the channel pool
  # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
  #
  def channel_pool
    @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
  end

  ##
  # Configuration RPC class for the 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 gRPC headers
  #  *  `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
  #     include the following keys:
  #      *  `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
  #      *  `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
  #      *  `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
  #      *  `:retry_codes` (*type:* `Array<String>`) - The error codes that should
  #         trigger a retry.
  #
  class Rpcs
    ##
    # RPC-specific configuration for `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)


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
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
# File 'lib/google/cloud/dataform/v1beta1/dataform/client.rb', line 4940

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 += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
    allowed.any? { |klass| klass === value }
  end
  config_attr :scope,         nil, ::String, ::Array, nil
  config_attr :lib_name,      nil, ::String, nil
  config_attr :lib_version,   nil, ::String, nil
  config_attr(:channel_args,  { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
  config_attr :interceptors,  nil, ::Array, nil
  config_attr :timeout,       nil, ::Numeric, nil
  config_attr :metadata,      nil, ::Hash, nil
  config_attr :retry_policy,  nil, ::Hash, ::Proc, nil
  config_attr :quota_project, nil, ::String, nil
  config_attr :universe_domain, nil, ::String, nil

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

    yield self if block_given?
  end

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

  ##
  # Configuration for the channel pool
  # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
  #
  def channel_pool
    @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
  end

  ##
  # Configuration RPC class for the 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 gRPC headers
  #  *  `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
  #     include the following keys:
  #      *  `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
  #      *  `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
  #      *  `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
  #      *  `:retry_codes` (*type:* `Array<String>`) - The error codes that should
  #         trigger a retry.
  #
  class Rpcs
    ##
    # RPC-specific configuration for `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

#channel_pool::Gapic::ServiceStub::ChannelPool::Configuration

Configuration for the channel pool

Returns:

  • (::Gapic::ServiceStub::ChannelPool::Configuration)


4987
4988
4989
# File 'lib/google/cloud/dataform/v1beta1/dataform/client.rb', line 4987

def channel_pool
  @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
end

#rpcsRpcs

Configurations for individual RPCs

Returns:



4975
4976
4977
4978
4979
4980
4981
# File 'lib/google/cloud/dataform/v1beta1/dataform/client.rb', line 4975

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