google-cloud-app_engine-v1 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ec714899e1cdeabeee825bf59ffb894cdbc485fa6c4f68cd6f69b857f19c4c6a
4
- data.tar.gz: 63f47a2f2011389fe711573189409656ec013e7321e26aa76029e51a79c4fc49
3
+ metadata.gz: 63794941a7d4c11917924c1ce1306755b0afea07747297ea9bfad29d26d98793
4
+ data.tar.gz: 15835bfe2fda664c4a9e511a0c55d6b51694d8a89835521f7f739c3e448317f6
5
5
  SHA512:
6
- metadata.gz: b30b0d0ab621942d72c6184618490bcc8e147bd60588fdeba6d035edb1eb34344283b06d58be97245368525f2e24399b7a4a6bdbb079ebe44d203bae7ddfd849
7
- data.tar.gz: af894a5da0959af87f2c1e3a46de23f3eebb36cda0c03eb6728e10094af771792e91191d7a2019ea9103a8a3eb94b419a9fc17823d644336afe5c698d13346e8
6
+ metadata.gz: 4f59bcd391ce20cff38864fb40bf4d42e18738498aa4b2dfaa89a91178590fddc2d2b490bf850e133ac26569a0f26aaaf47b1998a15c7cadee71894523036228
7
+ data.tar.gz: '047313934e02b17c3e3e353f7494a992cfd00ddc02622f3524651a02e470b2d4a81961e0bcd0ad61f8f0dae1fc24482e4de9503b06dccf85a5db4eaccb3e6167'
data/README.md CHANGED
@@ -71,11 +71,11 @@ end
71
71
 
72
72
  ## Supported Ruby Versions
73
73
 
74
- This library is supported on Ruby 2.4+.
74
+ This library is supported on Ruby 2.5+.
75
75
 
76
76
  Google provides official support for Ruby versions that are actively supported
77
77
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
78
- in security maintenance, and not end of life. Currently, this means Ruby 2.4
78
+ in security maintenance, and not end of life. Currently, this means Ruby 2.5
79
79
  and later. Older versions of Ruby _may_ still work, but are unsupported and not
80
80
  recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
81
81
  about the Ruby support schedule.
@@ -58,7 +58,7 @@ module Google
58
58
  parent_config = while namespace.any?
59
59
  parent_name = namespace.join "::"
60
60
  parent_const = const_get parent_name
61
- break parent_const.configure if parent_const&.respond_to? :configure
61
+ break parent_const.configure if parent_const.respond_to? :configure
62
62
  namespace.pop
63
63
  end
64
64
  default_config = Client::Configuration.new parent_config
@@ -129,7 +129,7 @@ module Google
129
129
  enable_self_signed_jwt = @config.scope == Client.configure.scope &&
130
130
  @config.endpoint == Client.configure.endpoint &&
131
131
  !@config.endpoint.split(".").first.include?("-")
132
- credentials ||= Credentials.default scope: @config.scope,
132
+ credentials ||= Credentials.default scope: @config.scope,
133
133
  enable_self_signed_jwt: enable_self_signed_jwt
134
134
  if credentials.is_a?(String) || credentials.is_a?(Hash)
135
135
  credentials = Credentials.new credentials, scope: @config.scope
@@ -536,7 +536,7 @@ module Google
536
536
  config_attr :scope, nil, ::String, ::Array, nil
537
537
  config_attr :lib_name, nil, ::String, nil
538
538
  config_attr :lib_version, nil, ::String, nil
539
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
539
+ config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
540
540
  config_attr :interceptors, nil, ::Array, nil
541
541
  config_attr :timeout, nil, ::Numeric, nil
542
542
  config_attr :metadata, nil, ::Hash, nil
@@ -557,7 +557,7 @@ module Google
557
557
  def rpcs
558
558
  @rpcs ||= begin
559
559
  parent_rpcs = nil
560
- parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config&.respond_to?(:rpcs)
560
+ parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
561
561
  Rpcs.new parent_rpcs
562
562
  end
563
563
  end
@@ -603,13 +603,13 @@ module Google
603
603
 
604
604
  # @private
605
605
  def initialize parent_rpcs = nil
606
- get_application_config = parent_rpcs&.get_application if parent_rpcs&.respond_to? :get_application
606
+ get_application_config = parent_rpcs.get_application if parent_rpcs.respond_to? :get_application
607
607
  @get_application = ::Gapic::Config::Method.new get_application_config
608
- create_application_config = parent_rpcs&.create_application if parent_rpcs&.respond_to? :create_application
608
+ create_application_config = parent_rpcs.create_application if parent_rpcs.respond_to? :create_application
609
609
  @create_application = ::Gapic::Config::Method.new create_application_config
610
- update_application_config = parent_rpcs&.update_application if parent_rpcs&.respond_to? :update_application
610
+ update_application_config = parent_rpcs.update_application if parent_rpcs.respond_to? :update_application
611
611
  @update_application = ::Gapic::Config::Method.new update_application_config
612
- repair_application_config = parent_rpcs&.repair_application if parent_rpcs&.respond_to? :repair_application
612
+ repair_application_config = parent_rpcs.repair_application if parent_rpcs.respond_to? :repair_application
613
613
  @repair_application = ::Gapic::Config::Method.new repair_application_config
614
614
 
615
615
  yield self if block_given?
@@ -560,7 +560,7 @@ module Google
560
560
  config_attr :scope, nil, ::String, ::Array, nil
