google-apis-servicenetworking_v1 0.25.0 → 0.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 69b9d30757433188f20be7efbb01d4f85098a060c639ffffc5099e6c600c499d
4
- data.tar.gz: aeb0ee15a315d43738a1e3739572beb500c485d865f7e8489ccd20d1e516e79f
3
+ metadata.gz: f1dccd9c7de892d385a31feef4a6bf8ca95af0aeb750c8117bd0ae709491a6f9
4
+ data.tar.gz: a0b26c1893aa5403235449c4d0cf840c4d7fdc1747d50fb4fa23bf595517aa2d
5
5
  SHA512:
6
- metadata.gz: 2afbb5285e40862bdd3b632d251b556bd9aba92cfa3ae039d7779b7d6fcc946ab86f9183a604f081cf45c780e08df1fdd4c7c7eb0c7e7be03658a6ec56b518c8
7
- data.tar.gz: 6d060aa9d04c2fffb51a51758b4381a6f954bcb79e5d658346dce878339c65cee16eaeb3afefee71fcc8fc7e084b1cb0cd94fa759a692733f9d9f233856417c9
6
+ metadata.gz: 4c2563ebf2b5fb05f8100bbfcc11a036dc2c308caf29c5c10bf434578f1f38a247e1f82e45a0e902245387fc835592b4aa5a34808516c409dfa409b066a08c7b
7
+ data.tar.gz: 3153151dc5c4bb54f4accd5c607ad039b99bc11cb32ab94c8cf8e3f668c337d728a3beb11b4c04060bc8aeb0330e73da6d5246773ca858120167a2dad0416abd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-servicenetworking_v1
2
2
 
3
+ ### v0.28.0 (2022-07-13)
4
+
5
+ * Regenerated from discovery document revision 20220711
6
+ * Regenerated using generator version 0.9.0
7
+
8
+ ### v0.27.0 (2022-07-01)
9
+
10
+ * Regenerated using generator version 0.8.0
11
+
12
+ ### v0.26.0 (2022-06-21)
13
+
14
+ * Regenerated from discovery document revision 20220619
15
+
3
16
  ### v0.25.0 (2022-06-19)
4
17
 
5
18
  * Regenerated using generator version 0.7.0
@@ -823,6 +823,37 @@ module Google
823
823
  end
824
824
  end
825
825
 
826
+ # Cloud SQL configuration.
827
+ class CloudSqlConfig
828
+ include Google::Apis::Core::Hashable
829
+
830
+ # Peering service used for peering with the Cloud SQL project.
831
+ # Corresponds to the JSON property `service`
832
+ # @return [String]
833
+ attr_accessor :service
834
+
835
+ # The name of network in Cloud SQL umbrella project.
836
+ # Corresponds to the JSON property `umbrellaNetwork`
837
+ # @return [String]
838
+ attr_accessor :umbrella_network
839
+
840
+ # The project number of Cloud SQL umbrella project.
841
+ # Corresponds to the JSON property `umbrellaProject`
842
+ # @return [Fixnum]
843
+ attr_accessor :umbrella_project
844
+
845
+ def initialize(**args)
846
+ update!(**args)
847
+ end
848
+
849
+ # Update properties of this object
850
+ def update!(**args)
851
+ @service = args[:service] if args.key?(:service)
852
+ @umbrella_network = args[:umbrella_network] if args.key?(:umbrella_network)
853
+ @umbrella_project = args[:umbrella_project] if args.key?(:umbrella_project)
854
+ end
855
+ end
856
+
826
857
  # Represents a private connection resource. A private connection is implemented
827
858
  # as a VPC Network Peering connection between a service producer's VPC network
828
859
  # and a service consumer's VPC network.
@@ -878,6 +909,11 @@ module Google
878
909
  class ConsumerConfig
879
910
  include Google::Apis::Core::Hashable
880
911
 
912
+ # Represents one or multiple Cloud SQL configurations.
913
+ # Corresponds to the JSON property `cloudsqlConfigs`
914
+ # @return [Array<Google::Apis::ServicenetworkingV1::CloudSqlConfig>]
915
+ attr_accessor :cloudsql_configs
916
+
881
917
  # Export custom routes flag value for peering from consumer to producer.
882
918
  # Corresponds to the JSON property `consumerExportCustomRoutes`
883
919
  # @return [Boolean]
