Class: Google::Cloud::Deploy::V1::CloudDeploy::Rest::Client::Configuration

Inherits:
Object
  • Object
show all
Extended by:
Gapic::Config
Defined in:
lib/google/cloud/deploy/v1/cloud_deploy/rest/client.rb

Overview

Configuration class for the CloudDeploy REST API.

This class represents the configuration for CloudDeploy REST, providing control over timeouts, retry behavior, logging, transport parameters, and other low-level controls. Certain parameters can also be applied individually to specific RPCs. See Rpcs for a list of RPCs that can be configured independently.

Configuration can be applied globally to all clients, or to a single client on construction.

Examples:


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

# Apply the above configuration only to a new client.
client = ::Google::Cloud::Deploy::V1::CloudDeploy::Rest::Client.new do |config|
  config.timeout = 10.0
  config.rpcs.list_delivery_pipelines.timeout = 20.0
end

Defined Under Namespace

Classes: Rpcs

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#credentials::Object

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

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

Returns:

  • (::Object)


4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
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
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/client.rb', line 4809

class Configuration
  extend ::Gapic::Config

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

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

  # @private
  # Overrides for http bindings for the RPCs of this service
  # are only used when this service is used as mixin, and only
  # by the host service.
  # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
  config_attr :bindings_override, {}, ::Hash, nil

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

    yield self if block_given?
  end

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

  ##
  # Configuration RPC class for the CloudDeploy API.
  #
  # Includes fields providing the configuration for each RPC in this service.
  # Each configuration object is of type `Gapic::Config::Method` and includes
  # the following configuration fields:
  #
  #  *  `timeout` (*type:* `Numeric`) - The call timeout in seconds
  #  *  `metadata` (*type:* `Hash{Symbol=>String}`) - Additional headers
  #  *  `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
  #     include the following keys:
  #      *  `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
  #      *  `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
  #      *  `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
  #      *  `:retry_codes` (*type:* `Array<String>`) - The error codes that should
  #         trigger a retry.
  #
  class Rpcs
    ##
    # RPC-specific configuration for `list_delivery_pipelines`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_delivery_pipelines
    ##
    # RPC-specific configuration for `get_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_delivery_pipeline
    ##
    # RPC-specific configuration for `create_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_delivery_pipeline
    ##
    # RPC-specific configuration for `update_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_delivery_pipeline
    ##
    # RPC-specific configuration for `delete_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_delivery_pipeline
    ##
    # RPC-specific configuration for `list_targets`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_targets
    ##
    # RPC-specific configuration for `rollback_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :rollback_target
    ##
    # RPC-specific configuration for `get_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_target
    ##
    # RPC-specific configuration for `create_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_target
    ##
    # RPC-specific configuration for `update_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_target
    ##
    # RPC-specific configuration for `delete_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_target
    ##
    # RPC-specific configuration for `list_custom_target_types`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_custom_target_types
    ##
    # RPC-specific configuration for `get_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_custom_target_type
    ##
    # RPC-specific configuration for `create_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_custom_target_type
    ##
    # RPC-specific configuration for `update_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_custom_target_type
    ##
    # RPC-specific configuration for `delete_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_custom_target_type
    ##
    # RPC-specific configuration for `list_releases`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_releases
    ##
    # RPC-specific configuration for `get_release`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_release
    ##
    # RPC-specific configuration for `create_release`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_release
    ##
    # RPC-specific configuration for `abandon_release`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :abandon_release
    ##
    # RPC-specific configuration for `create_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_deploy_policy
    ##
    # RPC-specific configuration for `update_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_deploy_policy
    ##
    # RPC-specific configuration for `delete_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_deploy_policy
    ##
    # RPC-specific configuration for `list_deploy_policies`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_deploy_policies
    ##
    # RPC-specific configuration for `get_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_deploy_policy
    ##
    # RPC-specific configuration for `approve_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :approve_rollout
    ##
    # RPC-specific configuration for `advance_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :advance_rollout
    ##
    # RPC-specific configuration for `cancel_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :cancel_rollout
    ##
    # RPC-specific configuration for `list_rollouts`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_rollouts
    ##
    # RPC-specific configuration for `get_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_rollout
    ##
    # RPC-specific configuration for `create_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_rollout
    ##
    # RPC-specific configuration for `ignore_job`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :ignore_job
    ##
    # RPC-specific configuration for `retry_job`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :retry_job
    ##
    # RPC-specific configuration for `list_job_runs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_job_runs
    ##
    # RPC-specific configuration for `get_job_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_job_run
    ##
    # RPC-specific configuration for `terminate_job_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :terminate_job_run
    ##
    # RPC-specific configuration for `get_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_config
    ##
    # RPC-specific configuration for `create_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_automation
    ##
    # RPC-specific configuration for `update_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_automation
    ##
    # RPC-specific configuration for `delete_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_automation
    ##
    # RPC-specific configuration for `get_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_automation
    ##
    # RPC-specific configuration for `list_automations`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_automations
    ##
    # RPC-specific configuration for `get_automation_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_automation_run
    ##
    # RPC-specific configuration for `list_automation_runs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_automation_runs
    ##
    # RPC-specific configuration for `cancel_automation_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :cancel_automation_run

    # @private
    def initialize parent_rpcs = nil
      list_delivery_pipelines_config = parent_rpcs.list_delivery_pipelines if parent_rpcs.respond_to? :list_delivery_pipelines
      @list_delivery_pipelines = ::Gapic::Config::Method.new list_delivery_pipelines_config
      get_delivery_pipeline_config = parent_rpcs.get_delivery_pipeline if parent_rpcs.respond_to? :get_delivery_pipeline
      @get_delivery_pipeline = ::Gapic::Config::Method.new get_delivery_pipeline_config
      create_delivery_pipeline_config = parent_rpcs.create_delivery_pipeline if parent_rpcs.respond_to? :create_delivery_pipeline
      @create_delivery_pipeline = ::Gapic::Config::Method.new create_delivery_pipeline_config
      update_delivery_pipeline_config = parent_rpcs.update_delivery_pipeline if parent_rpcs.respond_to? :update_delivery_pipeline
      @update_delivery_pipeline = ::Gapic::Config::Method.new update_delivery_pipeline_config
      delete_delivery_pipeline_config = parent_rpcs.delete_delivery_pipeline if parent_rpcs.respond_to? :delete_delivery_pipeline
      @delete_delivery_pipeline = ::Gapic::Config::Method.new delete_delivery_pipeline_config
      list_targets_config = parent_rpcs.list_targets if parent_rpcs.respond_to? :list_targets
      @list_targets = ::Gapic::Config::Method.new list_targets_config
      rollback_target_config = parent_rpcs.rollback_target if parent_rpcs.respond_to? :rollback_target
      @rollback_target = ::Gapic::Config::Method.new rollback_target_config
      get_target_config = parent_rpcs.get_target if parent_rpcs.respond_to? :get_target
      @get_target = ::Gapic::Config::Method.new get_target_config
      create_target_config = parent_rpcs.create_target if parent_rpcs.respond_to? :create_target
      @create_target = ::Gapic::Config::Method.new create_target_config
      update_target_config = parent_rpcs.update_target if parent_rpcs.respond_to? :update_target
      @update_target = ::Gapic::Config::Method.new update_target_config
      delete_target_config = parent_rpcs.delete_target if parent_rpcs.respond_to? :delete_target
      @delete_target = ::Gapic::Config::Method.new delete_target_config
      list_custom_target_types_config = parent_rpcs.list_custom_target_types if parent_rpcs.respond_to? :list_custom_target_types
      @list_custom_target_types = ::Gapic::Config::Method.new list_custom_target_types_config
      get_custom_target_type_config = parent_rpcs.get_custom_target_type if parent_rpcs.respond_to? :get_custom_target_type
      @get_custom_target_type = ::Gapic::Config::Method.new get_custom_target_type_config
      create_custom_target_type_config = parent_rpcs.create_custom_target_type if parent_rpcs.respond_to? :create_custom_target_type
      @create_custom_target_type = ::Gapic::Config::Method.new create_custom_target_type_config
      update_custom_target_type_config = parent_rpcs.update_custom_target_type if parent_rpcs.respond_to? :update_custom_target_type
      @update_custom_target_type = ::Gapic::Config::Method.new update_custom_target_type_config
      delete_custom_target_type_config = parent_rpcs.delete_custom_target_type if parent_rpcs.respond_to? :delete_custom_target_type
      @delete_custom_target_type = ::Gapic::Config::Method.new delete_custom_target_type_config
      list_releases_config = parent_rpcs.list_releases if parent_rpcs.respond_to? :list_releases
      @list_releases = ::Gapic::Config::Method.new list_releases_config
      get_release_config = parent_rpcs.get_release if parent_rpcs.respond_to? :get_release
      @get_release = ::Gapic::Config::Method.new get_release_config
      create_release_config = parent_rpcs.create_release if parent_rpcs.respond_to? :create_release
      @create_release = ::Gapic::Config::Method.new create_release_config
      abandon_release_config = parent_rpcs.abandon_release if parent_rpcs.respond_to? :abandon_release
      @abandon_release = ::Gapic::Config::Method.new abandon_release_config
      create_deploy_policy_config = parent_rpcs.create_deploy_policy if parent_rpcs.respond_to? :create_deploy_policy
      @create_deploy_policy = ::Gapic::Config::Method.new create_deploy_policy_config
      update_deploy_policy_config = parent_rpcs.update_deploy_policy if parent_rpcs.respond_to? :update_deploy_policy
      @update_deploy_policy = ::Gapic::Config::Method.new update_deploy_policy_config
      delete_deploy_policy_config = parent_rpcs.delete_deploy_policy if parent_rpcs.respond_to? :delete_deploy_policy
      @delete_deploy_policy = ::Gapic::Config::Method.new delete_deploy_policy_config
      list_deploy_policies_config = parent_rpcs.list_deploy_policies if parent_rpcs.respond_to? :list_deploy_policies
      @list_deploy_policies = ::Gapic::Config::Method.new list_deploy_policies_config
      get_deploy_policy_config = parent_rpcs.get_deploy_policy if parent_rpcs.respond_to? :get_deploy_policy
      @get_deploy_policy = ::Gapic::Config::Method.new get_deploy_policy_config
      approve_rollout_config = parent_rpcs.approve_rollout if parent_rpcs.respond_to? :approve_rollout
      @approve_rollout = ::Gapic::Config::Method.new approve_rollout_config
      advance_rollout_config = parent_rpcs.advance_rollout if parent_rpcs.respond_to? :advance_rollout
      @advance_rollout = ::Gapic::Config::Method.new advance_rollout_config
      cancel_rollout_config = parent_rpcs.cancel_rollout if parent_rpcs.respond_to? :cancel_rollout
      @cancel_rollout = ::Gapic::Config::Method.new cancel_rollout_config
      list_rollouts_config = parent_rpcs.list_rollouts if parent_rpcs.respond_to? :list_rollouts
      @list_rollouts = ::Gapic::Config::Method.new list_rollouts_config
      get_rollout_config = parent_rpcs.get_rollout if parent_rpcs.respond_to? :get_rollout
      @get_rollout = ::Gapic::Config::Method.new get_rollout_config
      create_rollout_config = parent_rpcs.create_rollout if parent_rpcs.respond_to? :create_rollout
      @create_rollout = ::Gapic::Config::Method.new create_rollout_config
      ignore_job_config = parent_rpcs.ignore_job if parent_rpcs.respond_to? :ignore_job
      @ignore_job = ::Gapic::Config::Method.new ignore_job_config
      retry_job_config = parent_rpcs.retry_job if parent_rpcs.respond_to? :retry_job
      @retry_job = ::Gapic::Config::Method.new retry_job_config
      list_job_runs_config = parent_rpcs.list_job_runs if parent_rpcs.respond_to? :list_job_runs
      @list_job_runs = ::Gapic::Config::Method.new list_job_runs_config
      get_job_run_config = parent_rpcs.get_job_run if parent_rpcs.respond_to? :get_job_run
      @get_job_run = ::Gapic::Config::Method.new get_job_run_config
      terminate_job_run_config = parent_rpcs.terminate_job_run if parent_rpcs.respond_to? :terminate_job_run
      @terminate_job_run = ::Gapic::Config::Method.new terminate_job_run_config
      get_config_config = parent_rpcs.get_config if parent_rpcs.respond_to? :get_config
      @get_config = ::Gapic::Config::Method.new get_config_config
      create_automation_config = parent_rpcs.create_automation if parent_rpcs.respond_to? :create_automation
      @create_automation = ::Gapic::Config::Method.new create_automation_config
      update_automation_config = parent_rpcs.update_automation if parent_rpcs.respond_to? :update_automation
      @update_automation = ::Gapic::Config::Method.new update_automation_config
      delete_automation_config = parent_rpcs.delete_automation if parent_rpcs.respond_to? :delete_automation
      @delete_automation = ::Gapic::Config::Method.new delete_automation_config
      get_automation_config = parent_rpcs.get_automation if parent_rpcs.respond_to? :get_automation
      @get_automation = ::Gapic::Config::Method.new get_automation_config
      list_automations_config = parent_rpcs.list_automations if parent_rpcs.respond_to? :list_automations
      @list_automations = ::Gapic::Config::Method.new list_automations_config
      get_automation_run_config = parent_rpcs.get_automation_run if parent_rpcs.respond_to? :get_automation_run
      @get_automation_run = ::Gapic::Config::Method.new get_automation_run_config
      list_automation_runs_config = parent_rpcs.list_automation_runs if parent_rpcs.respond_to? :list_automation_runs
      @list_automation_runs = ::Gapic::Config::Method.new list_automation_runs_config
      cancel_automation_run_config = parent_rpcs.cancel_automation_run if parent_rpcs.respond_to? :cancel_automation_run
      @cancel_automation_run = ::Gapic::Config::Method.new cancel_automation_run_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)


4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
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
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/client.rb', line 4809

