google-cloud-memcache-v1beta2 0.1.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -33,3 +33,6 @@ module Google
33
33
  end
34
34
  end
35
35
  end
36
+
37
+ helper_path = ::File.join __dir__, "v1beta2", "_helpers.rb"
38
+ require "google/cloud/memcache/v1beta2/_helpers" if ::File.file? helper_path
@@ -45,7 +45,7 @@ module Google
45
45
  # * As such, Memcached instances are resources of the form:
46
46
  # `/projects/{project_id}/locations/{location_id}/instances/{instance_id}`
47
47
  #
48
- # Note that location_id must be refering to a GCP `region`; for example:
48
+ # Note that location_id must be a GCP `region`; for example:
49
49
  # * `projects/my-memcached-project/locations/us-central1/instances/my-memcached`
50
50
  #
51
51
  # To load this service and instantiate a client:
@@ -40,7 +40,7 @@ module Google
40
40
  # * As such, Memcached instances are resources of the form:
41
41
  # `/projects/{project_id}/locations/{location_id}/instances/{instance_id}`
42
42
  #
43
- # Note that location_id must be refering to a GCP `region`; for example:
43
+ # Note that location_id must be a GCP `region`; for example:
44
44
  # * `projects/my-memcached-project/locations/us-central1/instances/my-memcached`
45
45
  #
46
46
  class Client
@@ -55,13 +55,12 @@ module Google
55
55
  # See {::Google::Cloud::Memcache::V1beta2::CloudMemcache::Client::Configuration}
56
56
  # for a description of the configuration fields.
57
57
  #
58
- # ## Example
58
+ # @example
59
59
  #
60
- # To modify the configuration for all CloudMemcache clients:
61
- #
62
- # ::Google::Cloud::Memcache::V1beta2::CloudMemcache::Client.configure do |config|
63
- # config.timeout = 10.0
64
- # end
60
+ # # Modify the configuration for all CloudMemcache clients
61
+ # ::Google::Cloud::Memcache::V1beta2::CloudMemcache::Client.configure do |config|
62
+ # config.timeout = 10.0
63
+ # end
65
64
  #
66
65
  # @yield [config] Configure the Client client.
67
66
  # @yieldparam config [Client::Configuration]
@@ -74,7 +73,7 @@ module Google
74
73
  parent_config = while namespace.any?
75
74
  parent_name = namespace.join "::"
76
75
  parent_const = const_get parent_name
77
- break parent_const.configure if parent_const&.respond_to? :configure
76
+ break parent_const.configure if parent_const.respond_to? :configure
78
77
  namespace.pop
79
78
  end
80
79
  default_config = Client::Configuration.new parent_config
@@ -93,6 +92,8 @@ module Google
93
92
 
94
93
  default_config.rpcs.apply_parameters.timeout = 1200.0
95
94
 
95
+ default_config.rpcs.apply_software_update.timeout = 1200.0
96
+
96
97
  default_config
97
98
  end
98
99
  yield @configure if block_given?
@@ -122,19 +123,15 @@ module Google
122
123
  ##
123
124
  # Create a new CloudMemcache client object.
124
125
  #
125
- # ## Examples
126
- #
127
- # To create a new CloudMemcache client with the default
128
- # configuration:
126
+ # @example
129
127
  #
130
- # client = ::Google::Cloud::Memcache::V1beta2::CloudMemcache::Client.new
128
+ # # Create a client using the default configuration
129
+ # client = ::Google::Cloud::Memcache::V1beta2::CloudMemcache::Client.new
131
130
  #
132
- # To create a new CloudMemcache client with a custom
133
- # configuration:
134
- #
135
- # client = ::Google::Cloud::Memcache::V1beta2::CloudMemcache::Client.new do |config|
136
- # config.timeout = 10.0
137
- # end
131
+ # # Create a client using a custom configuration
132
+ # client = ::Google::Cloud::Memcache::V1beta2::CloudMemcache::Client.new do |config|
133
+ # config.timeout = 10.0
134
+ # end
138
135
  #
