google-apis-servicenetworking_v1beta 0.21.0 → 0.24.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: 95225f26f0555e62ff21a06b572c869d1a32894ec29a64cd51919116a59ba101
4
- data.tar.gz: 87e2e71aa5fd95ab20a9d6923663d62f1861b46f7025a12326a8f3f7d64ce71a
3
+ metadata.gz: 3a1639a4f6d95a1d76a7b430fc278b00a29c7835cce1daf8353d62f7b9945d4d
4
+ data.tar.gz: c9f5185d29b30f8044590b84b699f36e77d5a330dd966e5fb8ec12a8f2cb1577
5
5
  SHA512:
6
- metadata.gz: 72b5f3d84ebcfebe121a80342d27504e4979854eedae1369bdf1917383b3a79c81ffe6e648ad5913c41858b01bfaeec2718fb28b3a110de2f3bc7c4fb8bbd2b9
7
- data.tar.gz: a792734f4c7cc7b335f70e64a37f8f039893a616f5052fe6ca49b1928d226865ff59999eca0778b5f3a1ff56be0c9895461ee38ac70f7e4cb7d0d35d126f2432
6
+ metadata.gz: 40a4a8eb738b47fdb1f3e12ab219036a11cd79788b8152ad10d2f08927a5445ac230de335ca8de4ea6cb38d5ef5478e7bb14b6d15a9bcab9f882278791cd2d39
7
+ data.tar.gz: 5f96bd4d169a276a3f2db2199300683290b3577561f7b617c4ea3a98d6000be3bfc75781cac4e64cdf6b488842d18e404d4f8f3702e5549cfb0e519f4c588730
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-servicenetworking_v1beta
2
2
 
3
+ ### v0.24.0 (2022-07-13)
4
+
5
+ * Regenerated from discovery document revision 20220711
6
+ * Regenerated using generator version 0.9.0
7
+
8
+ ### v0.23.0 (2022-07-01)
9
+
10
+ * Regenerated using generator version 0.8.0
11
+
12
+ ### v0.22.0 (2022-06-21)
13
+
14
+ * Regenerated from discovery document revision 20220619
15
+
3
16
  ### v0.21.0 (2022-06-18)
4
17
 
5
18
  * Regenerated using generator version 0.7.0
@@ -633,6 +633,37 @@ module Google
633
633
  end
634
634
  end
635
635
 
636
+ # Cloud SQL configuration.
637
+ class CloudSqlConfig
638
+ include Google::Apis::Core::Hashable
639
+
640
+ # Peering service used for peering with the Cloud SQL project.
641
+ # Corresponds to the JSON property `service`
642
+ # @return [String]
643
+ attr_accessor :service
644
+
645
+ # The name of network in Cloud SQL umbrella project.
646
+ # Corresponds to the JSON property `umbrellaNetwork`
647
+ # @return [String]
648
+ attr_accessor :umbrella_network
649
+
650
+ # The project number of Cloud SQL umbrella project.
651
+ # Corresponds to the JSON property `umbrellaProject`
652
+ # @return [Fixnum]
653
+ attr_accessor :umbrella_project
654
+
655
+ def initialize(**args)
656
+ update!(**args)
657
+ end
658
+
659
+ # Update properties of this object
660
+ def update!(**args)
661
+ @service = args[:service] if args.key?(:service)
662
+ @umbrella_network = args[:umbrella_network] if args.key?(:umbrella_network)
663
+ @umbrella_project = args[:umbrella_project] if args.key?(:umbrella_project)
664
+ end
665
+ end
666
+
636
667
  # Represents a private connection resource. A private connection is implemented
637
668
  # as a VPC Network Peering connection between a service producer's VPC network
638
669
  # and a service consumer's VPC network.
@@ -688,6 +719,11 @@ module Google
688
719
  class ConsumerConfig
689
720
  include Google::Apis::Core::Hashable
690
721
 
722
+ # Represents one or multiple Cloud SQL configurations.
723
+ # Corresponds to the JSON property `cloudsqlConfigs`
724
+ # @return [Array<Google::Apis::ServicenetworkingV1beta::CloudSqlConfig>]
725
+ attr_accessor :cloudsql_configs
726
+
691
727
  # Export custom routes flag value for peering from consumer to producer.
692
728
  # Corresponds to the JSON property `consumerExportCustomRoutes`
693
729
  # @return [Boolean]
@@ -771,6 +807,7 @@ module Google
771
807
 
772
808
  # Update properties of this object
773
809
  def update!(**args)