class Configuration
  extend ::Gapic::Config

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

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

  # @private
  # Overrides for http bindings for the RPCs of this service
  # are only used when this service is used as mixin, and only
  # by the host service.
  # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
  config_attr :bindings_override, {}, ::Hash, nil

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

    yield self if block_given?
  end

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

  ##
  # Configuration RPC class for the CloudDeploy API.
  #
  # Includes fields providing the configuration for each RPC in this service.
  # Each configuration object is of type `Gapic::Config::Method` and includes
  # the following configuration fields:
  #
  #  *  `timeout` (*type:* `Numeric`) - The call timeout in seconds
  #  *  `metadata` (*type:* `Hash{Symbol=>String}`) - Additional headers
  #  *  `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
  #     include the following keys:
  #      *  `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
  #      *  `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
  #      *  `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
  #      *  `:retry_codes` (*type:* `Array<String>`) - The error codes that should
  #         trigger a retry.
  #
  class Rpcs
    ##
    # RPC-specific configuration for `list_delivery_pipelines`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_delivery_pipelines
    ##
    # RPC-specific configuration for `get_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_delivery_pipeline
    ##
    # RPC-specific configuration for `create_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_delivery_pipeline
    ##
    # RPC-specific configuration for `update_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_delivery_pipeline
    ##
    # RPC-specific configuration for `delete_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_delivery_pipeline
    ##
    # RPC-specific configuration for `list_targets`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_targets
    ##
    # RPC-specific configuration for `rollback_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :rollback_target
    ##
    # RPC-specific configuration for `get_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_target
    ##
    # RPC-specific configuration for `create_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_target
    ##
    # RPC-specific configuration for `update_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_target
    ##
    # RPC-specific configuration for `delete_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_target
    ##
    # RPC-specific configuration for `list_custom_target_types`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_custom_target_types
    ##
    # RPC-specific configuration for `get_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_custom_target_type
    ##
    # RPC-specific configuration for `create_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_custom_target_type
    ##
    # RPC-specific configuration for `update_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_custom_target_type
    ##
    # RPC-specific configuration for `delete_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_custom_target_type
    ##
    # RPC-specific configuration for `list_releases`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_releases
    ##
    # RPC-specific configuration for `get_release`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_release
    ##
    # RPC-specific configuration for `create_release`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_release
    ##
    # RPC-specific configuration for `abandon_release`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :abandon_release
    ##
    # RPC-specific configuration for `create_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_deploy_policy
    ##
    # RPC-specific configuration for `update_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_deploy_policy
    ##
    # RPC-specific configuration for `delete_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_deploy_policy
    ##
    # RPC-specific configuration for `list_deploy_policies`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_deploy_policies
    ##
    # RPC-specific configuration for `get_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_deploy_policy
    ##
    # RPC-specific configuration for `approve_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :approve_rollout
    ##
    # RPC-specific configuration for `advance_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :advance_rollout
    ##
    # RPC-specific configuration for `cancel_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :cancel_rollout
    ##
    # RPC-specific configuration for `list_rollouts`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_rollouts
    ##
    # RPC-specific configuration for `get_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_rollout
    ##
    # RPC-specific configuration for `create_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_rollout
    ##
    # RPC-specific configuration for `ignore_job`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :ignore_job
    ##
    # RPC-specific configuration for `retry_job`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :retry_job
    ##
    # RPC-specific configuration for `list_job_runs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_job_runs
    ##
    # RPC-specific configuration for `get_job_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_job_run
    ##
    # RPC-specific configuration for `terminate_job_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :terminate_job_run
    ##
    # RPC-specific configuration for `get_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_config
    ##
    # RPC-specific configuration for `create_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_automation
    ##
    # RPC-specific configuration for `update_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_automation
    ##
    # RPC-specific configuration for `delete_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_automation
    ##
    # RPC-specific configuration for `get_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_automation
    ##
    # RPC-specific configuration for `list_automations`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_automations
    ##
    # RPC-specific configuration for `get_automation_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_automation_run
    ##
    # RPC-specific configuration for `list_automation_runs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_automation_runs
    ##
    # RPC-specific configuration for `cancel_automation_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :cancel_automation_run

    # @private
    def initialize parent_rpcs = nil
      list_delivery_pipelines_config = parent_rpcs.list_delivery_pipelines if parent_rpcs.respond_to? :list_delivery_pipelines
      @list_delivery_pipelines = ::Gapic::Config::Method.new list_delivery_pipelines_config
      get_delivery_pipeline_config = parent_rpcs.get_delivery_pipeline if parent_rpcs.respond_to? :get_delivery_pipeline
      @get_delivery_pipeline = ::Gapic::Config::Method.new get_delivery_pipeline_config
      create_delivery_pipeline_config = parent_rpcs.create_delivery_pipeline if parent_rpcs.respond_to? :create_delivery_pipeline
      @create_delivery_pipeline = ::Gapic::Config::Method.new create_delivery_pipeline_config
      update_delivery_pipeline_config = parent_rpcs.update_delivery_pipeline if parent_rpcs.respond_to? :update_delivery_pipeline
      @update_delivery_pipeline = ::Gapic::Config::Method.new update_delivery_pipeline_config
      delete_delivery_pipeline_config = parent_rpcs.delete_delivery_pipeline if parent_rpcs.respond_to? :delete_delivery_pipeline
      @delete_delivery_pipeline = ::Gapic::Config::Method.new delete_delivery_pipeline_config
      list_targets_config = parent_rpcs.list_targets if parent_rpcs.respond_to? :list_targets
      @list_targets = ::Gapic::Config::Method.new list_targets_config
      rollback_target_config = parent_rpcs.rollback_target if parent_rpcs.respond_to? :rollback_target
      @rollback_target = ::Gapic::Config::Method.new rollback_target_config
      get_target_config = parent_rpcs.get_target if parent_rpcs.respond_to? :get_target
      @get_target = ::Gapic::Config::Method.new get_target_config
      create_target_config = parent_rpcs.create_target if parent_rpcs.respond_to? :create_target
      @create_target = ::Gapic::Config::Method.new create_target_config
      update_target_config = parent_rpcs.update_target if parent_rpcs.respond_to? :update_target
      @update_target = ::Gapic::Config::Method.new update_target_config
      delete_target_config = parent_rpcs.delete_target if parent_rpcs.respond_to? :delete_target
      @delete_target = ::Gapic::Config::Method.new delete_target_config
      list_custom_target_types_config = parent_rpcs.list_custom_target_types if parent_rpcs.respond_to? :list_custom_target_types
      @list_custom_target_types = ::Gapic::Config::Method.new list_custom_target_types_config
      get_custom_target_type_config = parent_rpcs.get_custom_target_type if parent_rpcs.respond_to? :get_custom_target_type
      @get_custom_target_type = ::Gapic::Config::Method.new get_custom_target_type_config
      create_custom_target_type_config = parent_rpcs.create_custom_target_type if parent_rpcs.respond_to? :create_custom_target_type
      @create_custom_target_type = ::Gapic::Config::Method.new create_custom_target_type_config
      update_custom_target_type_config = parent_rpcs.update_custom_target_type if parent_rpcs.respond_to? :update_custom_target_type
      @update_custom_target_type = ::Gapic::Config::Method.new update_custom_target_type_config
      delete_custom_target_type_config = parent_rpcs.delete_custom_target_type if parent_rpcs.respond_to? :delete_custom_target_type
      @delete_custom_target_type = ::Gapic::Config::Method.new delete_custom_target_type_config
      list_releases_config = parent_rpcs.list_releases if parent_rpcs.respond_to? :list_releases
      @list_releases = ::Gapic::Config::Method.new list_releases_config
      get_release_config = parent_rpcs.get_release if parent_rpcs.respond_to? :get_release
      @get_release = ::Gapic::Config::Method.new get_release_config
      create_release_config = parent_rpcs.create_release if parent_rpcs.respond_to? :create_release
      @create_release = ::Gapic::Config::Method.new create_release_config
      abandon_release_config = parent_rpcs.abandon_release if parent_rpcs.respond_to? :abandon_release
      @abandon_release = ::Gapic::Config::Method.new abandon_release_config
      create_deploy_policy_config = parent_rpcs.create_deploy_policy if parent_rpcs.respond_to? :create_deploy_policy
      @create_deploy_policy = ::Gapic::Config::Method.new create_deploy_policy_config
      update_deploy_policy_config = parent_rpcs.update_deploy_policy if parent_rpcs.respond_to? :update_deploy_policy
      @update_deploy_policy = ::Gapic::Config::Method.new update_deploy_policy_config
      delete_deploy_policy_config = parent_rpcs.delete_deploy_policy if parent_rpcs.respond_to? :delete_deploy_policy
      @delete_deploy_policy = ::Gapic::Config::Method.new delete_deploy_policy_config
      list_deploy_policies_config = parent_rpcs.list_deploy_policies if parent_rpcs.respond_to? :list_deploy_policies
      @list_deploy_policies = ::Gapic::Config::Method.new list_deploy_policies_config
      get_deploy_policy_config = parent_rpcs.get_deploy_policy if parent_rpcs.respond_to? :get_deploy_policy
      @get_deploy_policy = ::Gapic::Config::Method.new get_deploy_policy_config
      approve_rollout_config = parent_rpcs.approve_rollout if parent_rpcs.respond_to? :approve_rollout
      @approve_rollout = ::Gapic::Config::Method.new approve_rollout_config
      advance_rollout_config = parent_rpcs.advance_rollout if parent_rpcs.respond_to? :advance_rollout
      @advance_rollout = ::Gapic::Config::Method.new advance_rollout_config
      cancel_rollout_config = parent_rpcs.cancel_rollout if parent_rpcs.respond_to? :cancel_rollout
      @cancel_rollout = ::Gapic::Config::Method.new cancel_rollout_config
      list_rollouts_config = parent_rpcs.list_rollouts if parent_rpcs.respond_to? :list_rollouts
      @list_rollouts = ::Gapic::Config::Method.new list_rollouts_config
      get_rollout_config = parent_rpcs.get_rollout if parent_rpcs.respond_to? :get_rollout
      @get_rollout = ::Gapic::Config::Method.new get_rollout_config
      create_rollout_config = parent_rpcs.create_rollout if parent_rpcs.respond_to? :create_rollout
      @create_rollout = ::Gapic::Config::Method.new create_rollout_config
      ignore_job_config = parent_rpcs.ignore_job if parent_rpcs.respond_to? :ignore_job
      @ignore_job = ::Gapic::Config::Method.new ignore_job_config
      retry_job_config = parent_rpcs.retry_job if parent_rpcs.respond_to? :retry_job
      @retry_job = ::Gapic::Config::Method.new retry_job_config
      list_job_runs_config = parent_rpcs.list_job_runs if parent_rpcs.respond_to? :list_job_runs
      @list_job_runs = ::Gapic::Config::Method.new list_job_runs_config
      get_job_run_config = parent_rpcs.get_job_run if parent_rpcs.respond_to? :get_job_run
      @get_job_run = ::Gapic::Config::Method.new get_job_run_config
      terminate_job_run_config = parent_rpcs.terminate_job_run if parent_rpcs.respond_to? :terminate_job_run
      @terminate_job_run = ::Gapic::Config::Method.new terminate_job_run_config
      get_config_config = parent_rpcs.get_config if parent_rpcs.respond_to? :get_config
      @get_config = ::Gapic::Config::Method.new get_config_config
      create_automation_config = parent_rpcs.create_automation if parent_rpcs.respond_to? :create_automation
      @create_automation = ::Gapic::Config::Method.new create_automation_config
      update_automation_config = parent_rpcs.update_automation if parent_rpcs.respond_to? :update_automation
      @update_automation = ::Gapic::Config::Method.new update_automation_config
      delete_automation_config = parent_rpcs.delete_automation if parent_rpcs.respond_to? :delete_automation
      @delete_automation = ::Gapic::Config::Method.new delete_automation_config
      get_automation_config = parent_rpcs.get_automation if parent_rpcs.respond_to? :get_automation
      @get_automation = ::Gapic::Config::Method.new get_automation_config
      list_automations_config = parent_rpcs.list_automations if parent_rpcs.respond_to? :list_automations
      @list_automations = ::Gapic::Config::Method.new list_automations_config
      get_automation_run_config = parent_rpcs.get_automation_run if parent_rpcs.respond_to? :get_automation_run
      @get_automation_run = ::Gapic::Config::Method.new get_automation_run_config
      list_automation_runs_config = parent_rpcs.list_automation_runs if parent_rpcs.respond_to? :list_automation_runs
      @list_automation_runs = ::Gapic::Config::Method.new list_automation_runs_config
      cancel_automation_run_config = parent_rpcs.cancel_automation_run if parent_rpcs.respond_to? :cancel_automation_run
      @cancel_automation_run = ::Gapic::Config::Method.new cancel_automation_run_config

      yield self if block_given?
    end
  end
end

#lib_name::String

The library name as recorded in instrumentation and logging

Returns:

  • (::String)


4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
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
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/client.rb', line 4809