139
136
  # @yield [config] Configure the CloudMemcache client.
140
137
  # @yieldparam config [Client::Configuration]
@@ -154,8 +151,13 @@ module Google
154
151
 
155
152
  # Create credentials
156
153
  credentials = @config.credentials
157
- credentials ||= Credentials.default scope: @config.scope
158
- if credentials.is_a?(String) || credentials.is_a?(Hash)
154
+ # Use self-signed JWT if the endpoint is unchanged from default,
155
+ # but only if the default endpoint does not have a region prefix.
156
+ enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
157
+ !@config.endpoint.split(".").first.include?("-")
158
+ credentials ||= Credentials.default scope: @config.scope,
159
+ enable_self_signed_jwt: enable_self_signed_jwt
160
+ if credentials.is_a?(::String) || credentials.is_a?(::Hash)
159
161
  credentials = Credentials.new credentials, scope: @config.scope
160
162
  end
161
163
  @quota_project_id = @config.quota_project
@@ -185,7 +187,7 @@ module Google
185
187
  # Service calls
186
188
 
187
189
  ##
188
- # Lists Instances in a given project and location.
190
+ # Lists Instances in a given location.
189
191
  #
190
192
  # @overload list_instances(request, options = nil)
191
193
  # Pass arguments to `list_instances` via a request object, either of type
@@ -210,16 +212,15 @@ module Google
210
212
  # The maximum number of items to return.
211
213
  #
212
214
  # If not specified, a default value of 1000 will be used by the service.
213
- # Regardless of the page_size value, the response may include a partial list
214
- # and a caller should only rely on response's
215
- # [next_page_token][CloudMemcache.ListInstancesResponse.next_page_token]
215
+ # Regardless of the `page_size` value, the response may include a partial
216
+ # list and a caller should only rely on response's
217
+ # {::Google::Cloud::Memcache::V1beta2::ListInstancesResponse#next_page_token `next_page_token`}
216
218
  # to determine if there are more instances left to be queried.
217
219
  # @param page_token [::String]
218
- # The next_page_token value returned from a previous List request,
219
- # if any.
220
+ # The `next_page_token` value returned from a previous List request, if any.
220
221
  # @param filter [::String]
221
222
  # List filter. For example, exclude all Memcached instances with name as
222
- # my-instance by specifying "name != my-instance".
223
+ # my-instance by specifying `"name != my-instance"`.
223
224
  # @param order_by [::String]
224
225
  # Sort results. Supported values are "name", "name desc" or "" (unsorted).
225
226
  #
@@ -257,7 +258,9 @@ module Google
257
258
  options.apply_defaults timeout: @config.rpcs.list_instances.timeout,
258
259
  metadata: metadata,
259
260
  retry_policy: @config.rpcs.list_instances.retry_policy
260
- options.apply_defaults metadata: @config.metadata,
261
+
262
+ options.apply_defaults timeout: @config.timeout,
263
+ metadata: @config.metadata,
261
264
  retry_policy: @config.retry_policy
262
265
 
263
266
  @cloud_memcache_stub.call_rpc :list_instances, request, options: options do |response, operation|
@@ -326,7 +329,9 @@ module Google
326
329
  options.apply_defaults timeout: @config.rpcs.get_instance.timeout,
327
330
  metadata: metadata,
328
331
  retry_policy: @config.rpcs.get_instance.retry_policy
329
- options.apply_defaults metadata: @config.metadata,
332
+
333
+ options.apply_defaults timeout: @config.timeout,
334
+ metadata: @config.metadata,
330
335
  retry_policy: @config.retry_policy
331
336
 
332
337
  @cloud_memcache_stub.call_rpc :get_instance, request, options: options do |response, operation|
@@ -338,7 +343,7 @@ module Google
338
343
  end
339
344
 
340
345
  ##
341
- # Creates a new Instance in a given project and location.
346
+ # Creates a new Instance in a given location.
342
347
  #
343
348
  # @overload create_instance(request, options = nil)
344
349
  # Pass arguments to `create_instance` via a request object, either of type