561
561
  config_attr :lib_name, nil, ::String, nil
562
562
  config_attr :lib_version, nil, ::String, nil
563
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
563
+ config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
564
564
  config_attr :interceptors, nil, ::Array, nil
565
565
  config_attr :timeout, nil, ::Numeric, nil
566
566
  config_attr :metadata, nil, ::Hash, nil
@@ -581,7 +581,7 @@ module Google
581
581
  def rpcs
582
582
  @rpcs ||= begin
583
583
  parent_rpcs = nil
584
- parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config&.respond_to?(:rpcs)
584
+ parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
585
585
  Rpcs.new parent_rpcs
586
586
  end
587
587
  end
@@ -632,15 +632,15 @@ module Google
632
632
 
633
633
  # @private
634
634
  def initialize parent_rpcs = nil
635
- list_operations_config = parent_rpcs&.list_operations if parent_rpcs&.respond_to? :list_operations
635
+ list_operations_config = parent_rpcs.list_operations if parent_rpcs.respond_to? :list_operations
636
636
  @list_operations = ::Gapic::Config::Method.new list_operations_config
637
- get_operation_config = parent_rpcs&.get_operation if parent_rpcs&.respond_to? :get_operation
637
+ get_operation_config = parent_rpcs.get_operation if parent_rpcs.respond_to? :get_operation
638
638
  @get_operation = ::Gapic::Config::Method.new get_operation_config
639
- delete_operation_config = parent_rpcs&.delete_operation if parent_rpcs&.respond_to? :delete_operation
639
+ delete_operation_config = parent_rpcs.delete_operation if parent_rpcs.respond_to? :delete_operation
640
640
  @delete_operation = ::Gapic::Config::Method.new delete_operation_config
641
- cancel_operation_config = parent_rpcs&.cancel_operation if parent_rpcs&.respond_to? :cancel_operation
641
+ cancel_operation_config = parent_rpcs.cancel_operation if parent_rpcs.respond_to? :cancel_operation
642
642
  @cancel_operation = ::Gapic::Config::Method.new cancel_operation_config
643
- wait_operation_config = parent_rpcs&.wait_operation if parent_rpcs&.respond_to? :wait_operation
643
+ wait_operation_config = parent_rpcs.wait_operation if parent_rpcs.respond_to? :wait_operation
644
644
  @wait_operation = ::Gapic::Config::Method.new wait_operation_config
645
645
 
646
646
  yield self if block_given?
@@ -59,7 +59,7 @@ module Google
59
59
  parent_config = while namespace.any?
60
60
  parent_name = namespace.join "::"
61
61
  parent_const = const_get parent_name
62
- break parent_const.configure if parent_const&.respond_to? :configure
62
+ break parent_const.configure if parent_const.respond_to? :configure
63
63
  namespace.pop
64
64
  end
65
65
  default_config = Client::Configuration.new parent_config
@@ -130,7 +130,7 @@ module Google
130
130
  enable_self_signed_jwt = @config.scope == Client.configure.scope &&
131
131
  @config.endpoint == Client.configure.endpoint &&
132
132
  !@config.endpoint.split(".").first.include?("-")
133
- credentials ||= Credentials.default scope: @config.scope,
133
+ credentials ||= Credentials.default scope: @config.scope,
134
134
  enable_self_signed_jwt: enable_self_signed_jwt
135
135
  if credentials.is_a?(String) || credentials.is_a?(Hash)
136
136
  credentials = Credentials.new credentials, scope: @config.scope
@@ -595,7 +595,7 @@ module Google
595
595
  config_attr :scope, nil, ::String, ::Array, nil
596
596
  config_attr :lib_name, nil, ::String, nil
597
597
  config_attr :lib_version, nil, ::String, nil
598
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
598
+ config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
599
599
  config_attr :interceptors, nil, ::Array, nil
600
600
  config_attr :timeout, nil, ::Numeric, nil
601
601
  config_attr :metadata, nil, ::Hash, nil
@@ -616,7 +616,7 @@ module Google
616
616
  def rpcs
617
617
  @rpcs ||= begin
618
618
  parent_rpcs = nil
619
- parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config&.respond_to?(:rpcs)
619
+ parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
620
620
  Rpcs.new parent_rpcs
621
621
  end
622
622
  end
@@ -667,15 +667,15 @@ module Google
667
667
 
668
668
  # @private
669
669
  def initialize parent_rpcs = nil
670
- list_authorized_certificates_config = parent_rpcs&.list_authorized_certificates if parent_rpcs&.respond_to? :list_authorized_certificates
670
+ list_authorized_certificates_config = parent_rpcs.list_authorized_certificates if parent_rpcs.respond_to? :list_authorized_certificates
671
671
  @list_authorized_certificates = ::Gapic::Config::Method.new list_authorized_certificates_config
672
- get_authorized_certificate_config = parent_rpcs&.get_authorized_certificate if parent_rpcs&.respond_to? :get_authorized_certificate
672
+ get_authorized_certificate_config = parent_rpcs.get_authorized_certificate if parent_rpcs.respond_to? :get_authorized_certificate
673
673
  @get_authorized_certificate = ::Gapic::Config::Method.new get_authorized_certificate_config
674
- create_authorized_certificate_config = parent_rpcs&.create_authorized_certificate if parent_rpcs&.respond_to? :create_authorized_certificate
674
+ create_authorized_certificate_config = parent_rpcs.create_authorized_certificate if parent_rpcs.respond_to? :create_authorized_certificate
675
675
  @create_authorized_certificate = ::Gapic::Config::Method.new create_authorized_certificate_config