class Configuration
  extend ::Gapic::Config

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

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

  # @private
  # Overrides for http bindings for the RPCs of this service
  # are only used when this service is used as mixin, and only
  # by the host service.
  # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
  config_attr :bindings_override, {}, ::Hash, nil

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

    yield self if block_given?
  end

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

  ##
  # Configuration RPC class for the CloudDeploy API.
  #
  # Includes fields providing the configuration for each RPC in this service.
  # Each configuration object is of type `Gapic::Config::Method` and includes
  # the following configuration fields:
  #
  #  *  `timeout` (*type:* `Numeric`) - The call timeout in seconds
  #  *  `metadata` (*type:* `Hash{Symbol=>String}`) - Additional headers
  #  *  `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
  #     include the following keys:
  #      *  `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
  #      *  `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
  #      *  `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
  #      *  `:retry_codes` (*type:* `Array<String>`) - The error codes that should
  #         trigger a retry.
  #
  class Rpcs
    ##
    # RPC-specific configuration for `list_delivery_pipelines`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_delivery_pipelines
    ##
    # RPC-specific configuration for `get_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_delivery_pipeline
    ##
    # RPC-specific configuration for `create_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_delivery_pipeline
    ##
    # RPC-specific configuration for `update_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_delivery_pipeline
    ##
    # RPC-specific configuration for `delete_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_delivery_pipeline
    ##
    # RPC-specific configuration for `list_targets`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_targets
    ##
    # RPC-specific configuration for `rollback_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :rollback_target
    ##
    # RPC-specific configuration for `get_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_target
    ##
    # RPC-specific configuration for `create_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_target
    ##
    # RPC-specific configuration for `update_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_target
    ##
    # RPC-specific configuration for `delete_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_target
    ##
    # RPC-specific configuration for `list_custom_target_types`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_custom_target_types
    ##
    # RPC-specific configuration for `get_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_custom_target_type
    ##
    # RPC-specific configuration for `create_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_custom_target_type
    ##
    # RPC-specific configuration for `update_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_custom_target_type
    ##
    # RPC-specific configuration for `delete_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_custom_target_type
    ##
    # RPC-specific configuration for `list_releases`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_releases
    ##
    # RPC-specific configuration for `get_release`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_release
    ##
    # RPC-specific configuration for `create_release`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_release
    ##
    # RPC-specific configuration for `abandon_release`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :abandon_release
    ##
    # RPC-specific configuration for `create_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_deploy_policy
    ##
    # RPC-specific configuration for `update_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_deploy_policy
    ##
    # RPC-specific configuration for `delete_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_deploy_policy
    ##
    # RPC-specific configuration for `list_deploy_policies`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_deploy_policies
    ##
    # RPC-specific configuration for `get_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_deploy_policy
    ##
    # RPC-specific configuration for `approve_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :approve_rollout
    ##
    # RPC-specific configuration for `advance_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :advance_rollout
    ##
    # RPC-specific configuration for `cancel_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :cancel_rollout
    ##
    # RPC-specific configuration for `list_rollouts`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_rollouts
    ##
    # RPC-specific configuration for `get_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_rollout
    ##
    # RPC-specific configuration for `create_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_rollout
    ##
    # RPC-specific configuration for `ignore_job`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :ignore_job
    ##
    # RPC-specific configuration for `retry_job`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :retry_job
    ##
    # RPC-specific configuration for `list_job_runs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_job_runs
    ##
    # RPC-specific configuration for `get_job_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_job_run
    ##
    # RPC-specific configuration for `terminate_job_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :terminate_job_run
    ##
    # RPC-specific configuration for `get_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_config
    ##
    # RPC-specific configuration for `create_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_automation
    ##
    # RPC-specific configuration for `update_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_automation
    ##
    # RPC-specific configuration for `delete_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_automation
    ##
    # RPC-specific configuration for `get_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_automation
    ##
    # RPC-specific configuration for `list_automations`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_automations
    ##
    # RPC-specific configuration for `get_automation_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_automation_run
    ##
    # RPC-specific configuration for `list_automation_runs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_automation_runs
    ##
    # RPC-specific configuration for `cancel_automation_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :cancel_automation_run

    # @private
    def initialize parent_rpcs = nil
      list_delivery_pipelines_config = parent_rpcs.list_delivery_pipelines if parent_rpcs.respond_to? :list_delivery_pipelines
      @list_delivery_pipelines = ::Gapic::Config::Method.new list_delivery_pipelines_config
      get_delivery_pipeline_config = parent_rpcs.get_delivery_pipeline if parent_rpcs.respond_to? :get_delivery_pipeline
      @get_delivery_pipeline = ::Gapic::Config::Method.new get_delivery_pipeline_config
      create_delivery_pipeline_config = parent_rpcs.create_delivery_pipeline if parent_rpcs.respond_to? :create_delivery_pipeline
      @create_delivery_pipeline = ::Gapic::Config::Method.new create_delivery_pipeline_config
      update_delivery_pipeline_config = parent_rpcs.update_delivery_pipeline if parent_rpcs.respond_to? :update_delivery_pipeline
      @update_delivery_pipeline = ::Gapic::Config::Method.new update_delivery_pipeline_config
      delete_delivery_pipeline_config = parent_rpcs.delete_delivery_pipeline if parent_rpcs.respond_to? :delete_delivery_pipeline
      @delete_delivery_pipeline = ::Gapic::Config::Method.new delete_delivery_pipeline_config
      list_targets_config = parent_rpcs.list_targets if parent_rpcs.respond_to? :list_targets
      @list_targets = ::Gapic::Config::Method.new list_targets_config
      rollback_target_config = parent_rpcs.rollback_target if parent_rpcs.respond_to? :rollback_target
      @rollback_target = ::Gapic::Config::Method.new rollback_target_config
      get_target_config = parent_rpcs.get_target if parent_rpcs.respond_to? :get_target
      @get_target = ::Gapic::Config::Method.new get_target_config
      create_target_config = parent_rpcs.create_target if parent_rpcs.respond_to? :create_target
      @create_target = ::Gapic::Config::Method.new create_target_config
      update_target_config = parent_rpcs.update_target if parent_rpcs.respond_to? :update_target
      @update_target = ::Gapic::Config::Method.new update_target_config
      delete_target_config = parent_rpcs.delete_target if parent_rpcs.respond_to? :delete_target
      @delete_target = ::Gapic::Config::Method.new delete_target_config
      list_custom_target_types_config = parent_rpcs.list_custom_target_types if parent_rpcs.respond_to? :list_custom_target_types
      @list_custom_target_types = ::Gapic::Config::Method.new list_custom_target_types_config
      get_custom_target_type_config = parent_rpcs.get_custom_target_type if parent_rpcs.respond_to? :get_custom_target_type
      @get_custom_target_type = ::Gapic::Config::Method.new get_custom_target_type_config
      create_custom_target_type_config = parent_rpcs.create_custom_target_type if parent_rpcs.respond_to? :create_custom_target_type
      @create_custom_target_type = ::Gapic::Config::Method.new create_custom_target_type_config
      update_custom_target_type_config = parent_rpcs.update_custom_target_type if parent_rpcs.respond_to? :update_custom_target_type
      @update_custom_target_type = ::Gapic::Config::Method.new update_custom_target_type_config
      delete_custom_target_type_config = parent_rpcs.delete_custom_target_type if parent_rpcs.respond_to? :delete_custom_target_type
      @delete_custom_target_type = ::Gapic::Config::Method.new delete_custom_target_type_config
      list_releases_config = parent_rpcs.list_releases if parent_rpcs.respond_to? :list_releases
      @list_releases = ::Gapic::Config::Method.new list_releases_config
      get_release_config = parent_rpcs.get_release if parent_rpcs.respond_to? :get_release
      @get_release = ::Gapic::Config::Method.new get_release_config
      create_release_config = parent_rpcs.create_release if parent_rpcs.respond_to? :create_release
      @create_release = ::Gapic::Config::Method.new create_release_config
      abandon_release_config = parent_rpcs.abandon_release if parent_rpcs.respond_to? :abandon_release
      @abandon_release = ::Gapic::Config::Method.new abandon_release_config
      create_deploy_policy_config = parent_rpcs.create_deploy_policy if parent_rpcs.respond_to? :create_deploy_policy
      @create_deploy_policy = ::Gapic::Config::Method.new create_deploy_policy_config
      update_deploy_policy_config = parent_rpcs.update_deploy_policy if parent_rpcs.respond_to? :update_deploy_policy
      @update_deploy_policy = ::Gapic::Config::Method.new update_deploy_policy_config
      delete_deploy_policy_config = parent_rpcs.delete_deploy_policy if parent_rpcs.respond_to? :delete_deploy_policy
      @delete_deploy_policy = ::Gapic::Config::Method.new delete_deploy_policy_config
      list_deploy_policies_config = parent_rpcs.list_deploy_policies if parent_rpcs.respond_to? :list_deploy_policies
      @list_deploy_policies = ::Gapic::Config::Method.new list_deploy_policies_config
      get_deploy_policy_config = parent_rpcs.get_deploy_policy if parent_rpcs.respond_to? :get_deploy_policy
      @get_deploy_policy = ::Gapic::Config::Method.new get_deploy_policy_config
      approve_rollout_config = parent_rpcs.approve_rollout if parent_rpcs.respond_to? :approve_rollout
      @approve_rollout = ::Gapic::Config::Method.new approve_rollout_config
      advance_rollout_config = parent_rpcs.advance_rollout if parent_rpcs.respond_to? :advance_rollout
      @advance_rollout = ::Gapic::Config::Method.new advance_rollout_config
      cancel_rollout_config = parent_rpcs.cancel_rollout if parent_rpcs.respond_to? :cancel_rollout
      @cancel_rollout = ::Gapic::Config::Method.new cancel_rollout_config
      list_rollouts_config = parent_rpcs.list_rollouts if parent_rpcs.respond_to? :list_rollouts
      @list_rollouts = ::Gapic::Config::Method.new list_rollouts_config
      get_rollout_config = parent_rpcs.get_rollout if parent_rpcs.respond_to? :get_rollout
      @get_rollout = ::Gapic::Config::Method.new get_rollout_config
      create_rollout_config = parent_rpcs.create_rollout if parent_rpcs.respond_to? :create_rollout
      @create_rollout = ::Gapic::Config::Method.new create_rollout_config
      ignore_job_config = parent_rpcs.ignore_job if parent_rpcs.respond_to? :ignore_job
      @ignore_job = ::Gapic::Config::Method.new ignore_job_config
      retry_job_config = parent_rpcs.retry_job if parent_rpcs.respond_to? :retry_job
      @retry_job = ::Gapic::Config::Method.new retry_job_config
      list_job_runs_config = parent_rpcs.list_job_runs if parent_rpcs.respond_to? :list_job_runs
      @list_job_runs = ::Gapic::Config::Method.new list_job_runs_config
      get_job_run_config = parent_rpcs.get_job_run if parent_rpcs.respond_to? :get_job_run
      @get_job_run = ::Gapic::Config::Method.new get_job_run_config
      terminate_job_run_config = parent_rpcs.terminate_job_run if parent_rpcs.respond_to? :terminate_job_run
      @terminate_job_run = ::Gapic::Config::Method.new terminate_job_run_config
      get_config_config = parent_rpcs.get_config if parent_rpcs.respond_to? :get_config
      @get_config = ::Gapic::Config::Method.new get_config_config
      create_automation_config = parent_rpcs.create_automation if parent_rpcs.respond_to? :create_automation
      @create_automation = ::Gapic::Config::Method.new create_automation_config
      update_automation_config = parent_rpcs.update_automation if parent_rpcs.respond_to? :update_automation
      @update_automation = ::Gapic::Config::Method.new update_automation_config
      delete_automation_config = parent_rpcs.delete_automation if parent_rpcs.respond_to? :delete_automation
      @delete_automation = ::Gapic::Config::Method.new delete_automation_config
      get_automation_config = parent_rpcs.get_automation if parent_rpcs.respond_to? :get_automation
      @get_automation = ::Gapic::Config::Method.new get_automation_config
      list_automations_config = parent_rpcs.list_automations if parent_rpcs.respond_to? :list_automations
      @list_automations = ::Gapic::Config::Method.new list_automations_config
      get_automation_run_config = parent_rpcs.get_automation_run if parent_rpcs.respond_to? :get_automation_run
      @get_automation_run = ::Gapic::Config::Method.new get_automation_run_config
      list_automation_runs_config = parent_rpcs.list_automation_runs if parent_rpcs.respond_to? :list_automation_runs
      @list_automation_runs = ::Gapic::Config::Method.new list_automation_runs_config
      cancel_automation_run_config = parent_rpcs.cancel_automation_run if parent_rpcs.respond_to? :cancel_automation_run
      @cancel_automation_run = ::Gapic::Config::Method.new cancel_automation_run_config

      yield self if block_given?
    end
  end
end

#lib_version::String

The library version as recorded in instrumentation and logging

Returns:

  • (::String)


4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
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
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/client.rb', line 4809

class Configuration
  extend ::Gapic::Config

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

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

  # @private
  # Overrides for http bindings for the RPCs of this service
  # are only used when this service is used as mixin, and only
  # by the host service.
  # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
  config_attr :bindings_override, {}, ::Hash, nil

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

    yield self if block_given?
  end

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

  ##
  # Configuration RPC class for the CloudDeploy API.
  #
  # Includes fields providing the configuration for each RPC in this service.
  # Each configuration object is of type `Gapic::Config::Method` and includes
  # the following configuration fields:
  #
  #  *  `timeout` (*type:* `Numeric`) - The call timeout in seconds
  #  *  `metadata` (*type:* `Hash{Symbol=>String}`) - Additional headers
  #  *  `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
  #     include the following keys:
  #      *  `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
  #      *  `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
  #      *  `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
  #      *  `:retry_codes` (*type:* `Array<String>`) - The error codes that should
  #         trigger a retry.
  #
  class Rpcs
    ##
    # RPC-specific configuration for `list_delivery_pipelines`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_delivery_pipelines
    ##
    # RPC-specific configuration for `get_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_delivery_pipeline
    ##
    # RPC-specific configuration for `create_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_delivery_pipeline
    ##
    # RPC-specific configuration for `update_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_delivery_pipeline
    ##
    # RPC-specific configuration for `delete_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_delivery_pipeline
    ##
    # RPC-specific configuration for `list_targets`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_targets
    ##
    # RPC-specific configuration for `rollback_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :rollback_target
    ##
    # RPC-specific configuration for `get_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_target
    ##
    # RPC-specific configuration for `create_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_target
    ##
    # RPC-specific configuration for `update_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_target
    ##
    # RPC-specific configuration for `delete_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_target
    ##
    # RPC-specific configuration for `list_custom_target_types`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_custom_target_types
    ##
    # RPC-specific configuration for `get_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_custom_target_type
    ##
    # RPC-specific configuration for `create_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_custom_target_type
    ##
    # RPC-specific configuration for `update_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_custom_target_type
    ##
    # RPC-specific configuration for `delete_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_custom_target_type
    ##
    # RPC-specific configuration for `list_releases`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_releases
    ##
    # RPC-specific configuration for `get_release`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_release
    ##
    # RPC-specific configuration for `create_release`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_release
    ##
    # RPC-specific configuration for `abandon_release`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :abandon_release
    ##
    # RPC-specific configuration for `create_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_deploy_policy
    ##
    # RPC-specific configuration for `update_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_deploy_policy
    ##
    # RPC-specific configuration for `delete_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_deploy_policy
    ##
    # RPC-specific configuration for `list_deploy_policies`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_deploy_policies
    ##
    # RPC-specific configuration for `get_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_deploy_policy
    ##
    # RPC-specific configuration for `approve_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :approve_rollout
    ##
    # RPC-specific configuration for `advance_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :advance_rollout
    ##
    # RPC-specific configuration for `cancel_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :cancel_rollout
    ##
    # RPC-specific configuration for `list_rollouts`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_rollouts
    ##
    # RPC-specific configuration for `get_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_rollout
    ##
    # RPC-specific configuration for `create_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_rollout
    ##
    # RPC-specific configuration for `ignore_job`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :ignore_job
    ##
    # RPC-specific configuration for `retry_job`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :retry_job
    ##
    # RPC-specific configuration for `list_job_runs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_job_runs
    ##
    # RPC-specific configuration for `get_job_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_job_run
    ##
    # RPC-specific configuration for `terminate_job_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :terminate_job_run
    ##
    # RPC-specific configuration for `get_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_config
    ##
    # RPC-specific configuration for `create_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_automation
    ##
    # RPC-specific configuration for `update_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_automation
    ##
    # RPC-specific configuration for `delete_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_automation
    ##
    # RPC-specific configuration for `get_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_automation
    ##
    # RPC-specific configuration for `list_automations`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_automations
    ##
    # RPC-specific configuration for `get_automation_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_automation_run
    ##
    # RPC-specific configuration for `list_automation_runs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_automation_runs
    ##
    # RPC-specific configuration for `cancel_automation_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :cancel_automation_run

    # @private
    def initialize parent_rpcs = nil
      list_delivery_pipelines_config = parent_rpcs.list_delivery_pipelines if parent_rpcs.respond_to? :list_delivery_pipelines
      @list_delivery_pipelines = ::Gapic::Config::Method.new list_delivery_pipelines_config
      get_delivery_pipeline_config = parent_rpcs.get_delivery_pipeline if parent_rpcs.respond_to? :get_delivery_pipeline
      @get_delivery_pipeline = ::Gapic::Config::Method.new get_delivery_pipeline_config
      create_delivery_pipeline_config = parent_rpcs.create_delivery_pipeline if parent_rpcs.respond_to? :create_delivery_pipeline
      @create_delivery_pipeline = ::Gapic::Config::Method.new create_delivery_pipeline_config
      update_delivery_pipeline_config = parent_rpcs.update_delivery_pipeline if parent_rpcs.respond_to? :update_delivery_pipeline
      @update_delivery_pipeline = ::Gapic::Config::Method.new update_delivery_pipeline_config
      delete_delivery_pipeline_config = parent_rpcs.delete_delivery_pipeline if parent_rpcs.respond_to? :delete_delivery_pipeline
      @delete_delivery_pipeline = ::Gapic::Config::Method.new delete_delivery_pipeline_config
      list_targets_config = parent_rpcs.list_targets if parent_rpcs.respond_to? :list_targets
      @list_targets = ::Gapic::Config::Method.new list_targets_config
      rollback_target_config = parent_rpcs.rollback_target if parent_rpcs.respond_to? :rollback_target
      @rollback_target = ::Gapic::Config::Method.new rollback_target_config
      get_target_config = parent_rpcs.get_target if parent_rpcs.respond_to? :get_target
      @get_target = ::Gapic::Config::Method.new get_target_config
      create_target_config = parent_rpcs.create_target if parent_rpcs.respond_to? :create_target
      @create_target = ::Gapic::Config::Method.new create_target_config
      update_target_config = parent_rpcs.update_target if parent_rpcs.respond_to? :update_target
      @update_target = ::Gapic::Config::Method.new update_target_config
      delete_target_config = parent_rpcs.delete_target if parent_rpcs.respond_to? :delete_target
      @delete_target = ::Gapic::Config::Method.new delete_target_config
      list_custom_target_types_config = parent_rpcs.list_custom_target_types if parent_rpcs.respond_to? :list_custom_target_types
      @list_custom_target_types = ::Gapic::Config::Method.new list_custom_target_types_config
      get_custom_target_type_config = parent_rpcs.get_custom_target_type if parent_rpcs.respond_to? :get_custom_target_type
      @get_custom_target_type = ::Gapic::Config::Method.new get_custom_target_type_config
      create_custom_target_type_config = parent_rpcs.create_custom_target_type if parent_rpcs.respond_to? :create_custom_target_type
      @create_custom_target_type = ::Gapic::Config::Method.new create_custom_target_type_config
      update_custom_target_type_config = parent_rpcs.update_custom_target_type if parent_rpcs.respond_to? :update_custom_target_type
      @update_custom_target_type = ::Gapic::Config::Method.new update_custom_target_type_config
      delete_custom_target_type_config = parent_rpcs.delete_custom_target_type if parent_rpcs.respond_to? :delete_custom_target_type
      @delete_custom_target_type = ::Gapic::Config::Method.new delete_custom_target_type_config
      list_releases_config = parent_rpcs.list_releases if parent_rpcs.respond_to? :list_releases
      @list_releases = ::Gapic::Config::Method.new list_releases_config
      get_release_config = parent_rpcs.get_release if parent_rpcs.respond_to? :get_release
      @get_release = ::Gapic::Config::Method.new get_release_config
      create_release_config = parent_rpcs.create_release if parent_rpcs.respond_to? :create_release
      @create_release = ::Gapic::Config::Method.new create_release_config
      abandon_release_config = parent_rpcs.abandon_release if parent_rpcs.respond_to? :abandon_release
      @abandon_release = ::Gapic::Config::Method.new abandon_release_config
      create_deploy_policy_config = parent_rpcs.create_deploy_policy if parent_rpcs.respond_to? :create_deploy_policy
      @create_deploy_policy = ::Gapic::Config::Method.new create_deploy_policy_config
      update_deploy_policy_config = parent_rpcs.update_deploy_policy if parent_rpcs.respond_to? :update_deploy_policy
      @update_deploy_policy = ::Gapic::Config::Method.new update_deploy_policy_config
      delete_deploy_policy_config = parent_rpcs.delete_deploy_policy if parent_rpcs.respond_to? :delete_deploy_policy
      @delete_deploy_policy = ::Gapic::Config::Method.new delete_deploy_policy_config
      list_deploy_policies_config = parent_rpcs.list_deploy_policies if parent_rpcs.respond_to? :list_deploy_policies
      @list_deploy_policies = ::Gapic::Config::Method.new list_deploy_policies_config
      get_deploy_policy_config = parent_rpcs.get_deploy_policy if parent_rpcs.respond_to? :get_deploy_policy
      @get_deploy_policy = ::Gapic::Config::Method.new get_deploy_policy_config
      approve_rollout_config = parent_rpcs.approve_rollout if parent_rpcs.respond_to? :approve_rollout
      @approve_rollout = ::Gapic::Config::Method.new approve_rollout_config
      advance_rollout_config = parent_rpcs.advance_rollout if parent_rpcs.respond_to? :advance_rollout
      @advance_rollout = ::Gapic::Config::Method.new advance_rollout_config
      cancel_rollout_config = parent_rpcs.cancel_rollout if parent_rpcs.respond_to? :cancel_rollout
      @cancel_rollout = ::Gapic::Config::Method.new cancel_rollout_config
      list_rollouts_config = parent_rpcs.list_rollouts if parent_rpcs.respond_to? :list_rollouts
      @list_rollouts = ::Gapic::Config::Method.new list_rollouts_config
      get_rollout_config = parent_rpcs.get_rollout if parent_rpcs.respond_to? :get_rollout
      @get_rollout = ::Gapic::Config::Method.new get_rollout_config
      create_rollout_config = parent_rpcs.create_rollout if parent_rpcs.respond_to? :create_rollout
      @create_rollout = ::Gapic::Config::Method.new create_rollout_config
      ignore_job_config = parent_rpcs.ignore_job if parent_rpcs.respond_to? :ignore_job
      @ignore_job = ::Gapic::Config::Method.new ignore_job_config
      retry_job_config = parent_rpcs.retry_job if parent_rpcs.respond_to? :retry_job
      @retry_job = ::Gapic::Config::Method.new retry_job_config
      list_job_runs_config = parent_rpcs.list_job_runs if parent_rpcs.respond_to? :list_job_runs
      @list_job_runs = ::Gapic::Config::Method.new list_job_runs_config
      get_job_run_config = parent_rpcs.get_job_run if parent_rpcs.respond_to? :get_job_run
      @get_job_run = ::Gapic::Config::Method.new get_job_run_config
      terminate_job_run_config = parent_rpcs.terminate_job_run if parent_rpcs.respond_to? :terminate_job_run
      @terminate_job_run = ::Gapic::Config::Method.new terminate_job_run_config
      get_config_config = parent_rpcs.get_config if parent_rpcs.respond_to? :get_config
      @get_config = ::Gapic::Config::Method.new get_config_config
      create_automation_config = parent_rpcs.create_automation if parent_rpcs.respond_to? :create_automation
      @create_automation = ::Gapic::Config::Method.new create_automation_config
      update_automation_config = parent_rpcs.update_automation if parent_rpcs.respond_to? :update_automation
      @update_automation = ::Gapic::Config::Method.new update_automation_config
      delete_automation_config = parent_rpcs.delete_automation if parent_rpcs.respond_to? :delete_automation
      @delete_automation = ::Gapic::Config::Method.new delete_automation_config
      get_automation_config = parent_rpcs.get_automation if parent_rpcs.respond_to? :get_automation
      @get_automation = ::Gapic::Config::Method.new get_automation_config
      list_automations_config = parent_rpcs.list_automations if parent_rpcs.respond_to? :list_automations
      @list_automations = ::Gapic::Config::Method.new list_automations_config
      get_automation_run_config = parent_rpcs.get_automation_run if parent_rpcs.respond_to? :get_automation_run
      @get_automation_run = ::Gapic::Config::Method.new get_automation_run_config
      list_automation_runs_config = parent_rpcs.list_automation_runs if parent_rpcs.respond_to? :list_automation_runs
      @list_automation_runs = ::Gapic::Config::Method.new list_automation_runs_config
      cancel_automation_run_config = parent_rpcs.cancel_automation_run if parent_rpcs.respond_to? :cancel_automation_run
      @cancel_automation_run = ::Gapic::Config::Method.new cancel_automation_run_config

      yield self if block_given?
    end
  end