@@ -961,6 +997,7 @@ module Google
961
997
 
962
998
  # Update properties of this object
963
999
  def update!(**args)
1000
+ @cloudsql_configs = args[:cloudsql_configs] if args.key?(:cloudsql_configs)
964
1001
  @consumer_export_custom_routes = args[:consumer_export_custom_routes] if args.key?(:consumer_export_custom_routes)
965
1002
  @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)
966
1003
  @consumer_import_custom_routes = args[:consumer_import_custom_routes] if args.key?(:consumer_import_custom_routes)
@@ -2555,15 +2592,6 @@ module Google
2555
2592
  class MetricRule
2556
2593
  include Google::Apis::Core::Hashable
2557
2594
 
2558
- # Metrics to update when the selected methods are called. The key of the map is
2559
- # the metric name, the value is the DynamicCostType to specify how to calculate
2560
- # the cost from the request. The cost amount will be increased for the metric
2561
- # against which the quota limits are defined. It is only implemented in CloudESF(
2562
- # go/cloudesf)
2563
- # Corresponds to the JSON property `dynamicMetricCosts`
2564
- # @return [Hash<String,String>]
2565
- attr_accessor :dynamic_metric_costs
2566
-
2567
2595
  # Metrics to update when the selected methods are called, and the associated
2568
2596
  # cost applied to each metric. The key of the map is the metric name, and the
2569
2597
  # values are the amount increased for the metric against which the quota limits
@@ -2584,7 +2612,6 @@ module Google
2584
2612
 
2585
2613
  # Update properties of this object
2586
2614
  def update!(**args)
2587
- @dynamic_metric_costs = args[:dynamic_metric_costs] if args.key?(:dynamic_metric_costs)
2588
2615
  @metric_costs = args[:metric_costs] if args.key?(:metric_costs)
2589
2616
  @selector = args[:selector] if args.key?(:selector)
2590
2617
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ServicenetworkingV1
18
18
  # Version of the google-apis-servicenetworking_v1 gem
19
- GEM_VERSION = "0.25.0"
19
+ GEM_VERSION = "0.28.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 = "20220528"
25
+ REVISION = "20220711"
26
26
  end
27
27
  end
28
28
  end
@@ -136,6 +136,12 @@ module Google
136
136
  include Google::Apis::Core::JsonObjectSupport
137
137
  end
138
138
 
139
+ class CloudSqlConfig
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
139
145
  class Connection
140
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
147
 
@@ -825,6 +831,15 @@ module Google
825
831
  end
826
832
  end
827
833
 
834
+ class CloudSqlConfig
835
+ # @private
836
+ class Representation < Google::Apis::Core::JsonRepresentation
837
+ property :service, as: 'service'
838
+ property :umbrella_network, as: 'umbrellaNetwork'
839
+ property :umbrella_project, :numeric_string => true, as: 'umbrellaProject'
840
+ end
841
+ end
842
+
828
843
  class Connection
829
844
  # @private
830
845
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -838,6 +853,8 @@ module Google
838
853
  class ConsumerConfig
839
854
  # @private
840
855
  class Representation < Google::Apis::Core::JsonRepresentation
856
+ collection :cloudsql_configs, as: 'cloudsqlConfigs', class: Google::Apis::ServicenetworkingV1::CloudSqlConfig, decorator: Google::Apis::ServicenetworkingV1::CloudSqlConfig::Representation
857
+
841
858
  property :consumer_export_custom_routes, as: 'consumerExportCustomRoutes'
842
859
  property :consumer_export_subnet_routes_with_public_ip, as: 'consumerExportSubnetRoutesWithPublicIp'
843
860
  property :consumer_import_custom_routes, as: 'consumerImportCustomRoutes'
@@ -1222,7 +1239,6 @@ module Google
1222
1239
  class MetricRule
1223
1240
  # @private
1224
1241
  class Representation < Google::Apis::Core::JsonRepresentation
1225
- hash :dynamic_metric_costs, as: 'dynamicMetricCosts'
1226
1242
  hash :metric_costs, as: 'metricCosts'
1227
1243
  property :selector, as: 'selector'
1228
1244
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-servicenetworking_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.25.0
4
+ version: 0.28.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-servicenetworking_v1/v0.25.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-servicenetworking_v1/v0.28.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-servicenetworking_v1
63
63
  post_install_message:
64
64
  rdoc_options: []