676
- update_authorized_certificate_config = parent_rpcs&.update_authorized_certificate if parent_rpcs&.respond_to? :update_authorized_certificate
676
+ update_authorized_certificate_config = parent_rpcs.update_authorized_certificate if parent_rpcs.respond_to? :update_authorized_certificate
677
677
  @update_authorized_certificate = ::Gapic::Config::Method.new update_authorized_certificate_config
678
- delete_authorized_certificate_config = parent_rpcs&.delete_authorized_certificate if parent_rpcs&.respond_to? :delete_authorized_certificate
678
+ delete_authorized_certificate_config = parent_rpcs.delete_authorized_certificate if parent_rpcs.respond_to? :delete_authorized_certificate
679
679
  @delete_authorized_certificate = ::Gapic::Config::Method.new delete_authorized_certificate_config
680
680
 
681
681
  yield self if block_given?
@@ -60,7 +60,7 @@ module Google
60
60
  parent_config = while namespace.any?
61
61
  parent_name = namespace.join "::"
62
62
  parent_const = const_get parent_name
63
- break parent_const.configure if parent_const&.respond_to? :configure
63
+ break parent_const.configure if parent_const.respond_to? :configure
64
64
  namespace.pop
65
65
  end
66
66
  default_config = Client::Configuration.new parent_config
@@ -131,7 +131,7 @@ module Google
131
131
  enable_self_signed_jwt = @config.scope == Client.configure.scope &&
132
132
  @config.endpoint == Client.configure.endpoint &&
133
133
  !@config.endpoint.split(".").first.include?("-")
134
- credentials ||= Credentials.default scope: @config.scope,
134
+ credentials ||= Credentials.default scope: @config.scope,
135
135
  enable_self_signed_jwt: enable_self_signed_jwt
136
136
  if credentials.is_a?(String) || credentials.is_a?(Hash)
137
137
  credentials = Credentials.new credentials, scope: @config.scope
@@ -313,7 +313,7 @@ module Google
313
313
  config_attr :scope, nil, ::String, ::Array, nil
314
314
  config_attr :lib_name, nil, ::String, nil
315
315
  config_attr :lib_version, nil, ::String, nil
316
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
316
+ config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
317
317
  config_attr :interceptors, nil, ::Array, nil
318
318
  config_attr :timeout, nil, ::Numeric, nil
319
319
  config_attr :metadata, nil, ::Hash, nil
@@ -334,7 +334,7 @@ module Google
334
334
  def rpcs
335
335
  @rpcs ||= begin
336
336
  parent_rpcs = nil
337
- parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config&.respond_to?(:rpcs)
337
+ parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
338
338
  Rpcs.new parent_rpcs
339
339
  end
340
340
  end
@@ -365,7 +365,7 @@ module Google
365
365
 
366
366
  # @private
367
367
  def initialize parent_rpcs = nil
368
- list_authorized_domains_config = parent_rpcs&.list_authorized_domains if parent_rpcs&.respond_to? :list_authorized_domains
368
+ list_authorized_domains_config = parent_rpcs.list_authorized_domains if parent_rpcs.respond_to? :list_authorized_domains
369
369
  @list_authorized_domains = ::Gapic::Config::Method.new list_authorized_domains_config
370
370
 
371
371
  yield self if block_given?
@@ -58,7 +58,7 @@ module Google
58
58
  parent_config = while namespace.any?
59
59
  parent_name = namespace.join "::"
60
60
  parent_const = const_get parent_name
61
- break parent_const.configure if parent_const&.respond_to? :configure
61
+ break parent_const.configure if parent_const.respond_to? :configure
62
62
  namespace.pop
63
63
  end
64
64
  default_config = Client::Configuration.new parent_config
@@ -129,7 +129,7 @@ module Google
129
129
  enable_self_signed_jwt = @config.scope == Client.configure.scope &&
130
130
  @config.endpoint == Client.configure.endpoint &&
131
131
  !@config.endpoint.split(".").first.include?("-")
132
- credentials ||= Credentials.default scope: @config.scope,
132
+ credentials ||= Credentials.default scope: @config.scope,
133
133
  enable_self_signed_jwt: enable_self_signed_jwt
134
134
  if credentials.is_a?(String) || credentials.is_a?(Hash)
135
135
  credentials = Credentials.new credentials, scope: @config.scope
@@ -610,7 +610,7 @@ module Google
610
610
  config_attr :scope, nil, ::String, ::Array, nil
611
611
  config_attr :lib_name, nil, ::String, nil
612
612
  config_attr :lib_version, nil, ::String, nil
613
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
613
+ config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
614
614
  config_attr :interceptors, nil, ::Array, nil
615
615
  config_attr :timeout, nil, ::Numeric, nil
616
616
  config_attr :metadata, nil, ::Hash, nil
@@ -631,7 +631,7 @@ module Google
631
631
  def rpcs
632
632
  @rpcs ||= begin
633
633
  parent_rpcs = nil
634
- parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config&.respond_to?(:rpcs)
634
+ parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
635
635
  Rpcs.new parent_rpcs
636
636
  end
637
637
  end
@@ -682,15 +682,15 @@ module Google
682
682
 
683
683
  # @private
684
684
  def initialize parent_rpcs = nil