end

#metadata::Hash{::Symbol=>::String}

Additional headers to be sent with the call.

Returns:

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


4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
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
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/client.rb', line 4809

class Configuration
  extend ::Gapic::Config

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

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

  # @private
  # Overrides for http bindings for the RPCs of this service
  # are only used when this service is used as mixin, and only
  # by the host service.
  # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
  config_attr :bindings_override, {}, ::Hash, nil

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

    yield self if block_given?
  end

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

  ##
  # Configuration RPC class for the CloudDeploy API.
  #
  # Includes fields providing the configuration for each RPC in this service.
  # Each configuration object is of type `Gapic::Config::Method` and includes
  # the following configuration fields:
  #
  #  *  `timeout` (*type:* `Numeric`) - The call timeout in seconds
  #  *  `metadata` (*type:* `Hash{Symbol=>String}`) - Additional headers
  #  *  `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
  #     include the following keys:
  #      *  `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
  #      *  `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
  #      *  `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
  #      *  `:retry_codes` (*type:* `Array<String>`) - The error codes that should
  #         trigger a retry.
  #
  class Rpcs
    ##
    # RPC-specific configuration for `list_delivery_pipelines`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_delivery_pipelines
    ##
    # RPC-specific configuration for `get_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_delivery_pipeline
    ##
    # RPC-specific configuration for `create_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_delivery_pipeline
    ##
    # RPC-specific configuration for `update_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_delivery_pipeline
    ##
    # RPC-specific configuration for `delete_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_delivery_pipeline
    ##
    # RPC-specific configuration for `list_targets`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_targets
    ##
    # RPC-specific configuration for `rollback_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :rollback_target
    ##
    # RPC-specific configuration for `get_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_target
    ##
    # RPC-specific configuration for `create_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_target
    ##
    # RPC-specific configuration for `update_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_target
    ##
    # RPC-specific configuration for `delete_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_target
    ##
    # RPC-specific configuration for `list_custom_target_types`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_custom_target_types
    ##
    # RPC-specific configuration for `get_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_custom_target_type
    ##
    # RPC-specific configuration for `create_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_custom_target_type
    ##
    # RPC-specific configuration for `update_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_custom_target_type
    ##
    # RPC-specific configuration for `delete_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_custom_target_type
    ##
    # RPC-specific configuration for `list_releases`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_releases
    ##
    # RPC-specific configuration for `get_release`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_release
    ##
    # RPC-specific configuration for `create_release`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_release
    ##
    # RPC-specific configuration for `abandon_release`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :abandon_release
    ##
    # RPC-specific configuration for `create_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_deploy_policy
    ##
    # RPC-specific configuration for `update_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_deploy_policy
    ##
    # RPC-specific configuration for `delete_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_deploy_policy
    ##
    # RPC-specific configuration for `list_deploy_policies`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_deploy_policies
    ##
    # RPC-specific configuration for `get_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_deploy_policy
    ##
    # RPC-specific configuration for `approve_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :approve_rollout
    ##
    # RPC-specific configuration for `advance_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :advance_rollout
    ##
    # RPC-specific configuration for `cancel_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :cancel_rollout
    ##
    # RPC-specific configuration for `list_rollouts`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_rollouts
    ##
    # RPC-specific configuration for `get_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_rollout
    ##
    # RPC-specific configuration for `create_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_rollout
    ##
    # RPC-specific configuration for `ignore_job`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :ignore_job
    ##
    # RPC-specific configuration for `retry_job`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :retry_job
    ##
    # RPC-specific configuration for `list_job_runs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_job_runs
    ##
    # RPC-specific configuration for `get_job_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_job_run
    ##
    # RPC-specific configuration for `terminate_job_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :terminate_job_run
    ##
    # RPC-specific configuration for `get_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_config
    ##
    # RPC-specific configuration for `create_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_automation
    ##
    # RPC-specific configuration for `update_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_automation
    ##
    # RPC-specific configuration for `delete_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_automation
    ##
    # RPC-specific configuration for `get_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_automation
    ##
    # RPC-specific configuration for `list_automations`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_automations
    ##
    # RPC-specific configuration for `get_automation_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_automation_run
    ##
    # RPC-specific configuration for `list_automation_runs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_automation_runs
    ##
    # RPC-specific configuration for `cancel_automation_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :cancel_automation_run

    # @private
    def initialize parent_rpcs = nil
      list_delivery_pipelines_config = parent_rpcs.list_delivery_pipelines if parent_rpcs.respond_to? :list_delivery_pipelines
      @list_delivery_pipelines = ::Gapic::Config::Method.new list_delivery_pipelines_config
      get_delivery_pipeline_config = parent_rpcs.get_delivery_pipeline if parent_rpcs.respond_to? :get_delivery_pipeline
      @get_delivery_pipeline = ::Gapic::Config::Method.new get_delivery_pipeline_config
      create_delivery_pipeline_config = parent_rpcs.create_delivery_pipeline if parent_rpcs.respond_to? :create_delivery_pipeline
      @create_delivery_pipeline = ::Gapic::Config::Method.new create_delivery_pipeline_config
      update_delivery_pipeline_config = parent_rpcs.update_delivery_pipeline if parent_rpcs.respond_to? :update_delivery_pipeline
      @update_delivery_pipeline = ::Gapic::Config::Method.new update_delivery_pipeline_config
      delete_delivery_pipeline_config = parent_rpcs.delete_delivery_pipeline if parent_rpcs.respond_to? :delete_delivery_pipeline
      @delete_delivery_pipeline = ::Gapic::Config::Method.new delete_delivery_pipeline_config
      list_targets_config = parent_rpcs.list_targets if parent_rpcs.respond_to? :list_targets
      @list_targets = ::Gapic::Config::Method.new list_targets_config
      rollback_target_config = parent_rpcs.rollback_target if parent_rpcs.respond_to? :rollback_target
      @rollback_target = ::Gapic::Config::Method.new rollback_target_config
      get_target_config = parent_rpcs.get_target if parent_rpcs.respond_to? :get_target
      @get_target = ::Gapic::Config::Method.new get_target_config
      create_target_config = parent_rpcs.create_target if parent_rpcs.respond_to? :create_target
      @create_target = ::Gapic::Config::Method.new create_target_config
      update_target_config = parent_rpcs.update_target if parent_rpcs.respond_to? :update_target
      @update_target = ::Gapic::Config::Method.new update_target_config
      delete_target_config = parent_rpcs.delete_target if parent_rpcs.respond_to? :delete_target
      @delete_target = ::Gapic::Config::Method.new delete_target_config
      list_custom_target_types_config = parent_rpcs.list_custom_target_types if parent_rpcs.respond_to? :list_custom_target_types
      @list_custom_target_types = ::Gapic::Config::Method.new list_custom_target_types_config
      get_custom_target_type_config = parent_rpcs.get_custom_target_type if parent_rpcs.respond_to? :get_custom_target_type
      @get_custom_target_type = ::Gapic::Config::Method.new get_custom_target_type_config
      create_custom_target_type_config = parent_rpcs.create_custom_target_type if parent_rpcs.respond_to? :create_custom_target_type
      @create_custom_target_type = ::Gapic::Config::Method.new create_custom_target_type_config
      update_custom_target_type_config = parent_rpcs.update_custom_target_type if parent_rpcs.respond_to? :update_custom_target_type
      @update_custom_target_type = ::Gapic::Config::Method.new update_custom_target_type_config
      delete_custom_target_type_config = parent_rpcs.delete_custom_target_type if parent_rpcs.respond_to? :delete_custom_target_type
      @delete_custom_target_type = ::Gapic::Config::Method.new delete_custom_target_type_config
      list_releases_config = parent_rpcs.list_releases if parent_rpcs.respond_to? :list_releases
      @list_releases = ::Gapic::Config::Method.new list_releases_config
      get_release_config = parent_rpcs.get_release if parent_rpcs.respond_to? :get_release
      @get_release = ::Gapic::Config::Method.new get_release_config
      create_release_config = parent_rpcs.create_release if parent_rpcs.respond_to? :create_release
      @create_release = ::Gapic::Config::Method.new create_release_config
      abandon_release_config = parent_rpcs.abandon_release if parent_rpcs.respond_to? :abandon_release
      @abandon_release = ::Gapic::Config::Method.new abandon_release_config
      create_deploy_policy_config = parent_rpcs.create_deploy_policy if parent_rpcs.respond_to? :create_deploy_policy
      @create_deploy_policy = ::Gapic::Config::Method.new create_deploy_policy_config
      update_deploy_policy_config = parent_rpcs.update_deploy_policy if parent_rpcs.respond_to? :update_deploy_policy
      @update_deploy_policy = ::Gapic::Config::Method.new update_deploy_policy_config
      delete_deploy_policy_config = parent_rpcs.delete_deploy_policy if parent_rpcs.respond_to? :delete_deploy_policy
      @delete_deploy_policy = ::Gapic::Config::Method.new delete_deploy_policy_config
      list_deploy_policies_config = parent_rpcs.list_deploy_policies if parent_rpcs.respond_to? :list_deploy_policies
      @list_deploy_policies = ::Gapic::Config::Method.new list_deploy_policies_config
      get_deploy_policy_config = parent_rpcs.get_deploy_policy if parent_rpcs.respond_to? :get_deploy_policy
      @get_deploy_policy = ::Gapic::Config::Method.new get_deploy_policy_config
      approve_rollout_config = parent_rpcs.approve_rollout if parent_rpcs.respond_to? :approve_rollout
      @approve_rollout = ::Gapic::Config::Method.new approve_rollout_config
      advance_rollout_config = parent_rpcs.advance_rollout if parent_rpcs.respond_to? :advance_rollout
      @advance_rollout = ::Gapic::Config::Method.new advance_rollout_config
      cancel_rollout_config = parent_rpcs.cancel_rollout if parent_rpcs.respond_to? :cancel_rollout
      @cancel_rollout = ::Gapic::Config::Method.new cancel_rollout_config
      list_rollouts_config = parent_rpcs.list_rollouts if parent_rpcs.respond_to? :list_rollouts
      @list_rollouts = ::Gapic::Config::Method.new list_rollouts_config
      get_rollout_config = parent_rpcs.get_rollout if parent_rpcs.respond_to? :get_rollout
      @get_rollout = ::Gapic::Config::Method.new get_rollout_config
      create_rollout_config = parent_rpcs.create_rollout if parent_rpcs.respond_to? :create_rollout
      @create_rollout = ::Gapic::Config::Method.new create_rollout_config
      ignore_job_config = parent_rpcs.ignore_job if parent_rpcs.respond_to? :ignore_job
      @ignore_job = ::Gapic::Config::Method.new ignore_job_config
      retry_job_config = parent_rpcs.retry_job if parent_rpcs.respond_to? :retry_job
      @retry_job = ::Gapic::Config::Method.new retry_job_config
      list_job_runs_config = parent_rpcs.list_job_runs if parent_rpcs.respond_to? :list_job_runs
      @list_job_runs = ::Gapic::Config::Method.new list_job_runs_config
      get_job_run_config = parent_rpcs.get_job_run if parent_rpcs.respond_to? :get_job_run
      @get_job_run = ::Gapic::Config::Method.new get_job_run_config
      terminate_job_run_config = parent_rpcs.terminate_job_run if parent_rpcs.respond_to? :terminate_job_run
      @terminate_job_run = ::Gapic::Config::Method.new terminate_job_run_config
      get_config_config = parent_rpcs.get_config if parent_rpcs.respond_to? :get_config
      @get_config = ::Gapic::Config::Method.new get_config_config
      create_automation_config = parent_rpcs.create_automation if parent_rpcs.respond_to? :create_automation
      @create_automation = ::Gapic::Config::Method.new create_automation_config
      update_automation_config = parent_rpcs.update_automation if parent_rpcs.respond_to? :update_automation
      @update_automation = ::Gapic::Config::Method.new update_automation_config
      delete_automation_config = parent_rpcs.delete_automation if parent_rpcs.respond_to? :delete_automation
      @delete_automation = ::Gapic::Config::Method.new delete_automation_config
      get_automation_config = parent_rpcs.get_automation if parent_rpcs.respond_to? :get_automation
      @get_automation = ::Gapic::Config::Method.new get_automation_config
      list_automations_config = parent_rpcs.list_automations if parent_rpcs.respond_to? :list_automations
      @list_automations = ::Gapic::Config::Method.new list_automations_config
      get_automation_run_config = parent_rpcs.get_automation_run if parent_rpcs.respond_to? :get_automation_run
      @get_automation_run = ::Gapic::Config::Method.new get_automation_run_config
      list_automation_runs_config = parent_rpcs.list_automation_runs if parent_rpcs.respond_to? :list_automation_runs
      @list_automation_runs = ::Gapic::Config::Method.new list_automation_runs_config
      cancel_automation_run_config = parent_rpcs.cancel_automation_run if parent_rpcs.respond_to? :cancel_automation_run
      @cancel_automation_run = ::Gapic::Config::Method.new cancel_automation_run_config

      yield self if block_given?
    end
  end
