google-apis-servicenetworking_v1beta 0.23.0 → 0.26.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: 95a6f6affad63447b3aabbdbfac0f22170653d97b02711c93d4bd3a69aadaa5e
4
- data.tar.gz: 1bc82a4407da023522a9d8f3dbadf75f09bc015b4cbf4a60c42ad2783ae82bbb
3
+ metadata.gz: 68eeec2bd483ee5b5a03f44192b02899b1f205b5b3106cc3aa029d28ee048d31
4
+ data.tar.gz: 5c11cf7ed544deeaa62e48f22ea87dead4024366ce87c5a54475e404f6c37e3c
5
5
  SHA512:
6
- metadata.gz: b9b73299ce2b47b4e68e2c64a7a7206e5af81fc248e838dbbe3178db78a3580c41bdc376fda8974865e2f7ee23878ba9068a5b8e0c77e8bc5c97aed07f9d0c01
7
- data.tar.gz: 93ac8e811b6ffbd92522185e55ad8f45cc666ac69f57c0ab03e3d003df1a43b5af87b8c8ad5f35f0c6a718a4de366f1088b67125acf939c08475e7283b0d003b
6
+ metadata.gz: adf68d6ba7136a10120c833c138f7ac949c743b8546f7996c429aad11ea4241c6d390f9fda08e53a025752acd5646fe0800f720e7ced06787a76c2c60ec05b90
7
+ data.tar.gz: f2504d27f4eb94b211ac5e1069b0c820bcb3aa74d5339d61cba871f130277d62b5d9f7d28d1e38badfd31f56c99dd9440949f931b3e9cf151b4ecbb8fd92324a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-servicenetworking_v1beta
2
2
 
3
+ ### v0.26.0 (2022-08-20)
4
+
5
+ * Regenerated from discovery document revision 20220816
6
+
7
+ ### v0.25.0 (2022-07-22)
8
+
9
+ * Regenerated from discovery document revision 20220720
10
+
11
+ ### v0.24.0 (2022-07-13)
12
+
13
+ * Regenerated from discovery document revision 20220711
14
+ * Regenerated using generator version 0.9.0
15
+
3
16
  ### v0.23.0 (2022-07-01)
4
17
 
5
18
  * Regenerated using generator version 0.8.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 the umbrella network in the 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 the 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)
@@ -2467,6 +2504,17 @@ module Google
2467
2504
  class OAuthRequirements
2468
2505
  include Google::Apis::Core::Hashable
2469
2506
 
2507
+ # UNIMPLEMENTED: If enabled, ESF will allow OAuth credentials with any scope,
2508
+ # more details in http://go/esf-oauth-any-scope. WARNING: Enabling this option
2509
+ # will bring security risks. Customers enabling this feature accidentally may
2510
+ # have the risk of losing authentication enforcement. Please reach out to api-
2511
+ # auth@ and esf-team@ for approval and allowlisting before you enable this
2512
+ # option.
2513
+ # Corresponds to the JSON property `allowAnyScope`
2514
+ # @return [Boolean]
2515
+ attr_accessor :allow_any_scope
2516
+ alias_method :allow_any_scope?, :allow_any_scope
2517
+
2470
2518
  # The list of publicly documented OAuth scopes that are allowed access. An OAuth
2471
2519
  # token containing any of these scopes will be accepted. Example:
2472
2520
  # canonical_scopes: https://www.googleapis.com/auth/calendar, https://www.
@@ -2481,6 +2529,7 @@ module Google
2481
2529
 
2482
2530
  # Update properties of this object
2483
2531
  def update!(**args)
2532
+ @allow_any_scope = args[:allow_any_scope] if args.key?(:allow_any_scope)
2484
2533
  @canonical_scopes = args[:canonical_scopes] if args.key?(:canonical_scopes)
2485
2534
  end
2486
2535
  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.23.0"
19
+ GEM_VERSION = "0.26.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
@@ -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'
@@ -1061,6 +1078,7 @@ module Google
1061
1078
  class OAuthRequirements
1062
1079
  # @private
1063
1080
  class Representation < Google::Apis::Core::JsonRepresentation
1081
+ property :allow_any_scope, as: 'allowAnyScope'
1064
1082
  property :canonical_scopes, as: 'canonicalScopes'
1065
1083
  end
1066
1084
  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.23.0
4
+ version: 0.26.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_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-servicenetworking_v1beta/v0.23.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-servicenetworking_v1beta/v0.26.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: []