@@ -367,7 +372,9 @@ module Google
367
372
  # * Must start with a letter.
368
373
  # * Must be between 1-40 characters.
369
374
  # * Must end with a number or a letter.
370
- # * Must be unique within the user project / location
375
+ # * Must be unique within the user project / location.
376
+ #
377
+ # If any of the above are not met, the API raises an invalid argument error.
371
378
  # @param resource [::Google::Cloud::Memcache::V1beta2::Instance, ::Hash]
372
379
  # Required. A Memcached [Instance] resource
373
380
  #
@@ -405,7 +412,9 @@ module Google
405
412
  options.apply_defaults timeout: @config.rpcs.create_instance.timeout,
406
413
  metadata: metadata,
407
414
  retry_policy: @config.rpcs.create_instance.retry_policy
408
- options.apply_defaults metadata: @config.metadata,
415
+
416
+ options.apply_defaults timeout: @config.timeout,
417
+ metadata: @config.metadata,
409
418
  retry_policy: @config.retry_policy
410
419
 
411
420
  @cloud_memcache_stub.call_rpc :create_instance, request, options: options do |response, operation|
@@ -437,7 +446,7 @@ module Google
437
446
  #
438
447
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
439
448
  # Required. Mask of fields to update.
440
- # * `displayName`
449
+ # * `displayName`
441
450
  # @param resource [::Google::Cloud::Memcache::V1beta2::Instance, ::Hash]
442
451
  # Required. A Memcached [Instance] resource.
443
452
  # Only fields specified in update_mask are updated.
@@ -476,7 +485,9 @@ module Google
476
485
  options.apply_defaults timeout: @config.rpcs.update_instance.timeout,
477
486
  metadata: metadata,
478
487
  retry_policy: @config.rpcs.update_instance.retry_policy
479
- options.apply_defaults metadata: @config.metadata,
488
+
489
+ options.apply_defaults timeout: @config.timeout,
490
+ metadata: @config.metadata,
480
491
  retry_policy: @config.retry_policy
481
492
 
482
493
  @cloud_memcache_stub.call_rpc :update_instance, request, options: options do |response, operation|
@@ -489,9 +500,10 @@ module Google
489
500
  end
490
501
 
491
502
  ##
492
- # Updates the defined Memcached Parameters for an existing Instance.
503
+ # Updates the defined Memcached parameters for an existing instance.
493
504
  # This method only stages the parameters, it must be followed by
494
- # ApplyParameters to apply the parameters to nodes of the Memcached Instance.
505
+ # `ApplyParameters` to apply the parameters to nodes of the Memcached
506
+ # instance.
495
507
  #
496
508
  # @overload update_parameters(request, options = nil)
497
509
  # Pass arguments to `update_parameters` via a request object, either of type
@@ -550,7 +562,9 @@ module Google
550
562
  options.apply_defaults timeout: @config.rpcs.update_parameters.timeout,
551
563
  metadata: metadata,
552
564
  retry_policy: @config.rpcs.update_parameters.retry_policy
553
- options.apply_defaults metadata: @config.metadata,
565
+
566
+ options.apply_defaults timeout: @config.timeout,
567
+ metadata: @config.metadata,
554
568
  retry_policy: @config.retry_policy
555
569
 
556
570
  @cloud_memcache_stub.call_rpc :update_parameters, request, options: options do |response, operation|
@@ -581,7 +595,7 @@ module Google
581
595
  # the default parameter values, pass an empty Hash as a request object (see above).
582
596
  #
583
597
  # @param name [::String]
584
- # Memcached instance resource name in the format:
598
+ # Required. Memcached instance resource name in the format:
585
599
  # `projects/{project_id}/locations/{location_id}/instances/{instance_id}`
586
600
  # where `location_id` refers to a GCP region
587
601
  #
@@ -619,7 +633,9 @@ module Google
619
633
  options.apply_defaults timeout: @config.rpcs.delete_instance.timeout,
620
634
  metadata: metadata,