end

#quota_project::String

A separate project against which to charge quota.

Returns:

  • (::String)


4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
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
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/client.rb', line 4809

class Configuration
  extend ::Gapic::Config

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

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

  # @private
  # Overrides for http bindings for the RPCs of this service
  # are only used when this service is used as mixin, and only
  # by the host service.
  # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
  config_attr :bindings_override, {}, ::Hash, nil

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

    yield self if block_given?
  end

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

  ##
  # Configuration RPC class for the CloudDeploy API.
  #
  # Includes fields providing the configuration for each RPC in this service.
  # Each configuration object is of type `Gapic::Config::Method` and includes
  # the following configuration fields:
  #
  #  *  `timeout` (*type:* `Numeric`) - The call timeout in seconds
  #  *  `metadata` (*type:* `Hash{Symbol=>String}`) - Additional headers
  #  *  `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
  #     include the following keys:
  #      *  `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
  #      *  `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
  #      *  `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
  #      *  `:retry_codes` (*type:* `Array<String>`) - The error codes that should
  #         trigger a retry.
  #
  class Rpcs
    ##
    # RPC-specific configuration for `list_delivery_pipelines`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_delivery_pipelines
    ##
    # RPC-specific configuration for `get_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_delivery_pipeline
    ##
    # RPC-specific configuration for `create_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_delivery_pipeline
    ##
    # RPC-specific configuration for `update_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_delivery_pipeline
    ##
    # RPC-specific configuration for `delete_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_delivery_pipeline
    ##
    # RPC-specific configuration for `list_targets`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_targets
    ##
    # RPC-specific configuration for `rollback_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :rollback_target
    ##
    # RPC-specific configuration for `get_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_target
    ##
    # RPC-specific configuration for `create_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_target
    ##
    # RPC-specific configuration for `update_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_target
    ##
    # RPC-specific configuration for `delete_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_target
    ##
    # RPC-specific configuration for `list_custom_target_types`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_custom_target_types
    ##
    # RPC-specific configuration for `get_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_custom_target_type
    ##
    # RPC-specific configuration for `create_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_custom_target_type
    ##
    # RPC-specific configuration for `update_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_custom_target_type
    ##
    # RPC-specific configuration for `delete_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_custom_target_type
    ##
    # RPC-specific configuration for `list_releases`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_releases
    ##
    # RPC-specific configuration for `get_release`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_release
    ##
    # RPC-specific configuration for `create_release`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_release
    ##
    # RPC-specific configuration for `abandon_release`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :abandon_release
    ##
    # RPC-specific configuration for `create_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_deploy_policy
    ##
    # RPC-specific configuration for `update_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_deploy_policy
    ##
    # RPC-specific configuration for `delete_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_deploy_policy
    ##
    # RPC-specific configuration for `list_deploy_policies`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_deploy_policies
    ##
    # RPC-specific configuration for `get_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_deploy_policy
    ##
    # RPC-specific configuration for `approve_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :approve_rollout
    ##
    # RPC-specific configuration for `advance_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :advance_rollout
    ##
    # RPC-specific configuration for `cancel_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :cancel_rollout
    ##
    # RPC-specific configuration for `list_rollouts`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_rollouts
    ##
    # RPC-specific configuration for `get_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_rollout
    ##
    # RPC-specific configuration for `create_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_rollout
    ##
    # RPC-specific configuration for `ignore_job`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :ignore_job
    ##
    # RPC-specific configuration for `retry_job`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :retry_job
    ##
    # RPC-specific configuration for `list_job_runs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_job_runs
    ##
    # RPC-specific configuration for `get_job_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_job_run
    ##
    # RPC-specific configuration for `terminate_job_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :terminate_job_run
    ##
    # RPC-specific configuration for `get_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_config
    ##
    # RPC-specific configuration for `create_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_automation
    ##
    # RPC-specific configuration for `update_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_automation
    ##
    # RPC-specific configuration for `delete_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_automation
    ##
    # RPC-specific configuration for `get_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_automation
    ##
    # RPC-specific configuration for `list_automations`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_automations
    ##
    # RPC-specific configuration for `get_automation_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_automation_run
    ##
    # RPC-specific configuration for `list_automation_runs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_automation_runs
    ##
    # RPC-specific configuration for `cancel_automation_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :cancel_automation_run

    # @private
    def initialize parent_rpcs = nil
      list_delivery_pipelines_config = parent_rpcs.list_delivery_pipelines if parent_rpcs.respond_to? :list_delivery_pipelines
      @list_delivery_pipelines = ::Gapic::Config::Method.new list_delivery_pipelines_config
      get_delivery_pipeline_config = parent_rpcs.get_delivery_pipeline if parent_rpcs.respond_to? :get_delivery_pipeline
      @get_delivery_pipeline = ::Gapic::Config::Method.new get_delivery_pipeline_config
      create_delivery_pipeline_config = parent_rpcs.create_delivery_pipeline if parent_rpcs.respond_to? :create_delivery_pipeline
      @create_delivery_pipeline = ::Gapic::Config::Method.new create_delivery_pipeline_config
      update_delivery_pipeline_config = parent_rpcs.update_delivery_pipeline if parent_rpcs.respond_to? :update_delivery_pipeline
      @update_delivery_pipeline = ::Gapic::Config::Method.new update_delivery_pipeline_config
      delete_delivery_pipeline_config = parent_rpcs.delete_delivery_pipeline if parent_rpcs.respond_to? :delete_delivery_pipeline
      @delete_delivery_pipeline = ::Gapic::Config::Method.new delete_delivery_pipeline_config
      list_targets_config = parent_rpcs.list_targets if parent_rpcs.respond_to? :list_targets
      @list_targets = ::Gapic::Config::Method.new list_targets_config
      rollback_target_config = parent_rpcs.rollback_target if parent_rpcs.respond_to? :rollback_target
      @rollback_target = ::Gapic::Config::Method.new rollback_target_config
      get_target_config = parent_rpcs.get_target if parent_rpcs.respond_to? :get_target
      @get_target = ::Gapic::Config::Method.new get_target_config
      create_target_config = parent_rpcs.create_target if parent_rpcs.respond_to? :create_target
      @create_target = ::Gapic::Config::Method.new create_target_config
      update_target_config = parent_rpcs.update_target if parent_rpcs.respond_to? :update_target
      @update_target = ::Gapic::Config::Method.new update_target_config
      delete_target_config = parent_rpcs.delete_target if parent_rpcs.respond_to? :delete_target
      @delete_target = ::Gapic::Config::Method.new delete_target_config
      list_custom_target_types_config = parent_rpcs.list_custom_target_types if parent_rpcs.respond_to? :list_custom_target_types
      @list_custom_target_types = ::Gapic::Config::Method.new list_custom_target_types_config
      get_custom_target_type_config = parent_rpcs.get_custom_target_type if parent_rpcs.respond_to? :get_custom_target_type
      @get_custom_target_type = ::Gapic::Config::Method.new get_custom_target_type_config
      create_custom_target_type_config = parent_rpcs.create_custom_target_type if parent_rpcs.respond_to? :create_custom_target_type
      @create_custom_target_type = ::Gapic::Config::Method.new create_custom_target_type_config
      update_custom_target_type_config = parent_rpcs.update_custom_target_type if parent_rpcs.respond_to? :update_custom_target_type
      @update_custom_target_type = ::Gapic::Config::Method.new update_custom_target_type_config
      delete_custom_target_type_config = parent_rpcs.delete_custom_target_type if parent_rpcs.respond_to? :delete_custom_target_type
      @delete_custom_target_type = ::Gapic::Config::Method.new delete_custom_target_type_config
      list_releases_config = parent_rpcs.list_releases if parent_rpcs.respond_to? :list_releases
      @list_releases = ::Gapic::Config::Method.new list_releases_config
      get_release_config = parent_rpcs.get_release if parent_rpcs.respond_to? :get_release
      @get_release = ::Gapic::Config::Method.new get_release_config
      create_release_config = parent_rpcs.create_release if parent_rpcs.respond_to? :create_release
      @create_release = ::Gapic::Config::Method.new create_release_config
      abandon_release_config = parent_rpcs.abandon_release if parent_rpcs.respond_to? :abandon_release
      @abandon_release = ::Gapic::Config::Method.new abandon_release_config
      create_deploy_policy_config = parent_rpcs.create_deploy_policy if parent_rpcs.respond_to? :create_deploy_policy
      @create_deploy_policy = ::Gapic::Config::Method.new create_deploy_policy_config
      update_deploy_policy_config = parent_rpcs.update_deploy_policy if parent_rpcs.respond_to? :update_deploy_policy
      @update_deploy_policy = ::Gapic::Config::Method.new update_deploy_policy_config
      delete_deploy_policy_config = parent_rpcs.delete_deploy_policy if parent_rpcs.respond_to? :delete_deploy_policy
      @delete_deploy_policy = ::Gapic::Config::Method.new delete_deploy_policy_config
      list_deploy_policies_config = parent_rpcs.list_deploy_policies if parent_rpcs.respond_to? :list_deploy_policies
      @list_deploy_policies = ::Gapic::Config::Method.new list_deploy_policies_config
      get_deploy_policy_config = parent_rpcs.get_deploy_policy if parent_rpcs.respond_to? :get_deploy_policy
      @get_deploy_policy = ::Gapic::Config::Method.new get_deploy_policy_config
      approve_rollout_config = parent_rpcs.approve_rollout if parent_rpcs.respond_to? :approve_rollout
      @approve_rollout = ::Gapic::Config::Method.new approve_rollout_config
      advance_rollout_config = parent_rpcs.advance_rollout if parent_rpcs.respond_to? :advance_rollout
      @advance_rollout = ::Gapic::Config::Method.new advance_rollout_config
      cancel_rollout_config = parent_rpcs.cancel_rollout if parent_rpcs.respond_to? :cancel_rollout
      @cancel_rollout = ::Gapic::Config::Method.new cancel_rollout_config
      list_rollouts_config = parent_rpcs.list_rollouts if parent_rpcs.respond_to? :list_rollouts
      @list_rollouts = ::Gapic::Config::Method.new list_rollouts_config
      get_rollout_config = parent_rpcs.get_rollout if parent_rpcs.respond_to? :get_rollout
      @get_rollout = ::Gapic::Config::Method.new get_rollout_config
      create_rollout_config = parent_rpcs.create_rollout if parent_rpcs.respond_to? :create_rollout
      @create_rollout = ::Gapic::Config::Method.new create_rollout_config
      ignore_job_config = parent_rpcs.ignore_job if parent_rpcs.respond_to? :ignore_job
      @ignore_job = ::Gapic::Config::Method.new ignore_job_config
      retry_job_config = parent_rpcs.retry_job if parent_rpcs.respond_to? :retry_job
      @retry_job = ::Gapic::Config::Method.new retry_job_config
      list_job_runs_config = parent_rpcs.list_job_runs if parent_rpcs.respond_to? :list_job_runs
      @list_job_runs = ::Gapic::Config::Method.new list_job_runs_config
      get_job_run_config = parent_rpcs.get_job_run if parent_rpcs.respond_to? :get_job_run
      @get_job_run = ::Gapic::Config::Method.new get_job_run_config
      terminate_job_run_config = parent_rpcs.terminate_job_run if parent_rpcs.respond_to? :terminate_job_run
      @terminate_job_run = ::Gapic::Config::Method.new terminate_job_run_config
      get_config_config = parent_rpcs.get_config if parent_rpcs.respond_to? :get_config
      @get_config = ::Gapic::Config::Method.new get_config_config
      create_automation_config = parent_rpcs.create_automation if parent_rpcs.respond_to? :create_automation
      @create_automation = ::Gapic::Config::Method.new create_automation_config
      update_automation_config = parent_rpcs.update_automation if parent_rpcs.respond_to? :update_automation
      @update_automation = ::Gapic::Config::Method.new update_automation_config
      delete_automation_config = parent_rpcs.delete_automation if parent_rpcs.respond_to? :delete_automation
      @delete_automation = ::Gapic::Config::Method.new delete_automation_config
      get_automation_config = parent_rpcs.get_automation if parent_rpcs.respond_to? :get_automation
      @get_automation = ::Gapic::Config::Method.new get_automation_config
      list_automations_config = parent_rpcs.list_automations if parent_rpcs.respond_to? :list_automations
      @list_automations = ::Gapic::Config::Method.new list_automations_config
      get_automation_run_config = parent_rpcs.get_automation_run if parent_rpcs.respond_to? :get_automation_run
      @get_automation_run = ::Gapic::Config::Method.new get_automation_run_config
      list_automation_runs_config = parent_rpcs.list_automation_runs if parent_rpcs.respond_to? :list_automation_runs
      @list_automation_runs = ::Gapic::Config::Method.new list_automation_runs_config
      cancel_automation_run_config = parent_rpcs.cancel_automation_run if parent_rpcs.respond_to? :cancel_automation_run
      @cancel_automation_run = ::Gapic::Config::Method.new cancel_automation_run_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)


4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
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
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/client.rb', line 4809