685
- list_domain_mappings_config = parent_rpcs&.list_domain_mappings if parent_rpcs&.respond_to? :list_domain_mappings
685
+ list_domain_mappings_config = parent_rpcs.list_domain_mappings if parent_rpcs.respond_to? :list_domain_mappings
686
686
  @list_domain_mappings = ::Gapic::Config::Method.new list_domain_mappings_config
687
- get_domain_mapping_config = parent_rpcs&.get_domain_mapping if parent_rpcs&.respond_to? :get_domain_mapping
687
+ get_domain_mapping_config = parent_rpcs.get_domain_mapping if parent_rpcs.respond_to? :get_domain_mapping
688
688
  @get_domain_mapping = ::Gapic::Config::Method.new get_domain_mapping_config
689
- create_domain_mapping_config = parent_rpcs&.create_domain_mapping if parent_rpcs&.respond_to? :create_domain_mapping
689
+ create_domain_mapping_config = parent_rpcs.create_domain_mapping if parent_rpcs.respond_to? :create_domain_mapping
690
690
  @create_domain_mapping = ::Gapic::Config::Method.new create_domain_mapping_config
691
- update_domain_mapping_config = parent_rpcs&.update_domain_mapping if parent_rpcs&.respond_to? :update_domain_mapping
691
+ update_domain_mapping_config = parent_rpcs.update_domain_mapping if parent_rpcs.respond_to? :update_domain_mapping
692
692
  @update_domain_mapping = ::Gapic::Config::Method.new update_domain_mapping_config
693
- delete_domain_mapping_config = parent_rpcs&.delete_domain_mapping if parent_rpcs&.respond_to? :delete_domain_mapping
693
+ delete_domain_mapping_config = parent_rpcs.delete_domain_mapping if parent_rpcs.respond_to? :delete_domain_mapping
694
694
  @delete_domain_mapping = ::Gapic::Config::Method.new delete_domain_mapping_config
695
695
 
696
696
  yield self if block_given?
@@ -560,7 +560,7 @@ module Google
560
560
  config_attr :scope, nil, ::String, ::Array, nil
561
561
  config_attr :lib_name, nil, ::String, nil
562
562
  config_attr :lib_version, nil, ::String, nil
563
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
563
+ config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
564
564
  config_attr :interceptors, nil, ::Array, nil
565
565
  config_attr :timeout, nil, ::Numeric, nil
566
566
  config_attr :metadata, nil, ::Hash, nil
@@ -581,7 +581,7 @@ module Google
581
581
  def rpcs
582
582
  @rpcs ||= begin
583
583
  parent_rpcs = nil
584
- parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config&.respond_to?(:rpcs)
584
+ parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
585
585
  Rpcs.new parent_rpcs
586
586
  end
587
587
  end
@@ -632,15 +632,15 @@ module Google
632
632
 
633
633
  # @private
634
634
  def initialize parent_rpcs = nil
635
- list_operations_config = parent_rpcs&.list_operations if parent_rpcs&.respond_to? :list_operations
635
+ list_operations_config = parent_rpcs.list_operations if parent_rpcs.respond_to? :list_operations
636
636
  @list_operations = ::Gapic::Config::Method.new list_operations_config
637
- get_operation_config = parent_rpcs&.get_operation if parent_rpcs&.respond_to? :get_operation
637
+ get_operation_config = parent_rpcs.get_operation if parent_rpcs.respond_to? :get_operation
638
638
  @get_operation = ::Gapic::Config::Method.new get_operation_config
639
- delete_operation_config = parent_rpcs&.delete_operation if parent_rpcs&.respond_to? :delete_operation
639
+ delete_operation_config = parent_rpcs.delete_operation if parent_rpcs.respond_to? :delete_operation
640
640
  @delete_operation = ::Gapic::Config::Method.new delete_operation_config
641
- cancel_operation_config = parent_rpcs&.cancel_operation if parent_rpcs&.respond_to? :cancel_operation
641
+ cancel_operation_config = parent_rpcs.cancel_operation if parent_rpcs.respond_to? :cancel_operation
642
642
  @cancel_operation = ::Gapic::Config::Method.new cancel_operation_config
643
- wait_operation_config = parent_rpcs&.wait_operation if parent_rpcs&.respond_to? :wait_operation
643
+ wait_operation_config = parent_rpcs.wait_operation if parent_rpcs.respond_to? :wait_operation
644
644
  @wait_operation = ::Gapic::Config::Method.new wait_operation_config
645
645
 
646
646
  yield self if block_given?
@@ -67,7 +67,7 @@ module Google
67
67
  parent_config = while namespace.any?
68
68
  parent_name = namespace.join "::"
69
69
  parent_const = const_get parent_name
70
- break parent_const.configure if parent_const&.respond_to? :configure
70
+ break parent_const.configure if parent_const.respond_to? :configure
71
71
  namespace.pop
72
72
  end
73
73
  default_config = Client::Configuration.new parent_config
@@ -138,7 +138,7 @@ module Google
138
138
  enable_self_signed_jwt = @config.scope == Client.configure.scope &&
139
139
  @config.endpoint == Client.configure.endpoint &&
140
140
  !@config.endpoint.split(".").first.include?("-")
141
- credentials ||= Credentials.default scope: @config.scope,
141
+ credentials ||= Credentials.default scope: @config.scope,
142
142
  enable_self_signed_jwt: enable_self_signed_jwt
143
143
  if credentials.is_a?(String) || credentials.is_a?(Hash)
144
144
  credentials = Credentials.new credentials, scope: @config.scope