621
635
  retry_policy: @config.rpcs.delete_instance.retry_policy
622
- options.apply_defaults metadata: @config.metadata,
636
+
637
+ options.apply_defaults timeout: @config.timeout,
638
+ metadata: @config.metadata,
623
639
  retry_policy: @config.retry_policy
624
640
 
625
641
  @cloud_memcache_stub.call_rpc :delete_instance, request, options: options do |response, operation|
@@ -632,8 +648,8 @@ module Google
632
648
  end
633
649
 
634
650
  ##
635
- # ApplyParameters will update current set of Parameters to the set of
636
- # specified nodes of the Memcached Instance.
651
+ # `ApplyParameters` restarts the set of specified nodes in order to update
652
+ # them to the current set of parameters for the Memcached Instance.
637
653
  #
638
654
  # @overload apply_parameters(request, options = nil)
639
655
  # Pass arguments to `apply_parameters` via a request object, either of type
@@ -654,11 +670,11 @@ module Google
654
670
  # Required. Resource name of the Memcached instance for which parameter group updates
655
671
  # should be applied.
656
672
  # @param node_ids [::Array<::String>]
657
- # Nodes to which we should apply the instance-level parameter group.
673
+ # Nodes to which the instance-level parameter group is applied.
658
674
  # @param apply_all [::Boolean]
659
675
  # Whether to apply instance-level parameter group to all nodes. If set to
660
- # true, will explicitly restrict users from specifying any nodes, and apply
661
- # parameter group updates to all nodes within the instance.
676
+ # true, users are restricted from specifying individual nodes, and
677
+ # `ApplyParameters` updates all nodes within the instance.
662
678
  #
663
679
  # @yield [response, operation] Access the result along with the RPC operation
664
680
  # @yieldparam response [::Gapic::Operation]
@@ -694,7 +710,9 @@ module Google
694
710
  options.apply_defaults timeout: @config.rpcs.apply_parameters.timeout,
695
711
  metadata: metadata,
696
712
  retry_policy: @config.rpcs.apply_parameters.retry_policy
697
- options.apply_defaults metadata: @config.metadata,
713
+
714
+ options.apply_defaults timeout: @config.timeout,
715
+ metadata: @config.metadata,
698
716
  retry_policy: @config.retry_policy
699
717
 
700
718
  @cloud_memcache_stub.call_rpc :apply_parameters, request, options: options do |response, operation|
@@ -706,6 +724,83 @@ module Google
706
724
  raise ::Google::Cloud::Error.from_error(e)
707
725
  end
708
726
 