class Configuration
  extend ::Gapic::Config

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

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

  # @private
  # Overrides for http bindings for the RPCs of this service
  # are only used when this service is used as mixin, and only
  # by the host service.
  # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
  config_attr :bindings_override, {}, ::Hash, nil

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

    yield self if block_given?
  end

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

  ##
  # Configuration RPC class for the CloudDeploy API.
  #
  # Includes fields providing the configuration for each RPC in this service.
  # Each configuration object is of type `Gapic::Config::Method` and includes
  # the following configuration fields:
  #
  #  *  `timeout` (*type:* `Numeric`) - The call timeout in seconds
  #  *  `metadata` (*type:* `Hash{Symbol=>String}`) - Additional headers
  #  *  `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
  #     include the following keys:
  #      *  `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
  #      *  `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
  #      *  `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
  #      *  `:retry_codes` (*type:* `Array<String>`) - The error codes that should
  #         trigger a retry.
  #
  class Rpcs
    ##
    # RPC-specific configuration for `list_delivery_pipelines`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_delivery_pipelines
    ##
    # RPC-specific configuration for `get_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_delivery_pipeline
    ##
    # RPC-specific configuration for `create_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_delivery_pipeline
    ##
    # RPC-specific configuration for `update_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_delivery_pipeline
    ##
    # RPC-specific configuration for `delete_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_delivery_pipeline
    ##
    # RPC-specific configuration for `list_targets`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_targets
    ##
    # RPC-specific configuration for `rollback_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :rollback_target
    ##
    # RPC-specific configuration for `get_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_target
    ##
    # RPC-specific configuration for `create_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_target
    ##
    # RPC-specific configuration for `update_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_target
    ##
    # RPC-specific configuration for `delete_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_target
    ##
    # RPC-specific configuration for `list_custom_target_types`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_custom_target_types
    ##
    # RPC-specific configuration for `get_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_custom_target_type
    ##
    # RPC-specific configuration for `create_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_custom_target_type
    ##
    # RPC-specific configuration for `update_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_custom_target_type
    ##
    # RPC-specific configuration for `delete_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_custom_target_type
    ##
    # RPC-specific configuration for `list_releases`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_releases
    ##
    # RPC-specific configuration for `get_release`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_release
    ##
    # RPC-specific configuration for `create_release`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_release
    ##
    # RPC-specific configuration for `abandon_release`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :abandon_release
    ##
    # RPC-specific configuration for `create_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_deploy_policy
    ##
    # RPC-specific configuration for `update_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_deploy_policy
    ##
    # RPC-specific configuration for `delete_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_deploy_policy
    ##
    # RPC-specific configuration for `list_deploy_policies`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_deploy_policies
    ##
    # RPC-specific configuration for `get_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_deploy_policy
    ##
    # RPC-specific configuration for `approve_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :approve_rollout
    ##
    # RPC-specific configuration for `advance_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :advance_rollout
    ##
    # RPC-specific configuration for `cancel_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :cancel_rollout
    ##
    # RPC-specific configuration for `list_rollouts`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_rollouts
    ##
    # RPC-specific configuration for `get_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_rollout
    ##
    # RPC-specific configuration for `create_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_rollout
    ##
    # RPC-specific configuration for `ignore_job`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :ignore_job
    ##
    # RPC-specific configuration for `retry_job`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :retry_job
    ##
    # RPC-specific configuration for `list_job_runs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_job_runs
    ##
    # RPC-specific configuration for `get_job_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_job_run
    ##
    # RPC-specific configuration for `terminate_job_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :terminate_job_run
    ##
    # RPC-specific configuration for `get_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_config
    ##
    # RPC-specific configuration for `create_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_automation
    ##
    # RPC-specific configuration for `update_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_automation
    ##
    # RPC-specific configuration for `delete_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_automation
    ##
    # RPC-specific configuration for `get_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_automation
    ##
    # RPC-specific configuration for `list_automations`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_automations
    ##
    # RPC-specific configuration for `get_automation_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_automation_run
    ##
    # RPC-specific configuration for `list_automation_runs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_automation_runs
    ##
    # RPC-specific configuration for `cancel_automation_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :cancel_automation_run

    # @private
    def initialize parent_rpcs = nil
      list_delivery_pipelines_config = parent_rpcs.list_delivery_pipelines if parent_rpcs.respond_to? :list_delivery_pipelines
      @list_delivery_pipelines = ::Gapic::Config::Method.new list_delivery_pipelines_config
      get_delivery_pipeline_config = parent_rpcs.get_delivery_pipeline if parent_rpcs.respond_to? :get_delivery_pipeline
      @get_delivery_pipeline = ::Gapic::Config::Method.new get_delivery_pipeline_config
      create_delivery_pipeline_config = parent_rpcs.create_delivery_pipeline if parent_rpcs.respond_to? :create_delivery_pipeline
      @create_delivery_pipeline = ::Gapic::Config::Method.new create_delivery_pipeline_config
      update_delivery_pipeline_config = parent_rpcs.update_delivery_pipeline if parent_rpcs.respond_to? :update_delivery_pipeline
      @update_delivery_pipeline = ::Gapic::Config::Method.new update_delivery_pipeline_config
      delete_delivery_pipeline_config = parent_rpcs.delete_delivery_pipeline if parent_rpcs.respond_to? :delete_delivery_pipeline
      @delete_delivery_pipeline = ::Gapic::Config::Method.new delete_delivery_pipeline_config
      list_targets_config = parent_rpcs.list_targets if parent_rpcs.respond_to? :list_targets
      @list_targets = ::Gapic::Config::Method.new list_targets_config
      rollback_target_config = parent_rpcs.rollback_target if parent_rpcs.respond_to? :rollback_target
      @rollback_target = ::Gapic::Config::Method.new rollback_target_config
      get_target_config = parent_rpcs.get_target if parent_rpcs.respond_to? :get_target
      @get_target = ::Gapic::Config::Method.new get_target_config
      create_target_config = parent_rpcs.create_target if parent_rpcs.respond_to? :create_target
      @create_target = ::Gapic::Config::Method.new create_target_config
      update_target_config = parent_rpcs.update_target if parent_rpcs.respond_to? :update_target
      @update_target = ::Gapic::Config::Method.new update_target_config
      delete_target_config = parent_rpcs.delete_target if parent_rpcs.respond_to? :delete_target
      @delete_target = ::Gapic::Config::Method.new delete_target_config
      list_custom_target_types_config = parent_rpcs.list_custom_target_types if parent_rpcs.respond_to? :list_custom_target_types
      @list_custom_target_types = ::Gapic::Config::Method.new list_custom_target_types_config
      get_custom_target_type_config = parent_rpcs.get_custom_target_type if parent_rpcs.respond_to? :get_custom_target_type
      @get_custom_target_type = ::Gapic::Config::Method.new get_custom_target_type_config
      create_custom_target_type_config = parent_rpcs.create_custom_target_type if parent_rpcs.respond_to? :create_custom_target_type
      @create_custom_target_type = ::Gapic::Config::Method.new create_custom_target_type_config
      update_custom_target_type_config = parent_rpcs.update_custom_target_type if parent_rpcs.respond_to? :update_custom_target_type
      @update_custom_target_type = ::Gapic::Config::Method.new update_custom_target_type_config
      delete_custom_target_type_config = parent_rpcs.delete_custom_target_type if parent_rpcs.respond_to? :delete_custom_target_type
      @delete_custom_target_type = ::Gapic::Config::Method.new delete_custom_target_type_config
      list_releases_config = parent_rpcs.list_releases if parent_rpcs.respond_to? :list_releases
      @list_releases = ::Gapic::Config::Method.new list_releases_config
      get_release_config = parent_rpcs.get_release if parent_rpcs.respond_to? :get_release
      @get_release = ::Gapic::Config::Method.new get_release_config
      create_release_config = parent_rpcs.create_release if parent_rpcs.respond_to? :create_release
      @create_release = ::Gapic::Config::Method.new create_release_config
      abandon_release_config = parent_rpcs.abandon_release if parent_rpcs.respond_to? :abandon_release
      @abandon_release = ::Gapic::Config::Method.new abandon_release_config
      create_deploy_policy_config = parent_rpcs.create_deploy_policy if parent_rpcs.respond_to? :create_deploy_policy
      @create_deploy_policy = ::Gapic::Config::Method.new create_deploy_policy_config
      update_deploy_policy_config = parent_rpcs.update_deploy_policy if parent_rpcs.respond_to? :update_deploy_policy
      @update_deploy_policy = ::Gapic::Config::Method.new update_deploy_policy_config
      delete_deploy_policy_config = parent_rpcs.delete_deploy_policy if parent_rpcs.respond_to? :delete_deploy_policy
      @delete_deploy_policy = ::Gapic::Config::Method.new delete_deploy_policy_config
      list_deploy_policies_config = parent_rpcs.list_deploy_policies if parent_rpcs.respond_to? :list_deploy_policies
      @list_deploy_policies = ::Gapic::Config::Method.new list_deploy_policies_config
      get_deploy_policy_config = parent_rpcs.get_deploy_policy if parent_rpcs.respond_to? :get_deploy_policy
      @get_deploy_policy = ::Gapic::Config::Method.new get_deploy_policy_config
      approve_rollout_config = parent_rpcs.approve_rollout if parent_rpcs.respond_to? :approve_rollout
      @approve_rollout = ::Gapic::Config::Method.new approve_rollout_config
      advance_rollout_config = parent_rpcs.advance_rollout if parent_rpcs.respond_to? :advance_rollout
      @advance_rollout = ::Gapic::Config::Method.new advance_rollout_config
      cancel_rollout_config = parent_rpcs.cancel_rollout if parent_rpcs.respond_to? :cancel_rollout
      @cancel_rollout = ::Gapic::Config::Method.new cancel_rollout_config
      list_rollouts_config = parent_rpcs.list_rollouts if parent_rpcs.respond_to? :list_rollouts
      @list_rollouts = ::Gapic::Config::Method.new list_rollouts_config
      get_rollout_config = parent_rpcs.get_rollout if parent_rpcs.respond_to? :get_rollout
      @get_rollout = ::Gapic::Config::Method.new get_rollout_config
      create_rollout_config = parent_rpcs.create_rollout if parent_rpcs.respond_to? :create_rollout
      @create_rollout = ::Gapic::Config::Method.new create_rollout_config
      ignore_job_config = parent_rpcs.ignore_job if parent_rpcs.respond_to? :ignore_job
      @ignore_job = ::Gapic::Config::Method.new ignore_job_config
      retry_job_config = parent_rpcs.retry_job if parent_rpcs.respond_to? :retry_job
      @retry_job = ::Gapic::Config::Method.new retry_job_config
      list_job_runs_config = parent_rpcs.list_job_runs if parent_rpcs.respond_to? :list_job_runs
      @list_job_runs = ::Gapic::Config::Method.new list_job_runs_config
      get_job_run_config = parent_rpcs.get_job_run if parent_rpcs.respond_to? :get_job_run
      @get_job_run = ::Gapic::Config::Method.new get_job_run_config
      terminate_job_run_config = parent_rpcs.terminate_job_run if parent_rpcs.respond_to? :terminate_job_run
      @terminate_job_run = ::Gapic::Config::Method.new terminate_job_run_config
      get_config_config = parent_rpcs.get_config if parent_rpcs.respond_to? :get_config
      @get_config = ::Gapic::Config::Method.new get_config_config
      create_automation_config = parent_rpcs.create_automation if parent_rpcs.respond_to? :create_automation
      @create_automation = ::Gapic::Config::Method.new create_automation_config
      update_automation_config = parent_rpcs.update_automation if parent_rpcs.respond_to? :update_automation
      @update_automation = ::Gapic::Config::Method.new update_automation_config
      delete_automation_config = parent_rpcs.delete_automation if parent_rpcs.respond_to? :delete_automation
      @delete_automation = ::Gapic::Config::Method.new delete_automation_config
      get_automation_config = parent_rpcs.get_automation if parent_rpcs.respond_to? :get_automation
      @get_automation = ::Gapic::Config::Method.new get_automation_config
      list_automations_config = parent_rpcs.list_automations if parent_rpcs.respond_to? :list_automations
      @list_automations = ::Gapic::Config::Method.new list_automations_config
      get_automation_run_config = parent_rpcs.get_automation_run if parent_rpcs.respond_to? :get_automation_run
      @get_automation_run = ::Gapic::Config::Method.new get_automation_run_config
      list_automation_runs_config = parent_rpcs.list_automation_runs if parent_rpcs.respond_to? :list_automation_runs
      @list_automation_runs = ::Gapic::Config::Method.new list_automation_runs_config
      cancel_automation_run_config = parent_rpcs.cancel_automation_run if parent_rpcs.respond_to? :cancel_automation_run
      @cancel_automation_run = ::Gapic::Config::Method.new cancel_automation_run_config

      yield self if block_given?
    end
  end
end

#scope::Array<::String>

The OAuth scopes

Returns:

  • (::Array<::String>)


4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
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
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/client.rb', line 4809