@@ -681,7 +681,7 @@ module Google
681
681
  config_attr :scope, nil, ::String, ::Array, nil
682
682
  config_attr :lib_name, nil, ::String, nil
683
683
  config_attr :lib_version, nil, ::String, nil
684
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
684
+ config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
685
685
  config_attr :interceptors, nil, ::Array, nil
686
686
  config_attr :timeout, nil, ::Numeric, nil
687
687
  config_attr :metadata, nil, ::Hash, nil
@@ -702,7 +702,7 @@ module Google
702
702
  def rpcs
703
703
  @rpcs ||= begin
704
704
  parent_rpcs = nil
705
- parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config&.respond_to?(:rpcs)
705
+ parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
706
706
  Rpcs.new parent_rpcs
707
707
  end
708
708
  end
@@ -758,17 +758,17 @@ module Google
758
758
 
759
759
  # @private
760
760
  def initialize parent_rpcs = nil
761
- list_ingress_rules_config = parent_rpcs&.list_ingress_rules if parent_rpcs&.respond_to? :list_ingress_rules
761
+ list_ingress_rules_config = parent_rpcs.list_ingress_rules if parent_rpcs.respond_to? :list_ingress_rules
762
762
  @list_ingress_rules = ::Gapic::Config::Method.new list_ingress_rules_config
763
- batch_update_ingress_rules_config = parent_rpcs&.batch_update_ingress_rules if parent_rpcs&.respond_to? :batch_update_ingress_rules
763
+ batch_update_ingress_rules_config = parent_rpcs.batch_update_ingress_rules if parent_rpcs.respond_to? :batch_update_ingress_rules
764
764
  @batch_update_ingress_rules = ::Gapic::Config::Method.new batch_update_ingress_rules_config
765
- create_ingress_rule_config = parent_rpcs&.create_ingress_rule if parent_rpcs&.respond_to? :create_ingress_rule
765
+ create_ingress_rule_config = parent_rpcs.create_ingress_rule if parent_rpcs.respond_to? :create_ingress_rule
766
766
  @create_ingress_rule = ::Gapic::Config::Method.new create_ingress_rule_config
767
- get_ingress_rule_config = parent_rpcs&.get_ingress_rule if parent_rpcs&.respond_to? :get_ingress_rule
767
+ get_ingress_rule_config = parent_rpcs.get_ingress_rule if parent_rpcs.respond_to? :get_ingress_rule
768
768
  @get_ingress_rule = ::Gapic::Config::Method.new get_ingress_rule_config
769
- update_ingress_rule_config = parent_rpcs&.update_ingress_rule if parent_rpcs&.respond_to? :update_ingress_rule
769
+ update_ingress_rule_config = parent_rpcs.update_ingress_rule if parent_rpcs.respond_to? :update_ingress_rule
770
770
  @update_ingress_rule = ::Gapic::Config::Method.new update_ingress_rule_config
771
- delete_ingress_rule_config = parent_rpcs&.delete_ingress_rule if parent_rpcs&.respond_to? :delete_ingress_rule
771
+ delete_ingress_rule_config = parent_rpcs.delete_ingress_rule if parent_rpcs.respond_to? :delete_ingress_rule
772
772
  @delete_ingress_rule = ::Gapic::Config::Method.new delete_ingress_rule_config
773
773
 
774
774
  yield self if block_given?
@@ -58,7 +58,7 @@ module Google
58
58
  parent_config = while namespace.any?
59
59
  parent_name = namespace.join "::"
60
60
  parent_const = const_get parent_name
61
- break parent_const.configure if parent_const&.respond_to? :configure
61
+ break parent_const.configure if parent_const.respond_to? :configure
62
62
  namespace.pop
63
63
  end
64
64
  default_config = Client::Configuration.new parent_config
@@ -129,7 +129,7 @@ module Google
129
129
  enable_self_signed_jwt = @config.scope == Client.configure.scope &&
130
130
  @config.endpoint == Client.configure.endpoint &&
131
131
  !@config.endpoint.split(".").first.include?("-")
132
- credentials ||= Credentials.default scope: @config.scope,
132
+ credentials ||= Credentials.default scope: @config.scope,
133
133
  enable_self_signed_jwt: enable_self_signed_jwt
134
134
  if credentials.is_a?(String) || credentials.is_a?(Hash)
135
135
  credentials = Credentials.new credentials, scope: @config.scope
@@ -556,7 +556,7 @@ module Google
556
556
  config_attr :scope, nil, ::String, ::Array, nil
557
557
  config_attr :lib_name, nil, ::String, nil
558
558
  config_attr :lib_version, nil, ::String, nil
559
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
559
+ config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
560
560
  config_attr :interceptors, nil, ::Array, nil
561
561
  config_attr :timeout, nil, ::Numeric, nil
562
562
  config_attr :metadata, nil, ::Hash, nil
@@ -577,7 +577,7 @@ module Google
577
577
  def rpcs
578
578
  @rpcs ||= begin
579
579
  parent_rpcs = nil
580
- parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config&.respond_to?(:rpcs)
580
+ parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
581
581
  Rpcs.new parent_rpcs
582
582
  end
583
583
  end
@@ -623,13 +623,13 @@ module Google
623
623
 
624
624
  # @private
625
625
  def initialize parent_rpcs = nil
626
- list_instances_config = parent_rpcs&.list_instances if parent_rpcs&.respond_to? :list_instances
626
+ list_instances_config = parent_rpcs.list_instances if parent_rpcs.respond_to? :list_instances
627
627
  @list_instances = ::Gapic::Config::Method.new list_instances_config
