google-apis-servicenetworking_v1 0.27.0 → 0.30.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: 3a26c6cefcbfebf1e9e745fe2436e5146ee550c5786f7e75b8f5982a1f9b510b
4
- data.tar.gz: 9b1c44070e50873c7a53dbbc299c374151cabe2d732a1d811dcd390375303fbd
3
+ metadata.gz: 77070736bf92c30d22b679502013e0eccf8071a9e0133c19411d0b1d153abf2c
4
+ data.tar.gz: 2255cb25c39ed60b8d52915d759cc9272cebb45abfab4bdcf371ec2acb7fb122
5
5
  SHA512:
6
- metadata.gz: c4c4d9ac68af085539574a6e99c8a964f94a241dd6ae5f367ea2e08a57ef5602dc4ff0b5eb91ac40a85d6929a258d833de8866d50ad825cafc27f1832c14bafa
7
- data.tar.gz: 3942bd79187584f61fd52a6db978b992b1e473f03dda06a9a9f0272838748f1973e66fdae4a046c2ac1d25fff8693720b914f20c616f71ac809d7518ccc34440
6
+ metadata.gz: 579321721f9623232a50527f7d65ea4654bdb84c4a9634557276012bb2cd5e8e802f7c63f3d1e4a035cd99e3ac4717932405b43eec9bd2bc7a2f6f756cd683ba
7
+ data.tar.gz: 5084aa12d1cb4bc45995e0556f2b03f6ca50db53c3f86bc8c505e1ff747bd9dfa79d09a772ff3cce22b919148d0f35d78146a7a25e3d2fb3bce3dc0299783c78
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-servicenetworking_v1
2
2
 
3
+ ### v0.30.0 (2022-08-21)
4
+
5
+ * Regenerated from discovery document revision 20220816
6
+
7
+ ### v0.29.0 (2022-07-22)
8
+
9
+ * Regenerated from discovery document revision 20220720
10
+
11
+ ### v0.28.0 (2022-07-13)
12
+
13
+ * Regenerated from discovery document revision 20220711
14
+ * Regenerated using generator version 0.9.0
15
+
3
16
  ### v0.27.0 (2022-07-01)
4
17
 
5
18
  * Regenerated using generator version 0.8.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 the umbrella network in the 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 the 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)
@@ -2802,6 +2839,17 @@ module Google
2802
2839
  class OAuthRequirements
2803
2840
  include Google::Apis::Core::Hashable
2804
2841
 
2842
+ # UNIMPLEMENTED: If enabled, ESF will allow OAuth credentials with any scope,
2843
+ # more details in http://go/esf-oauth-any-scope. WARNING: Enabling this option
2844
+ # will bring security risks. Customers enabling this feature accidentally may
2845
+ # have the risk of losing authentication enforcement. Please reach out to api-
2846
+ # auth@ and esf-team@ for approval and allowlisting before you enable this
2847
+ # option.
2848
+ # Corresponds to the JSON property `allowAnyScope`
2849
+ # @return [Boolean]
2850
+ attr_accessor :allow_any_scope
2851
+ alias_method :allow_any_scope?, :allow_any_scope
2852
+
2805
2853
  # The list of publicly documented OAuth scopes that are allowed access. An OAuth
2806
2854
  # token containing any of these scopes will be accepted. Example:
2807
2855
  # canonical_scopes: https://www.googleapis.com/auth/calendar, https://www.
@@ -2816,6 +2864,7 @@ module Google
2816
2864
 
2817
2865
  # Update properties of this object
2818
2866
  def update!(**args)
2867
+ @allow_any_scope = args[:allow_any_scope] if args.key?(:allow_any_scope)
2819
2868
  @canonical_scopes = args[:canonical_scopes] if args.key?(:canonical_scopes)
2820
2869
  end
2821
2870
  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.27.0"
19
+ GEM_VERSION = "0.30.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.8.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220619"
25
+ REVISION = "20220816"
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'
@@ -1269,6 +1286,7 @@ module Google
1269
1286
  class OAuthRequirements
1270
1287
  # @private
1271
1288
  class Representation < Google::Apis::Core::JsonRepresentation
1289
+ property :allow_any_scope, as: 'allowAnyScope'
1272
1290
  property :canonical_scopes, as: 'canonicalScopes'
1273
1291
  end
1274
1292
  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.27.0
4
+ version: 0.30.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-07-04 00:00:00.000000000 Z
11
+ date: 2022-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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.27.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-servicenetworking_v1/v0.30.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: []