class Configuration
  extend ::Gapic::Config

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

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

  # @private
  # Overrides for http bindings for the RPCs of this service
  # are only used when this service is used as mixin, and only
  # by the host service.
  # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
  config_attr :bindings_override, {}, ::Hash, nil

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

    yield self if block_given?
  end

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

  ##
  # Configuration RPC class for the CloudDeploy API.
  #
  # Includes fields providing the configuration for each RPC in this service.
  # Each configuration object is of type `Gapic::Config::Method` and includes
  # the following configuration fields:
  #
  #  *  `timeout` (*type:* `Numeric`) - The call timeout in seconds
  #  *  `metadata` (*type:* `Hash{Symbol=>String}`) - Additional headers
  #  *  `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
  #     include the following keys:
  #      *  `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
  #      *  `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
  #      *  `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
  #      *  `:retry_codes` (*type:* `Array<String>`) - The error codes that should
  #         trigger a retry.
  #
  class Rpcs
    ##
    # RPC-specific configuration for `list_delivery_pipelines`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_delivery_pipelines
    ##
    # RPC-specific configuration for `get_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_delivery_pipeline
    ##
    # RPC-specific configuration for `create_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_delivery_pipeline
    ##
    # RPC-specific configuration for `update_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_delivery_pipeline
    ##
    # RPC-specific configuration for `delete_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_delivery_pipeline
    ##
    # RPC-specific configuration for `list_targets`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_targets
    ##
    # RPC-specific configuration for `rollback_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :rollback_target
    ##
    # RPC-specific configuration for `get_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_target
    ##
    # RPC-specific configuration for `create_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_target
    ##
    # RPC-specific configuration for `update_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_target
    ##
    # RPC-specific configuration for `delete_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_target
    ##
    # RPC-specific configuration for `list_custom_target_types`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_custom_target_types
    ##
    # RPC-specific configuration for `get_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_custom_target_type
    ##
    # RPC-specific configuration for `create_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_custom_target_type
    ##
    # RPC-specific configuration for `update_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_custom_target_type
    ##
    # RPC-specific configuration for `delete_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_custom_target_type
    ##
    # RPC-specific configuration for `list_releases`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_releases
    ##
    # RPC-specific configuration for `get_release`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_release
    ##
    # RPC-specific configuration for `create_release`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_release
    ##
    # RPC-specific configuration for `abandon_release`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :abandon_release
    ##
    # RPC-specific configuration for `create_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_deploy_policy
    ##
    # RPC-specific configuration for `update_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_deploy_policy
    ##
    # RPC-specific configuration for `delete_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_deploy_policy
    ##
    # RPC-specific configuration for `list_deploy_policies`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_deploy_policies
    ##
    # RPC-specific configuration for `get_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_deploy_policy
    ##
    # RPC-specific configuration for `approve_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :approve_rollout
    ##
    # RPC-specific configuration for `advance_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :advance_rollout
    ##
    # RPC-specific configuration for `cancel_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :cancel_rollout
    ##
    # RPC-specific configuration for `list_rollouts`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_rollouts
    ##
    # RPC-specific configuration for `get_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_rollout
    ##
    # RPC-specific configuration for `create_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_rollout
    ##
    # RPC-specific configuration for `ignore_job`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :ignore_job
    ##
    # RPC-specific configuration for `retry_job`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :retry_job
    ##
    # RPC-specific configuration for `list_job_runs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_job_runs
    ##
    # RPC-specific configuration for `get_job_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_job_run
    ##
    # RPC-specific configuration for `terminate_job_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :terminate_job_run
    ##
    # RPC-specific configuration for `get_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_config
    ##
    # RPC-specific configuration for `create_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_automation
    ##
    # RPC-specific configuration for `update_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_automation
    ##
    # RPC-specific configuration for `delete_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_automation
    ##
    # RPC-specific configuration for `get_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_automation
    ##
    # RPC-specific configuration for `list_automations`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_automations
    ##
    # RPC-specific configuration for `get_automation_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_automation_run
    ##
    # RPC-specific configuration for `list_automation_runs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_automation_runs
    ##
    # RPC-specific configuration for `cancel_automation_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :cancel_automation_run

    # @private
    def initialize parent_rpcs = nil
      list_delivery_pipelines_config = parent_rpcs.list_delivery_pipelines if parent_rpcs.respond_to? :list_delivery_pipelines
      @list_delivery_pipelines = ::Gapic::Config::Method.new list_delivery_pipelines_config
      get_delivery_pipeline_config = parent_rpcs.get_delivery_pipeline if parent_rpcs.respond_to? :get_delivery_pipeline
      @get_delivery_pipeline = ::Gapic::Config::Method.new get_delivery_pipeline_config
      create_delivery_pipeline_config = parent_rpcs.create_delivery_pipeline if parent_rpcs.respond_to? :create_delivery_pipeline
      @create_delivery_pipeline = ::Gapic::Config::Method.new create_delivery_pipeline_config
      update_delivery_pipeline_config = parent_rpcs.update_delivery_pipeline if parent_rpcs.respond_to? :update_delivery_pipeline
      @update_delivery_pipeline = ::Gapic::Config::Method.new update_delivery_pipeline_config
      delete_delivery_pipeline_config = parent_rpcs.delete_delivery_pipeline if parent_rpcs.respond_to? :delete_delivery_pipeline
      @delete_delivery_pipeline = ::Gapic::Config::Method.new delete_delivery_pipeline_config
      list_targets_config = parent_rpcs.list_targets if parent_rpcs.respond_to? :list_targets
      @list_targets = ::Gapic::Config::Method.new list_targets_config
      rollback_target_config = parent_rpcs.rollback_target if parent_rpcs.respond_to? :rollback_target
      @rollback_target = ::Gapic::Config::Method.new rollback_target_config
      get_target_config = parent_rpcs.get_target if parent_rpcs.respond_to? :get_target
      @get_target = ::Gapic::Config::Method.new get_target_config
      create_target_config = parent_rpcs.create_target if parent_rpcs.respond_to? :create_target
      @create_target = ::Gapic::Config::Method.new create_target_config
      update_target_config = parent_rpcs.update_target if parent_rpcs.respond_to? :update_target
      @update_target = ::Gapic::Config::Method.new update_target_config
      delete_target_config = parent_rpcs.delete_target if parent_rpcs.respond_to? :delete_target
      @delete_target = ::Gapic::Config::Method.new delete_target_config
      list_custom_target_types_config = parent_rpcs.list_custom_target_types if parent_rpcs.respond_to? :list_custom_target_types
      @list_custom_target_types = ::Gapic::Config::Method.new list_custom_target_types_config
      get_custom_target_type_config = parent_rpcs.get_custom_target_type if parent_rpcs.respond_to? :get_custom_target_type
      @get_custom_target_type = ::Gapic::Config::Method.new get_custom_target_type_config
      create_custom_target_type_config = parent_rpcs.create_custom_target_type if parent_rpcs.respond_to? :create_custom_target_type
      @create_custom_target_type = ::Gapic::Config::Method.new create_custom_target_type_config
      update_custom_target_type_config = parent_rpcs.update_custom_target_type if parent_rpcs.respond_to? :update_custom_target_type
      @update_custom_target_type = ::Gapic::Config::Method.new update_custom_target_type_config
      delete_custom_target_type_config = parent_rpcs.delete_custom_target_type if parent_rpcs.respond_to? :delete_custom_target_type
      @delete_custom_target_type = ::Gapic::Config::Method.new delete_custom_target_type_config
      list_releases_config = parent_rpcs.list_releases if parent_rpcs.respond_to? :list_releases
      @list_releases = ::Gapic::Config::Method.new list_releases_config
      get_release_config = parent_rpcs.get_release if parent_rpcs.respond_to? :get_release
      @get_release = ::Gapic::Config::Method.new get_release_config
      create_release_config = parent_rpcs.create_release if parent_rpcs.respond_to? :create_release
      @create_release = ::Gapic::Config::Method.new create_release_config
      abandon_release_config = parent_rpcs.abandon_release if parent_rpcs.respond_to? :abandon_release
      @abandon_release = ::Gapic::Config::Method.new abandon_release_config
      create_deploy_policy_config = parent_rpcs.create_deploy_policy if parent_rpcs.respond_to? :create_deploy_policy
      @create_deploy_policy = ::Gapic::Config::Method.new create_deploy_policy_config
      update_deploy_policy_config = parent_rpcs.update_deploy_policy if parent_rpcs.respond_to? :update_deploy_policy
      @update_deploy_policy = ::Gapic::Config::Method.new update_deploy_policy_config
      delete_deploy_policy_config = parent_rpcs.delete_deploy_policy if parent_rpcs.respond_to? :delete_deploy_policy
      @delete_deploy_policy = ::Gapic::Config::Method.new delete_deploy_policy_config
      list_deploy_policies_config = parent_rpcs.list_deploy_policies if parent_rpcs.respond_to? :list_deploy_policies
      @list_deploy_policies = ::Gapic::Config::Method.new list_deploy_policies_config
      get_deploy_policy_config = parent_rpcs.get_deploy_policy if parent_rpcs.respond_to? :get_deploy_policy
      @get_deploy_policy = ::Gapic::Config::Method.new get_deploy_policy_config
      approve_rollout_config = parent_rpcs.approve_rollout if parent_rpcs.respond_to? :approve_rollout
      @approve_rollout = ::Gapic::Config::Method.new approve_rollout_config
      advance_rollout_config = parent_rpcs.advance_rollout if parent_rpcs.respond_to? :advance_rollout
      @advance_rollout = ::Gapic::Config::Method.new advance_rollout_config
      cancel_rollout_config = parent_rpcs.cancel_rollout if parent_rpcs.respond_to? :cancel_rollout
      @cancel_rollout = ::Gapic::Config::Method.new cancel_rollout_config
      list_rollouts_config = parent_rpcs.list_rollouts if parent_rpcs.respond_to? :list_rollouts
      @list_rollouts = ::Gapic::Config::Method.new list_rollouts_config
      get_rollout_config = parent_rpcs.get_rollout if parent_rpcs.respond_to? :get_rollout
      @get_rollout = ::Gapic::Config::Method.new get_rollout_config
      create_rollout_config = parent_rpcs.create_rollout if parent_rpcs.respond_to? :create_rollout
      @create_rollout = ::Gapic::Config::Method.new create_rollout_config
      ignore_job_config = parent_rpcs.ignore_job if parent_rpcs.respond_to? :ignore_job
      @ignore_job = ::Gapic::Config::Method.new ignore_job_config
      retry_job_config = parent_rpcs.retry_job if parent_rpcs.respond_to? :retry_job
      @retry_job = ::Gapic::Config::Method.new retry_job_config
      list_job_runs_config = parent_rpcs.list_job_runs if parent_rpcs.respond_to? :list_job_runs
      @list_job_runs = ::Gapic::Config::Method.new list_job_runs_config
      get_job_run_config = parent_rpcs.get_job_run if parent_rpcs.respond_to? :get_job_run
      @get_job_run = ::Gapic::Config::Method.new get_job_run_config
      terminate_job_run_config = parent_rpcs.terminate_job_run if parent_rpcs.respond_to? :terminate_job_run
      @terminate_job_run = ::Gapic::Config::Method.new terminate_job_run_config
      get_config_config = parent_rpcs.get_config if parent_rpcs.respond_to? :get_config
      @get_config = ::Gapic::Config::Method.new get_config_config
      create_automation_config = parent_rpcs.create_automation if parent_rpcs.respond_to? :create_automation
      @create_automation = ::Gapic::Config::Method.new create_automation_config
      update_automation_config = parent_rpcs.update_automation if parent_rpcs.respond_to? :update_automation
      @update_automation = ::Gapic::Config::Method.new update_automation_config
      delete_automation_config = parent_rpcs.delete_automation if parent_rpcs.respond_to? :delete_automation
      @delete_automation = ::Gapic::Config::Method.new delete_automation_config
      get_automation_config = parent_rpcs.get_automation if parent_rpcs.respond_to? :get_automation
      @get_automation = ::Gapic::Config::Method.new get_automation_config
      list_automations_config = parent_rpcs.list_automations if parent_rpcs.respond_to? :list_automations
      @list_automations = ::Gapic::Config::Method.new list_automations_config
      get_automation_run_config = parent_rpcs.get_automation_run if parent_rpcs.respond_to? :get_automation_run
      @get_automation_run = ::Gapic::Config::Method.new get_automation_run_config
      list_automation_runs_config = parent_rpcs.list_automation_runs if parent_rpcs.respond_to? :list_automation_runs
      @list_automation_runs = ::Gapic::Config::Method.new list_automation_runs_config
      cancel_automation_run_config = parent_rpcs.cancel_automation_run if parent_rpcs.respond_to? :cancel_automation_run
      @cancel_automation_run = ::Gapic::Config::Method.new cancel_automation_run_config

      yield self if block_given?
    end
  end
end

#timeout::Numeric

The call timeout in seconds.

Returns:

  • (::Numeric)


4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
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
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/client.rb', line 4809

class Configuration
  extend ::Gapic::Config

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

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

  # @private
  # Overrides for http bindings for the RPCs of this service
  # are only used when this service is used as mixin, and only
  # by the host service.
  # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
  config_attr :bindings_override, {}, ::Hash, nil

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

    yield self if block_given?
  end

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

  ##
  # Configuration RPC class for the CloudDeploy API.
  #
  # Includes fields providing the configuration for each RPC in this service.
  # Each configuration object is of type `Gapic::Config::Method` and includes
  # the following configuration fields:
  #
  #  *  `timeout` (*type:* `Numeric`) - The call timeout in seconds
  #  *  `metadata` (*type:* `Hash{Symbol=>String}`) - Additional headers
  #  *  `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
  #     include the following keys:
  #      *  `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
  #      *  `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
  #      *  `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
  #      *  `:retry_codes` (*type:* `Array<String>`) - The error codes that should
  #         trigger a retry.
  #
  class Rpcs
    ##
    # RPC-specific configuration for `list_delivery_pipelines`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_delivery_pipelines
    ##
    # RPC-specific configuration for `get_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_delivery_pipeline
    ##
    # RPC-specific configuration for `create_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_delivery_pipeline
    ##
    # RPC-specific configuration for `update_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_delivery_pipeline
    ##
    # RPC-specific configuration for `delete_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_delivery_pipeline
    ##
    # RPC-specific configuration for `list_targets`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_targets
    ##
    # RPC-specific configuration for `rollback_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :rollback_target
    ##
    # RPC-specific configuration for `get_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_target
    ##
    # RPC-specific configuration for `create_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_target
    ##
    # RPC-specific configuration for `update_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_target
    ##
    # RPC-specific configuration for `delete_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_target
    ##
    # RPC-specific configuration for `list_custom_target_types`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_custom_target_types
    ##
    # RPC-specific configuration for `get_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_custom_target_type
    ##
    # RPC-specific configuration for `create_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_custom_target_type
    ##
    # RPC-specific configuration for `update_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_custom_target_type
    ##
    # RPC-specific configuration for `delete_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_custom_target_type
    ##
    # RPC-specific configuration for `list_releases`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_releases
    ##
    # RPC-specific configuration for `get_release`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_release
    ##
    # RPC-specific configuration for `create_release`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_release
    ##
    # RPC-specific configuration for `abandon_release`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :abandon_release
    ##
    # RPC-specific configuration for `create_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_deploy_policy
    ##
    # RPC-specific configuration for `update_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_deploy_policy
    ##
    # RPC-specific configuration for `delete_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_deploy_policy
    ##
    # RPC-specific configuration for `list_deploy_policies`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_deploy_policies
    ##
    # RPC-specific configuration for `get_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_deploy_policy
    ##
    # RPC-specific configuration for `approve_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :approve_rollout
    ##
    # RPC-specific configuration for `advance_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :advance_rollout
    ##
    # RPC-specific configuration for `cancel_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :cancel_rollout
    ##
    # RPC-specific configuration for `list_rollouts`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_rollouts
    ##
    # RPC-specific configuration for `get_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_rollout
    ##
    # RPC-specific configuration for `create_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_rollout
    ##
    # RPC-specific configuration for `ignore_job`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :ignore_job
    ##
    # RPC-specific configuration for `retry_job`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :retry_job
    ##
    # RPC-specific configuration for `list_job_runs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_job_runs
    ##
    # RPC-specific configuration for `get_job_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_job_run
    ##
    # RPC-specific configuration for `terminate_job_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :terminate_job_run
    ##
    # RPC-specific configuration for `get_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_config
    ##
    # RPC-specific configuration for `create_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_automation
    ##
    # RPC-specific configuration for `update_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_automation
    ##
    # RPC-specific configuration for `delete_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_automation
    ##
    # RPC-specific configuration for `get_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_automation
    ##
    # RPC-specific configuration for `list_automations`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_automations
    ##
    # RPC-specific configuration for `get_automation_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_automation_run
    ##
    # RPC-specific configuration for `list_automation_runs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_automation_runs
    ##
    # RPC-specific configuration for `cancel_automation_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :cancel_automation_run

    # @private
    def initialize parent_rpcs = nil
      list_delivery_pipelines_config = parent_rpcs.list_delivery_pipelines if parent_rpcs.respond_to? :list_delivery_pipelines
      @list_delivery_pipelines = ::Gapic::Config::Method.new list_delivery_pipelines_config
      get_delivery_pipeline_config = parent_rpcs.get_delivery_pipeline if parent_rpcs.respond_to? :get_delivery_pipeline
      @get_delivery_pipeline = ::Gapic::Config::Method.new get_delivery_pipeline_config
      create_delivery_pipeline_config = parent_rpcs.create_delivery_pipeline if parent_rpcs.respond_to? :create_delivery_pipeline
      @create_delivery_pipeline = ::Gapic::Config::Method.new create_delivery_pipeline_config
      update_delivery_pipeline_config = parent_rpcs.update_delivery_pipeline if parent_rpcs.respond_to? :update_delivery_pipeline
      @update_delivery_pipeline = ::Gapic::Config::Method.new update_delivery_pipeline_config
      delete_delivery_pipeline_config = parent_rpcs.delete_delivery_pipeline if parent_rpcs.respond_to? :delete_delivery_pipeline
      @delete_delivery_pipeline = ::Gapic::Config::Method.new delete_delivery_pipeline_config
      list_targets_config = parent_rpcs.list_targets if parent_rpcs.respond_to? :list_targets
      @list_targets = ::Gapic::Config::Method.new list_targets_config
      rollback_target_config = parent_rpcs.rollback_target if parent_rpcs.respond_to? :rollback_target
      @rollback_target = ::Gapic::Config::Method.new rollback_target_config
      get_target_config = parent_rpcs.get_target if parent_rpcs.respond_to? :get_target
      @get_target = ::Gapic::Config::Method.new get_target_config
      create_target_config = parent_rpcs.create_target if parent_rpcs.respond_to? :create_target
      @create_target = ::Gapic::Config::Method.new create_target_config
      update_target_config = parent_rpcs.update_target if parent_rpcs.respond_to? :update_target
      @update_target = ::Gapic::Config::Method.new update_target_config
      delete_target_config = parent_rpcs.delete_target if parent_rpcs.respond_to? :delete_target
      @delete_target = ::Gapic::Config::Method.new delete_target_config
      list_custom_target_types_config = parent_rpcs.list_custom_target_types if parent_rpcs.respond_to? :list_custom_target_types
      @list_custom_target_types = ::Gapic::Config::Method.new list_custom_target_types_config
      get_custom_target_type_config = parent_rpcs.get_custom_target_type if parent_rpcs.respond_to? :get_custom_target_type
      @get_custom_target_type = ::Gapic::Config::Method.new get_custom_target_type_config
      create_custom_target_type_config = parent_rpcs.create_custom_target_type if parent_rpcs.respond_to? :create_custom_target_type
      @create_custom_target_type = ::Gapic::Config::Method.new create_custom_target_type_config
      update_custom_target_type_config = parent_rpcs.update_custom_target_type if parent_rpcs.respond_to? :update_custom_target_type
      @update_custom_target_type = ::Gapic::Config::Method.new update_custom_target_type_config
      delete_custom_target_type_config = parent_rpcs.delete_custom_target_type if parent_rpcs.respond_to? :delete_custom_target_type
      @delete_custom_target_type = ::Gapic::Config::Method.new delete_custom_target_type_config
      list_releases_config = parent_rpcs.list_releases if parent_rpcs.respond_to? :list_releases
      @list_releases = ::Gapic::Config::Method.new list_releases_config
      get_release_config = parent_rpcs.get_release if parent_rpcs.respond_to? :get_release
      @get_release = ::Gapic::Config::Method.new get_release_config
      create_release_config = parent_rpcs.create_release if parent_rpcs.respond_to? :create_release
      @create_release = ::Gapic::Config::Method.new create_release_config
      abandon_release_config = parent_rpcs.abandon_release if parent_rpcs.respond_to? :abandon_release
      @abandon_release = ::Gapic::Config::Method.new abandon_release_config
      create_deploy_policy_config = parent_rpcs.create_deploy_policy if parent_rpcs.respond_to? :create_deploy_policy
      @create_deploy_policy = ::Gapic::Config::Method.new create_deploy_policy_config
      update_deploy_policy_config = parent_rpcs.update_deploy_policy if parent_rpcs.respond_to? :update_deploy_policy
      @update_deploy_policy = ::Gapic::Config::Method.new update_deploy_policy_config
      delete_deploy_policy_config = parent_rpcs.delete_deploy_policy if parent_rpcs.respond_to? :delete_deploy_policy
      @delete_deploy_policy = ::Gapic::Config::Method.new delete_deploy_policy_config
      list_deploy_policies_config = parent_rpcs.list_deploy_policies if parent_rpcs.respond_to? :list_deploy_policies
      @list_deploy_policies = ::Gapic::Config::Method.new list_deploy_policies_config
      get_deploy_policy_config = parent_rpcs.get_deploy_policy if parent_rpcs.respond_to? :get_deploy_policy
      @get_deploy_policy = ::Gapic::Config::Method.new get_deploy_policy_config
      approve_rollout_config = parent_rpcs.approve_rollout if parent_rpcs.respond_to? :approve_rollout
      @approve_rollout = ::Gapic::Config::Method.new approve_rollout_config
      advance_rollout_config = parent_rpcs.advance_rollout if parent_rpcs.respond_to? :advance_rollout
      @advance_rollout = ::Gapic::Config::Method.new advance_rollout_config
      cancel_rollout_config = parent_rpcs.cancel_rollout if parent_rpcs.respond_to? :cancel_rollout
      @cancel_rollout = ::Gapic::Config::Method.new cancel_rollout_config
      list_rollouts_config = parent_rpcs.list_rollouts if parent_rpcs.respond_to? :list_rollouts
      @list_rollouts = ::Gapic::Config::Method.new list_rollouts_config
      get_rollout_config = parent_rpcs.get_rollout if parent_rpcs.respond_to? :get_rollout
      @get_rollout = ::Gapic::Config::Method.new get_rollout_config
      create_rollout_config = parent_rpcs.create_rollout if parent_rpcs.respond_to? :create_rollout
      @create_rollout = ::Gapic::Config::Method.new create_rollout_config
      ignore_job_config = parent_rpcs.ignore_job if parent_rpcs.respond_to? :ignore_job
      @ignore_job = ::Gapic::Config::Method.new ignore_job_config
      retry_job_config = parent_rpcs.retry_job if parent_rpcs.respond_to? :retry_job
      @retry_job = ::Gapic::Config::Method.new retry_job_config
      list_job_runs_config = parent_rpcs.list_job_runs if parent_rpcs.respond_to? :list_job_runs
      @list_job_runs = ::Gapic::Config::Method.new list_job_runs_config
      get_job_run_config = parent_rpcs.get_job_run if parent_rpcs.respond_to? :get_job_run
      @get_job_run = ::Gapic::Config::Method.new get_job_run_config
      terminate_job_run_config = parent_rpcs.terminate_job_run if parent_rpcs.respond_to? :terminate_job_run
      @terminate_job_run = ::Gapic::Config::Method.new terminate_job_run_config
      get_config_config = parent_rpcs.get_config if parent_rpcs.respond_to? :get_config
      @get_config = ::Gapic::Config::Method.new get_config_config
      create_automation_config = parent_rpcs.create_automation if parent_rpcs.respond_to? :create_automation
      @create_automation = ::Gapic::Config::Method.new create_automation_config
      update_automation_config = parent_rpcs.update_automation if parent_rpcs.respond_to? :update_automation
      @update_automation = ::Gapic::Config::Method.new update_automation_config
      delete_automation_config = parent_rpcs.delete_automation if parent_rpcs.respond_to? :delete_automation
      @delete_automation = ::Gapic::Config::Method.new delete_automation_config
      get_automation_config = parent_rpcs.get_automation if parent_rpcs.respond_to? :get_automation
      @get_automation = ::Gapic::Config::Method.new get_automation_config
      list_automations_config = parent_rpcs.list_automations if parent_rpcs.respond_to? :list_automations
      @list_automations = ::Gapic::Config::Method.new list_automations_config
      get_automation_run_config = parent_rpcs.get_automation_run if parent_rpcs.respond_to? :get_automation_run
      @get_automation_run = ::Gapic::Config::Method.new get_automation_run_config
      list_automation_runs_config = parent_rpcs.list_automation_runs if parent_rpcs.respond_to? :list_automation_runs
      @list_automation_runs = ::Gapic::Config::Method.new list_automation_runs_config
      cancel_automation_run_config = parent_rpcs.cancel_automation_run if parent_rpcs.respond_to? :cancel_automation_run
      @cancel_automation_run = ::Gapic::Config::Method.new cancel_automation_run_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)