628
- get_instance_config = parent_rpcs&.get_instance if parent_rpcs&.respond_to? :get_instance
628
+ get_instance_config = parent_rpcs.get_instance if parent_rpcs.respond_to? :get_instance
629
629
  @get_instance = ::Gapic::Config::Method.new get_instance_config
630
- delete_instance_config = parent_rpcs&.delete_instance if parent_rpcs&.respond_to? :delete_instance
630
+ delete_instance_config = parent_rpcs.delete_instance if parent_rpcs.respond_to? :delete_instance
631
631
  @delete_instance = ::Gapic::Config::Method.new delete_instance_config
632
- debug_instance_config = parent_rpcs&.debug_instance if parent_rpcs&.respond_to? :debug_instance
632
+ debug_instance_config = parent_rpcs.debug_instance if parent_rpcs.respond_to? :debug_instance
633
633
  @debug_instance = ::Gapic::Config::Method.new debug_instance_config
634
634
 
635
635
  yield self if block_given?
@@ -560,7 +560,7 @@ module Google
560
560
  config_attr :scope, nil, ::String, ::Array, nil
561
561
  config_attr :lib_name, nil, ::String, nil
562
562
  config_attr :lib_version, nil, ::String, nil
563
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
563
+ config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
564
564
  config_attr :interceptors, nil, ::Array, nil
565
565
  config_attr :timeout, nil, ::Numeric, nil
566
566
  config_attr :metadata, nil, ::Hash, nil
@@ -581,7 +581,7 @@ module Google
581
581
  def rpcs
582
582
  @rpcs ||= begin
583
583
  parent_rpcs = nil
584
- parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config&.respond_to?(:rpcs)
584
+ parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
585
585
  Rpcs.new parent_rpcs
586
586
  end
587
587
  end
@@ -632,15 +632,15 @@ module Google
632
632
 
633
633
  # @private
634
634
  def initialize parent_rpcs = nil
635
- list_operations_config = parent_rpcs&.list_operations if parent_rpcs&.respond_to? :list_operations
635
+ list_operations_config = parent_rpcs.list_operations if parent_rpcs.respond_to? :list_operations
636
636
  @list_operations = ::Gapic::Config::Method.new list_operations_config
637
- get_operation_config = parent_rpcs&.get_operation if parent_rpcs&.respond_to? :get_operation
637
+ get_operation_config = parent_rpcs.get_operation if parent_rpcs.respond_to? :get_operation
638
638
  @get_operation = ::Gapic::Config::Method.new get_operation_config
639
- delete_operation_config = parent_rpcs&.delete_operation if parent_rpcs&.respond_to? :delete_operation
639
+ delete_operation_config = parent_rpcs.delete_operation if parent_rpcs.respond_to? :delete_operation
640
640
  @delete_operation = ::Gapic::Config::Method.new delete_operation_config
641
- cancel_operation_config = parent_rpcs&.cancel_operation if parent_rpcs&.respond_to? :cancel_operation
641
+ cancel_operation_config = parent_rpcs.cancel_operation if parent_rpcs.respond_to? :cancel_operation
642
642
  @cancel_operation = ::Gapic::Config::Method.new cancel_operation_config
643
- wait_operation_config = parent_rpcs&.wait_operation if parent_rpcs&.respond_to? :wait_operation
643
+ wait_operation_config = parent_rpcs.wait_operation if parent_rpcs.respond_to? :wait_operation
644
644
  @wait_operation = ::Gapic::Config::Method.new wait_operation_config
645
645
 
646
646
  yield self if block_given?
@@ -58,7 +58,7 @@ module Google
58
58
  parent_config = while namespace.any?
59
59
  parent_name = namespace.join "::"
60
60
  parent_const = const_get parent_name
61
- break parent_const.configure if parent_const&.respond_to? :configure
61
+ break parent_const.configure if parent_const.respond_to? :configure
62
62
  namespace.pop
63
63
  end
64
64
  default_config = Client::Configuration.new parent_config
@@ -129,7 +129,7 @@ module Google
129
129
  enable_self_signed_jwt = @config.scope == Client.configure.scope &&
130
130
  @config.endpoint == Client.configure.endpoint &&
131
131
  !@config.endpoint.split(".").first.include?("-")
132
- credentials ||= Credentials.default scope: @config.scope,
132
+ credentials ||= Credentials.default scope: @config.scope,
133
133
  enable_self_signed_jwt: enable_self_signed_jwt
134
134
  if credentials.is_a?(String) || credentials.is_a?(Hash)
135
135
  credentials = Credentials.new credentials, scope: @config.scope
@@ -541,7 +541,7 @@ module Google
541
541
  config_attr :scope, nil, ::String, ::Array, nil
542
542
  config_attr :lib_name, nil, ::String, nil
543
543
  config_attr :lib_version, nil, ::String, nil
544
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
544
+ config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
545
545
  config_attr :interceptors, nil, ::Array, nil
546
546
  config_attr :timeout, nil, ::Numeric, nil
547
547
  config_attr :metadata, nil, ::Hash, nil
@@ -562,7 +562,7 @@ module Google
562
562
  def rpcs
563
563
  @rpcs ||= begin
564
564
  parent_rpcs = nil
565
- parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config&.respond_to?(:rpcs)
565
+ parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
566
566
  Rpcs.new parent_rpcs