727
+ ##
728
+ # Updates software on the selected nodes of the Instance.
729
+ #
730
+ # @overload apply_software_update(request, options = nil)
731
+ # Pass arguments to `apply_software_update` via a request object, either of type
732
+ # {::Google::Cloud::Memcache::V1beta2::ApplySoftwareUpdateRequest} or an equivalent Hash.
733
+ #
734
+ # @param request [::Google::Cloud::Memcache::V1beta2::ApplySoftwareUpdateRequest, ::Hash]
735
+ # A request object representing the call parameters. Required. To specify no
736
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
737
+ # @param options [::Gapic::CallOptions, ::Hash]
738
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
739
+ #
740
+ # @overload apply_software_update(instance: nil, node_ids: nil, apply_all: nil)
741
+ # Pass arguments to `apply_software_update` via keyword arguments. Note that at
742
+ # least one keyword argument is required. To specify no parameters, or to keep all
743
+ # the default parameter values, pass an empty Hash as a request object (see above).
744
+ #
745
+ # @param instance [::String]
746
+ # Required. Resource name of the Memcached instance for which software update should be
747
+ # applied.
748
+ # @param node_ids [::Array<::String>]
749
+ # Nodes to which we should apply the update to. Note all the selected nodes
750
+ # are updated in parallel.
751
+ # @param apply_all [::Boolean]
752
+ # Whether to apply the update to all nodes. If set to
753
+ # true, will explicitly restrict users from specifying any nodes, and apply
754
+ # software update to all nodes (where applicable) within the instance.
755
+ #
756
+ # @yield [response, operation] Access the result along with the RPC operation
757
+ # @yieldparam response [::Gapic::Operation]
758
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
759
+ #
760
+ # @return [::Gapic::Operation]
761
+ #
762
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
763
+ #
764
+ def apply_software_update request, options = nil
765
+ raise ::ArgumentError, "request must be provided" if request.nil?
766
+
767
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Memcache::V1beta2::ApplySoftwareUpdateRequest
768
+
769
+ # Converts hash and nil to an options object
770
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
771
+
772
+ # Customize the options with defaults
773
+ metadata = @config.rpcs.apply_software_update.metadata.to_h
774
+
775
+ # Set x-goog-api-client and x-goog-user-project headers
776
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
777
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
778
+ gapic_version: ::Google::Cloud::Memcache::V1beta2::VERSION
779
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
780
+
781
+ header_params = {
782
+ "instance" => request.instance
783
+ }
784
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
785
+ metadata[:"x-goog-request-params"] ||= request_params_header
786
+
787
+ options.apply_defaults timeout: @config.rpcs.apply_software_update.timeout,
788
+ metadata: metadata,
789
+ retry_policy: @config.rpcs.apply_software_update.retry_policy
790
+
791
+ options.apply_defaults timeout: @config.timeout,
792
+ metadata: @config.metadata,
793
+ retry_policy: @config.retry_policy
794
+
795
+ @cloud_memcache_stub.call_rpc :apply_software_update, request, options: options do |response, operation|
796
+ response = ::Gapic::Operation.new response, @operations_client, options: options
797
+ yield response, operation if block_given?
798
+ return response
799
+ end
800
+ rescue ::GRPC::BadStatus => e
801
+ raise ::Google::Cloud::Error.from_error(e)
802
+ end
803
+
709
804
  ##
710
805
  # Configuration class for the CloudMemcache API.
711
806
  #
@@ -719,22 +814,21 @@ module Google
719
814
  # Configuration can be applied globally to all clients, or to a single client
720
815
  # on construction.
721
816
  #
722
- # # Examples
723
- #
724
- # To modify the global config, setting the timeout for list_instances
725
- # to 20 seconds, and all remaining timeouts to 10 seconds:
817
+ # @example
726
818
  #
727
- # ::Google::Cloud::Memcache::V1beta2::CloudMemcache::Client.configure do |config|
728
- # config.timeout = 10.0
729
- # config.rpcs.list_instances.timeout = 20.0
730
- # end
819
+ # # Modify the global config, setting the timeout for
820
+ # # list_instances to 20 seconds,
821
+ # # and all remaining timeouts to 10 seconds.
822
+ # ::Google::Cloud::Memcache::V1beta2::CloudMemcache::Client.configure do |config|
823
+ # config.timeout = 10.0
824
+ # config.rpcs.list_instances.timeout = 20.0
825
+ # end
731
826
  #
732
- # To apply the above configuration only to a new client:
733
- #
734
- # client = ::Google::Cloud::Memcache::V1beta2::CloudMemcache::Client.new do |config|
735
- # config.timeout = 10.0
736
- # config.rpcs.list_instances.timeout = 20.0
737
- # end
827
+ # # Apply the above configuration only to a new client.
828
+ # client = ::Google::Cloud::Memcache::V1beta2::CloudMemcache::Client.new do |config|
829
+ # config.timeout = 10.0
830
+ # config.rpcs.list_instances.timeout = 20.0
831
+ # end
738
832
  #
739
833
  # @!attribute [rw] endpoint
740
834
  # The hostname or hostname:port of the service endpoint.
@@ -791,14 +885,14 @@ module Google
791
885
 
792
886
  config_attr :endpoint, "memcache.googleapis.com", ::String
793
887
  config_attr :credentials, nil do |value|
794
- allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
888
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
795
889
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
796
890
  allowed.any? { |klass| klass === value }
797
891
  end
798
892
  config_attr :scope, nil, ::String, ::Array, nil