4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
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
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/client.rb', line 4809

class Configuration
  extend ::Gapic::Config

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

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

  # @private
  # Overrides for http bindings for the RPCs of this service
  # are only used when this service is used as mixin, and only
  # by the host service.
  # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
  config_attr :bindings_override, {}, ::Hash, nil

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

    yield self if block_given?
  end

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

  ##
  # Configuration RPC class for the CloudDeploy API.
  #
  # Includes fields providing the configuration for each RPC in this service.
  # Each configuration object is of type `Gapic::Config::Method` and includes
  # the following configuration fields:
  #
  #  *  `timeout` (*type:* `Numeric`) - The call timeout in seconds
  #  *  `metadata` (*type:* `Hash{Symbol=>String}`) - Additional headers
  #  *  `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
  #     include the following keys:
  #      *  `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
  #      *  `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
  #      *  `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
  #      *  `:retry_codes` (*type:* `Array<String>`) - The error codes that should
  #         trigger a retry.
  #
  class Rpcs
    ##
    # RPC-specific configuration for `list_delivery_pipelines`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_delivery_pipelines
    ##
    # RPC-specific configuration for `get_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_delivery_pipeline
    ##
    # RPC-specific configuration for `create_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_delivery_pipeline
    ##
    # RPC-specific configuration for `update_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_delivery_pipeline
    ##
    # RPC-specific configuration for `delete_delivery_pipeline`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_delivery_pipeline
    ##
    # RPC-specific configuration for `list_targets`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_targets
    ##
    # RPC-specific configuration for `rollback_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :rollback_target
    ##
    # RPC-specific configuration for `get_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_target
    ##
    # RPC-specific configuration for `create_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_target
    ##
    # RPC-specific configuration for `update_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_target
    ##
    # RPC-specific configuration for `delete_target`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_target
    ##
    # RPC-specific configuration for `list_custom_target_types`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_custom_target_types
    ##
    # RPC-specific configuration for `get_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_custom_target_type
    ##
    # RPC-specific configuration for `create_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_custom_target_type
    ##
    # RPC-specific configuration for `update_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_custom_target_type
    ##
    # RPC-specific configuration for `delete_custom_target_type`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_custom_target_type
    ##
    # RPC-specific configuration for `list_releases`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_releases
    ##
    # RPC-specific configuration for `get_release`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_release
    ##
    # RPC-specific configuration for `create_release`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_release
    ##
    # RPC-specific configuration for `abandon_release`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :abandon_release
    ##
    # RPC-specific configuration for `create_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_deploy_policy
    ##
    # RPC-specific configuration for `update_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_deploy_policy
    ##
    # RPC-specific configuration for `delete_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_deploy_policy
    ##
    # RPC-specific configuration for `list_deploy_policies`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_deploy_policies
    ##
    # RPC-specific configuration for `get_deploy_policy`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_deploy_policy
    ##
    # RPC-specific configuration for `approve_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :approve_rollout
    ##
    # RPC-specific configuration for `advance_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :advance_rollout
    ##
    # RPC-specific configuration for `cancel_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :cancel_rollout
    ##
    # RPC-specific configuration for `list_rollouts`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_rollouts
    ##
    # RPC-specific configuration for `get_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_rollout
    ##
    # RPC-specific configuration for `create_rollout`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_rollout
    ##
    # RPC-specific configuration for `ignore_job`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :ignore_job
    ##
    # RPC-specific configuration for `retry_job`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :retry_job
    ##
    # RPC-specific configuration for `list_job_runs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_job_runs
    ##
    # RPC-specific configuration for `get_job_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_job_run
    ##
    # RPC-specific configuration for `terminate_job_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :terminate_job_run
    ##
    # RPC-specific configuration for `get_config`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_config
    ##
    # RPC-specific configuration for `create_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :create_automation
    ##
    # RPC-specific configuration for `update_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :update_automation
    ##
    # RPC-specific configuration for `delete_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :delete_automation
    ##
    # RPC-specific configuration for `get_automation`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_automation
    ##
    # RPC-specific configuration for `list_automations`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_automations
    ##
    # RPC-specific configuration for `get_automation_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :get_automation_run
    ##
    # RPC-specific configuration for `list_automation_runs`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :list_automation_runs
    ##
    # RPC-specific configuration for `cancel_automation_run`
    # @return [::Gapic::Config::Method]
    #
    attr_reader :cancel_automation_run

    # @private
    def initialize parent_rpcs = nil
      list_delivery_pipelines_config = parent_rpcs.list_delivery_pipelines if parent_rpcs.respond_to? :list_delivery_pipelines
      @list_delivery_pipelines = ::Gapic::Config::Method.new list_delivery_pipelines_config
      get_delivery_pipeline_config = parent_rpcs.get_delivery_pipeline if parent_rpcs.respond_to? :get_delivery_pipeline
      @get_delivery_pipeline = ::Gapic::Config::Method.new get_delivery_pipeline_config
      create_delivery_pipeline_config = parent_rpcs.create_delivery_pipeline if parent_rpcs.respond_to? :create_delivery_pipeline
      @create_delivery_pipeline = ::Gapic::Config::Method.new create_delivery_pipeline_config
      update_delivery_pipeline_config = parent_rpcs.update_delivery_pipeline if parent_rpcs.respond_to? :update_delivery_pipeline
      @update_delivery_pipeline = ::Gapic::Config::Method.new update_delivery_pipeline_config
      delete_delivery_pipeline_config = parent_rpcs.delete_delivery_pipeline if parent_rpcs.respond_to? :delete_delivery_pipeline
      @delete_delivery_pipeline = ::Gapic::Config::Method.new delete_delivery_pipeline_config
      list_targets_config = parent_rpcs.list_targets if parent_rpcs.respond_to? :list_targets
      @list_targets = ::Gapic::Config::Method.new list_targets_config
      rollback_target_config = parent_rpcs.rollback_target if parent_rpcs.respond_to? :rollback_target
      @rollback_target = ::Gapic::Config::Method.new rollback_target_config
      get_target_config = parent_rpcs.get_target if parent_rpcs.respond_to? :get_target
      @get_target = ::Gapic::Config::Method.new get_target_config
      create_target_config = parent_rpcs.create_target if parent_rpcs.respond_to? :create_target
      @create_target = ::Gapic::Config::Method.new create_target_config
      update_target_config = parent_rpcs.update_target if parent_rpcs.respond_to? :update_target
      @update_target = ::Gapic::Config::Method.new update_target_config
      delete_target_config = parent_rpcs.delete_target if parent_rpcs.respond_to? :delete_target
      @delete_target = ::Gapic::Config::Method.new delete_target_config
      list_custom_target_types_config = parent_rpcs.list_custom_target_types if parent_rpcs.respond_to? :list_custom_target_types
      @list_custom_target_types = ::Gapic::Config::Method.new list_custom_target_types_config
      get_custom_target_type_config = parent_rpcs.get_custom_target_type if parent_rpcs.respond_to? :get_custom_target_type
      @get_custom_target_type = ::Gapic::Config::Method.new get_custom_target_type_config
      create_custom_target_type_config = parent_rpcs.create_custom_target_type if parent_rpcs.respond_to? :create_custom_target_type
      @create_custom_target_type = ::Gapic::Config::Method.new create_custom_target_type_config
      update_custom_target_type_config = parent_rpcs.update_custom_target_type if parent_rpcs.respond_to? :update_custom_target_type
      @update_custom_target_type = ::Gapic::Config::Method.new update_custom_target_type_config
      delete_custom_target_type_config = parent_rpcs.delete_custom_target_type if parent_rpcs.respond_to? :delete_custom_target_type
      @delete_custom_target_type = ::Gapic::Config::Method.new delete_custom_target_type_config
      list_releases_config = parent_rpcs.list_releases if parent_rpcs.respond_to? :list_releases
      @list_releases = ::Gapic::Config::Method.new list_releases_config
      get_release_config = parent_rpcs.get_release if parent_rpcs.respond_to? :get_release
      @get_release = ::Gapic::Config::Method.new get_release_config
      create_release_config = parent_rpcs.create_release if parent_rpcs.respond_to? :create_release
      @create_release = ::Gapic::Config::Method.new create_release_config
      abandon_release_config = parent_rpcs.abandon_release if parent_rpcs.respond_to? :abandon_release
      @abandon_release = ::Gapic::Config::Method.new abandon_release_config
      create_deploy_policy_config = parent_rpcs.create_deploy_policy if parent_rpcs.respond_to? :create_deploy_policy
      @create_deploy_policy = ::Gapic::Config::Method.new create_deploy_policy_config
      update_deploy_policy_config = parent_rpcs.update_deploy_policy if parent_rpcs.respond_to? :update_deploy_policy
      @update_deploy_policy = ::Gapic::Config::Method.new update_deploy_policy_config
      delete_deploy_policy_config = parent_rpcs.delete_deploy_policy if parent_rpcs.respond_to? :delete_deploy_policy
      @delete_deploy_policy = ::Gapic::Config::Method.new delete_deploy_policy_config
      list_deploy_policies_config = parent_rpcs.list_deploy_policies if parent_rpcs.respond_to? :list_deploy_policies
      @list_deploy_policies = ::Gapic::Config::Method.new list_deploy_policies_config
      get_deploy_policy_config = parent_rpcs.get_deploy_policy if parent_rpcs.respond_to? :get_deploy_policy
      @get_deploy_policy = ::Gapic::Config::Method.new get_deploy_policy_config
      approve_rollout_config = parent_rpcs.approve_rollout if parent_rpcs.respond_to? :approve_rollout
      @approve_rollout = ::Gapic::Config::Method.new approve_rollout_config
      advance_rollout_config = parent_rpcs.advance_rollout if parent_rpcs.respond_to? :advance_rollout
      @advance_rollout = ::Gapic::Config::Method.new advance_rollout_config
      cancel_rollout_config = parent_rpcs.cancel_rollout if parent_rpcs.respond_to? :cancel_rollout
      @cancel_rollout = ::Gapic::Config::Method.new cancel_rollout_config
      list_rollouts_config = parent_rpcs.list_rollouts if parent_rpcs.respond_to? :list_rollouts
      @list_rollouts = ::Gapic::Config::Method.new list_rollouts_config
      get_rollout_config = parent_rpcs.get_rollout if parent_rpcs.respond_to? :get_rollout
      @get_rollout = ::Gapic::Config::Method.new get_rollout_config
      create_rollout_config = parent_rpcs.create_rollout if parent_rpcs.respond_to? :create_rollout
      @create_rollout = ::Gapic::Config::Method.new create_rollout_config
      ignore_job_config = parent_rpcs.ignore_job if parent_rpcs.respond_to? :ignore_job
      @ignore_job = ::Gapic::Config::Method.new ignore_job_config
      retry_job_config = parent_rpcs.retry_job if parent_rpcs.respond_to? :retry_job
      @retry_job = ::Gapic::Config::Method.new retry_job_config
      list_job_runs_config = parent_rpcs.list_job_runs if parent_rpcs.respond_to? :list_job_runs
      @list_job_runs = ::Gapic::Config::Method.new list_job_runs_config
      get_job_run_config = parent_rpcs.get_job_run if parent_rpcs.respond_to? :get_job_run
      @get_job_run = ::Gapic::Config::Method.new get_job_run_config
      terminate_job_run_config = parent_rpcs.terminate_job_run if parent_rpcs.respond_to? :terminate_job_run
      @terminate_job_run = ::Gapic::Config::Method.new terminate_job_run_config
      get_config_config = parent_rpcs.get_config if parent_rpcs.respond_to? :get_config
      @get_config = ::Gapic::Config::Method.new get_config_config
      create_automation_config = parent_rpcs.create_automation if parent_rpcs.respond_to? :create_automation
      @create_automation = ::Gapic::Config::Method.new create_automation_config
      update_automation_config = parent_rpcs.update_automation if parent_rpcs.respond_to? :update_automation
      @update_automation = ::Gapic::Config::Method.new update_automation_config
      delete_automation_config = parent_rpcs.delete_automation if parent_rpcs.respond_to? :delete_automation
      @delete_automation = ::Gapic::Config::Method.new delete_automation_config
      get_automation_config = parent_rpcs.get_automation if parent_rpcs.respond_to? :get_automation
      @get_automation = ::Gapic::Config::Method.new get_automation_config
      list_automations_config = parent_rpcs.list_automations if parent_rpcs.respond_to? :list_automations
      @list_automations = ::Gapic::Config::Method.new list_automations_config
      get_automation_run_config = parent_rpcs.get_automation_run if parent_rpcs.respond_to? :get_automation_run
      @get_automation_run = ::Gapic::Config::Method.new get_automation_run_config
      list_automation_runs_config = parent_rpcs.list_automation_runs if parent_rpcs.respond_to? :list_automation_runs
      @list_automation_runs = ::Gapic::Config::Method.new list_automation_runs_config
      cancel_automation_run_config = parent_rpcs.cancel_automation_run if parent_rpcs.respond_to? :cancel_automation_run
      @cancel_automation_run = ::Gapic::Config::Method.new cancel_automation_run_config

      yield self if block_given?
    end
  end
end

Instance Method Details

#rpcsRpcs

Configurations for individual RPCs

Returns:



4848
4849
4850
4851
4852
4853
4854
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/client.rb', line 4848

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