567
567
  end
568
568
  end
@@ -608,13 +608,13 @@ module Google
608
608
 
609
609
  # @private
610
610
  def initialize parent_rpcs = nil
611
- list_services_config = parent_rpcs&.list_services if parent_rpcs&.respond_to? :list_services
611
+ list_services_config = parent_rpcs.list_services if parent_rpcs.respond_to? :list_services
612
612
  @list_services = ::Gapic::Config::Method.new list_services_config
613
- get_service_config = parent_rpcs&.get_service if parent_rpcs&.respond_to? :get_service
613
+ get_service_config = parent_rpcs.get_service if parent_rpcs.respond_to? :get_service
614
614
  @get_service = ::Gapic::Config::Method.new get_service_config
615
- update_service_config = parent_rpcs&.update_service if parent_rpcs&.respond_to? :update_service
615
+ update_service_config = parent_rpcs.update_service if parent_rpcs.respond_to? :update_service
616
616
  @update_service = ::Gapic::Config::Method.new update_service_config
617
- delete_service_config = parent_rpcs&.delete_service if parent_rpcs&.respond_to? :delete_service
617
+ delete_service_config = parent_rpcs.delete_service if parent_rpcs.respond_to? :delete_service
618
618
  @delete_service = ::Gapic::Config::Method.new delete_service_config
619
619
 
620
620
  yield self if block_given?
@@ -560,7 +560,7 @@ module Google
560
560
  config_attr :scope, nil, ::String, ::Array, nil
561
561
  config_attr :lib_name, nil, ::String, nil
562
562
  config_attr :lib_version, nil, ::String, nil
563
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
563
+ config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
564
564
  config_attr :interceptors, nil, ::Array, nil
565
565
  config_attr :timeout, nil, ::Numeric, nil
566
566
  config_attr :metadata, nil, ::Hash, nil
@@ -581,7 +581,7 @@ module Google
581
581
  def rpcs
582
582
  @rpcs ||= begin
583
583
  parent_rpcs = nil
584
- parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config&.respond_to?(:rpcs)
584
+ parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
585
585
  Rpcs.new parent_rpcs
586
586
  end
587
587
  end
@@ -632,15 +632,15 @@ module Google
632
632
 
633
633
  # @private
634
634
  def initialize parent_rpcs = nil
635
- list_operations_config = parent_rpcs&.list_operations if parent_rpcs&.respond_to? :list_operations
635
+ list_operations_config = parent_rpcs.list_operations if parent_rpcs.respond_to? :list_operations
636
636
  @list_operations = ::Gapic::Config::Method.new list_operations_config
637
- get_operation_config = parent_rpcs&.get_operation if parent_rpcs&.respond_to? :get_operation
637
+ get_operation_config = parent_rpcs.get_operation if parent_rpcs.respond_to? :get_operation
638
638
  @get_operation = ::Gapic::Config::Method.new get_operation_config
639
- delete_operation_config = parent_rpcs&.delete_operation if parent_rpcs&.respond_to? :delete_operation
639
+ delete_operation_config = parent_rpcs.delete_operation if parent_rpcs.respond_to? :delete_operation
640
640
  @delete_operation = ::Gapic::Config::Method.new delete_operation_config
641
- cancel_operation_config = parent_rpcs&.cancel_operation if parent_rpcs&.respond_to? :cancel_operation
641
+ cancel_operation_config = parent_rpcs.cancel_operation if parent_rpcs.respond_to? :cancel_operation
642
642
  @cancel_operation = ::Gapic::Config::Method.new cancel_operation_config
643
- wait_operation_config = parent_rpcs&.wait_operation if parent_rpcs&.respond_to? :wait_operation
643
+ wait_operation_config = parent_rpcs.wait_operation if parent_rpcs.respond_to? :wait_operation
644
644
  @wait_operation = ::Gapic::Config::Method.new wait_operation_config
645
645
 
646
646
  yield self if block_given?
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module AppEngine
23
23
  module V1
24
- VERSION = "0.1.0"
24
+ VERSION = "0.2.0"
25
25
  end
26
26
  end
27
27
  end
@@ -58,7 +58,7 @@ module Google
58
58
  parent_config = while namespace.any?
59
59
  parent_name = namespace.join "::"
60
60
  parent_const = const_get parent_name
61
- break parent_const.configure if parent_const&.respond_to? :configure
61
+ break parent_const.configure if parent_const.respond_to? :configure
62
62
  namespace.pop
63
63
  end
64
64
  default_config = Client::Configuration.new parent_config
@@ -129,7 +129,7 @@ module Google
129
129
  enable_self_signed_jwt = @config.scope == Client.configure.scope &&
130
130
  @config.endpoint == Client.configure.endpoint &&
131
131
  !@config.endpoint.split(".").first.include?("-")
132
- credentials ||= Credentials.default scope: @config.scope,
132
+ credentials ||= Credentials.default scope: @config.scope,
133
133
  enable_self_signed_jwt: enable_self_signed_jwt
134
134
  if credentials.is_a?(String) || credentials.is_a?(Hash)
135
135
  credentials = Credentials.new credentials, scope: @config.scope
@@ -643,7 +643,7 @@ module Google
643
643
  config_attr :scope, nil, ::String, ::Array, nil
644
644
  config_attr :lib_name, nil, ::String, nil
645
645
  config_attr :lib_version, nil, ::String, nil
646
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
646
+ config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
647
647
  config_attr :interceptors, nil, ::Array, nil