810
+ @cloudsql_configs = args[:cloudsql_configs] if args.key?(:cloudsql_configs)
774
811
  @consumer_export_custom_routes = args[:consumer_export_custom_routes] if args.key?(:consumer_export_custom_routes)
775
812
  @consumer_export_subnet_routes_with_public_ip = args[:consumer_export_subnet_routes_with_public_ip] if args.key?(:consumer_export_subnet_routes_with_public_ip)
776
813
  @consumer_import_custom_routes = args[:consumer_import_custom_routes] if args.key?(:consumer_import_custom_routes)
@@ -2220,15 +2257,6 @@ module Google
2220
2257
  class MetricRule
2221
2258
  include Google::Apis::Core::Hashable
2222
2259
 
2223
- # Metrics to update when the selected methods are called. The key of the map is
2224
- # the metric name, the value is the DynamicCostType to specify how to calculate
2225
- # the cost from the request. The cost amount will be increased for the metric
2226
- # against which the quota limits are defined. It is only implemented in CloudESF(
2227
- # go/cloudesf)
2228
- # Corresponds to the JSON property `dynamicMetricCosts`
2229
- # @return [Hash<String,String>]
2230
- attr_accessor :dynamic_metric_costs
2231
-
2232
2260
  # Metrics to update when the selected methods are called, and the associated
2233
2261
  # cost applied to each metric. The key of the map is the metric name, and the
2234
2262
  # values are the amount increased for the metric against which the quota limits
@@ -2249,7 +2277,6 @@ module Google
2249
2277
 
2250
2278
  # Update properties of this object
2251
2279
  def update!(**args)
2252
- @dynamic_metric_costs = args[:dynamic_metric_costs] if args.key?(:dynamic_metric_costs)
2253
2280
  @metric_costs = args[:metric_costs] if args.key?(:metric_costs)
2254
2281
  @selector = args[:selector] if args.key?(:selector)
2255
2282
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ServicenetworkingV1beta
18
18
  # Version of the google-apis-servicenetworking_v1beta gem
19
- GEM_VERSION = "0.21.0"
19
+ GEM_VERSION = "0.24.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.7.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220513"
25
+ REVISION = "20220711"
26
26
  end
27
27
  end
28
28
  end
@@ -112,6 +112,12 @@ module Google
112
112
  include Google::Apis::Core::JsonObjectSupport
113
113
  end
114
114
 
115
+ class CloudSqlConfig
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
115
121
  class Connection
116
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
123
 
@@ -668,6 +674,15 @@ module Google
668
674
  end
669
675
  end
670
676
 
677
+ class CloudSqlConfig
678
+ # @private
679
+ class Representation < Google::Apis::Core::JsonRepresentation
680
+ property :service, as: 'service'
681
+ property :umbrella_network, as: 'umbrellaNetwork'
682
+ property :umbrella_project, :numeric_string => true, as: 'umbrellaProject'
683
+ end
684
+ end
685
+
671
686
  class Connection
672
687
  # @private
673
688
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -681,6 +696,8 @@ module Google
681
696
  class ConsumerConfig
682
697
  # @private
683
698
  class Representation < Google::Apis::Core::JsonRepresentation
699
+ collection :cloudsql_configs, as: 'cloudsqlConfigs', class: Google::Apis::ServicenetworkingV1beta::CloudSqlConfig, decorator: Google::Apis::ServicenetworkingV1beta::CloudSqlConfig::Representation
700
+
684
701
  property :consumer_export_custom_routes, as: 'consumerExportCustomRoutes'
685
702
  property :consumer_export_subnet_routes_with_public_ip, as: 'consumerExportSubnetRoutesWithPublicIp'
686
703
  property :consumer_import_custom_routes, as: 'consumerImportCustomRoutes'
@@ -1014,7 +1031,6 @@ module Google
1014
1031
  class MetricRule
1015
1032
  # @private
1016
1033
  class Representation < Google::Apis::Core::JsonRepresentation
1017
- hash :dynamic_metric_costs, as: 'dynamicMetricCosts'
1018
1034
  hash :metric_costs, as: 'metricCosts'
1019
1035
  property :selector, as: 'selector'
1020
1036
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-servicenetworking_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0
4
+ version: 0.24.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: 2022-06-20 00:00:00.000000000 Z
11
+ date: 2022-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.6'
19
+ version: '0.7'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.6'
29
+ version: '0.7'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-servicenetworking_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-servicenetworking_v1beta/v0.21.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-servicenetworking_v1beta/v0.24.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-servicenetworking_v1beta
63
63
  post_install_message:
64
64
  rdoc_options: []