799
893
  config_attr :lib_name, nil, ::String, nil
800
894
  config_attr :lib_version, nil, ::String, nil
801
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
895
+ config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
802
896
  config_attr :interceptors, nil, ::Array, nil
803
897
  config_attr :timeout, nil, ::Numeric, nil
804
898
  config_attr :metadata, nil, ::Hash, nil
@@ -819,7 +913,7 @@ module Google
819
913
  def rpcs
820
914
  @rpcs ||= begin
821
915
  parent_rpcs = nil
822
- parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config&.respond_to?(:rpcs)
916
+ parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
823
917
  Rpcs.new parent_rpcs
824
918
  end
825
919
  end
@@ -831,7 +925,7 @@ module Google
831
925
  # Each configuration object is of type `Gapic::Config::Method` and includes
832
926
  # the following configuration fields:
833
927
  #
834
- # * `timeout` (*type:* `Numeric`) - The call timeout in milliseconds
928
+ # * `timeout` (*type:* `Numeric`) - The call timeout in seconds
835
929
  # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional gRPC headers
836
930
  # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
837
931
  # include the following keys:
@@ -877,23 +971,30 @@ module Google
877
971
  # @return [::Gapic::Config::Method]
878
972
  #
879
973
  attr_reader :apply_parameters
974
+ ##
975
+ # RPC-specific configuration for `apply_software_update`
976
+ # @return [::Gapic::Config::Method]
977
+ #
978
+ attr_reader :apply_software_update
880
979
 
881
980
  # @private
882
981
  def initialize parent_rpcs = nil
883
- list_instances_config = parent_rpcs&.list_instances if parent_rpcs&.respond_to? :list_instances
982
+ list_instances_config = parent_rpcs.list_instances if parent_rpcs.respond_to? :list_instances
884
983
  @list_instances = ::Gapic::Config::Method.new list_instances_config
885
- get_instance_config = parent_rpcs&.get_instance if parent_rpcs&.respond_to? :get_instance
984
+ get_instance_config = parent_rpcs.get_instance if parent_rpcs.respond_to? :get_instance
886
985
  @get_instance = ::Gapic::Config::Method.new get_instance_config
887
- create_instance_config = parent_rpcs&.create_instance if parent_rpcs&.respond_to? :create_instance
986
+ create_instance_config = parent_rpcs.create_instance if parent_rpcs.respond_to? :create_instance
888
987
  @create_instance = ::Gapic::Config::Method.new create_instance_config
889
- update_instance_config = parent_rpcs&.update_instance if parent_rpcs&.respond_to? :update_instance
988
+ update_instance_config = parent_rpcs.update_instance if parent_rpcs.respond_to? :update_instance
890
989
  @update_instance = ::Gapic::Config::Method.new update_instance_config
891
- update_parameters_config = parent_rpcs&.update_parameters if parent_rpcs&.respond_to? :update_parameters
990
+ update_parameters_config = parent_rpcs.update_parameters if parent_rpcs.respond_to? :update_parameters
892
991
  @update_parameters = ::Gapic::Config::Method.new update_parameters_config
893
- delete_instance_config = parent_rpcs&.delete_instance if parent_rpcs&.respond_to? :delete_instance
992
+ delete_instance_config = parent_rpcs.delete_instance if parent_rpcs.respond_to? :delete_instance
894
993
  @delete_instance = ::Gapic::Config::Method.new delete_instance_config
895
- apply_parameters_config = parent_rpcs&.apply_parameters if parent_rpcs&.respond_to? :apply_parameters
994
+ apply_parameters_config = parent_rpcs.apply_parameters if parent_rpcs.respond_to? :apply_parameters
896
995
  @apply_parameters = ::Gapic::Config::Method.new apply_parameters_config
996
+ apply_software_update_config = parent_rpcs.apply_software_update if parent_rpcs.respond_to? :apply_software_update
997
+ @apply_software_update = ::Gapic::Config::Method.new apply_software_update_config
897
998
 
898
999
  yield self if block_given?
899
1000
  end