648
648
  config_attr :timeout, nil, ::Numeric, nil
649
649
  config_attr :metadata, nil, ::Hash, nil
@@ -664,7 +664,7 @@ module Google
664
664
  def rpcs
665
665
  @rpcs ||= begin
666
666
  parent_rpcs = nil
667
- parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config&.respond_to?(:rpcs)
667
+ parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
668
668
  Rpcs.new parent_rpcs
669
669
  end
670
670
  end
@@ -715,15 +715,15 @@ module Google
715
715
 
716
716
  # @private
717
717
  def initialize parent_rpcs = nil
718
- list_versions_config = parent_rpcs&.list_versions if parent_rpcs&.respond_to? :list_versions
718
+ list_versions_config = parent_rpcs.list_versions if parent_rpcs.respond_to? :list_versions
719
719
  @list_versions = ::Gapic::Config::Method.new list_versions_config
720
- get_version_config = parent_rpcs&.get_version if parent_rpcs&.respond_to? :get_version
720
+ get_version_config = parent_rpcs.get_version if parent_rpcs.respond_to? :get_version
721
721
  @get_version = ::Gapic::Config::Method.new get_version_config
722
- create_version_config = parent_rpcs&.create_version if parent_rpcs&.respond_to? :create_version
722
+ create_version_config = parent_rpcs.create_version if parent_rpcs.respond_to? :create_version
723
723
  @create_version = ::Gapic::Config::Method.new create_version_config
724
- update_version_config = parent_rpcs&.update_version if parent_rpcs&.respond_to? :update_version
724
+ update_version_config = parent_rpcs.update_version if parent_rpcs.respond_to? :update_version
725
725
  @update_version = ::Gapic::Config::Method.new update_version_config
726
- delete_version_config = parent_rpcs&.delete_version if parent_rpcs&.respond_to? :delete_version
726
+ delete_version_config = parent_rpcs.delete_version if parent_rpcs.respond_to? :delete_version
727
727
  @delete_version = ::Gapic::Config::Method.new delete_version_config
728
728
 
729
729
  yield self if block_given?
@@ -560,7 +560,7 @@ module Google
560
560
  config_attr :scope, nil, ::String, ::Array, nil
561
561
  config_attr :lib_name, nil, ::String, nil
562
562
  config_attr :lib_version, nil, ::String, nil
563
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
563
+ config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
564
564
  config_attr :interceptors, nil, ::Array, nil
565
565
  config_attr :timeout, nil, ::Numeric, nil
566
566
  config_attr :metadata, nil, ::Hash, nil
@@ -581,7 +581,7 @@ module Google
581
581
  def rpcs
582
582
  @rpcs ||= begin
583
583
  parent_rpcs = nil
584
- parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config&.respond_to?(:rpcs)
584
+ parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
585
585
  Rpcs.new parent_rpcs
586
586
  end
587
587
  end
@@ -632,15 +632,15 @@ module Google
632
632
 
633
633
  # @private
634
634
  def initialize parent_rpcs = nil
635
- list_operations_config = parent_rpcs&.list_operations if parent_rpcs&.respond_to? :list_operations
635
+ list_operations_config = parent_rpcs.list_operations if parent_rpcs.respond_to? :list_operations
636
636
  @list_operations = ::Gapic::Config::Method.new list_operations_config
637
- get_operation_config = parent_rpcs&.get_operation if parent_rpcs&.respond_to? :get_operation
637
+ get_operation_config = parent_rpcs.get_operation if parent_rpcs.respond_to? :get_operation
638
638
  @get_operation = ::Gapic::Config::Method.new get_operation_config
639
- delete_operation_config = parent_rpcs&.delete_operation if parent_rpcs&.respond_to? :delete_operation
639
+ delete_operation_config = parent_rpcs.delete_operation if parent_rpcs.respond_to? :delete_operation
640
640
  @delete_operation = ::Gapic::Config::Method.new delete_operation_config
641
- cancel_operation_config = parent_rpcs&.cancel_operation if parent_rpcs&.respond_to? :cancel_operation
641
+ cancel_operation_config = parent_rpcs.cancel_operation if parent_rpcs.respond_to? :cancel_operation
642
642
  @cancel_operation = ::Gapic::Config::Method.new cancel_operation_config
643
- wait_operation_config = parent_rpcs&.wait_operation if parent_rpcs&.respond_to? :wait_operation
643
+ wait_operation_config = parent_rpcs.wait_operation if parent_rpcs.respond_to? :wait_operation
644
644
  @wait_operation = ::Gapic::Config::Method.new wait_operation_config
645
645
 
646
646
  yield self if block_given?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-app_engine-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-24 00:00:00.000000000 Z
11
+ date: 2021-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 1.24.0
47
+ version: 1.25.1
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 1.24.0
54
+ version: 1.25.1
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: minitest
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -247,14 +247,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
247
247
  requirements:
248
248
  - - ">="
249
249
  - !ruby/object:Gem::Version
250
- version: '2.4'
250
+ version: '2.5'
251
251
  required_rubygems_version: !ruby/object:Gem::Requirement
252
252
  requirements:
253
253
  - - ">="
254
254
  - !ruby/object:Gem::Version
255
255
  version: '0'
256
256
  requirements: []
257
- rubygems_version: 3.2.11
257
+ rubygems_version: 3.2.13
258
258
  signing_key:
259
259
  specification_version: 4
260
260
  summary: API Client library for the App Engine Admin V1 API