google-apis-servicenetworking_v1 0.20.0 → 0.23.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: 3d9dd25160e745da315875f5843e69448272c09dedb1f43f0a426194e187f75f
4
- data.tar.gz: 7c725fdf576a0901183d1d15b4a8f39c9a49b7ce69b759ac3e191737e3da50c7
3
+ metadata.gz: ea5ac31d9b4e04aac95d77ef855df48a689261873d72d824ef1abee52bc31b1e
4
+ data.tar.gz: da78b5a8984fee2f91c64eeb607fd4158c29b76b6b0ae5b846931347574b28ac
5
5
  SHA512:
6
- metadata.gz: ae9f8fd15a9435ce1e4ffb5250212cfaa5a2d9709ae7f6c785e57e88ad8de1d3e82b142bb8d59ddece446a420d314caad133e967047e46673451f5151e7370f4
7
- data.tar.gz: 6beb6359460504e9ee8b06d2a34110ee65a49f5857934671d8d67c550362a341d5fc10ef86bacdc3f26a8b4cf48169644711a56dd853a46ddef0b7e5a2bffcfe
6
+ metadata.gz: 6fce7bf882c0b9a834e5f80b393046b43a589e13eb9d95149e86d6204efe60c73d915264274e308fe1cc6d5e387245094309f5fcd6ce749859848b928f76dae0
7
+ data.tar.gz: 34ec0396925d896d2f86e43358a53a2b0846f35fad01cabbe344105f94dc402b11c93e23743a4a99a3452934dafad0c8ea6856c3236f0cb0d6cb1fa9784cfdd2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-servicenetworking_v1
2
2
 
3
+ ### v0.23.0 (2022-05-17)
4
+
5
+ * Regenerated from discovery document revision 20220513
6
+
7
+ ### v0.22.0 (2022-04-27)
8
+
9
+ * Regenerated from discovery document revision 20220425
10
+
11
+ ### v0.21.0 (2022-04-12)
12
+
13
+ * Regenerated from discovery document revision 20220406
14
+
3
15
  ### v0.20.0 (2022-03-22)
4
16
 
5
17
  * Regenerated from discovery document revision 20220319
@@ -466,14 +466,15 @@ module Google
466
466
  # @return [String]
467
467
  attr_accessor :jwks_uri
468
468
 
469
- # Defines the locations to extract the JWT. JWT locations can be either from
470
- # HTTP headers or URL query parameters. The rule is that the first match wins.
471
- # The checking order is: checking all headers first, then URL query parameters.
472
- # If not specified, default to use following 3 locations: 1) Authorization:
473
- # Bearer 2) x-goog-iap-jwt-assertion 3) access_token query parameter Default
474
- # locations can be specified as followings: jwt_locations: - header:
475
- # Authorization value_prefix: "Bearer " - header: x-goog-iap-jwt-assertion -
476
- # query: access_token
469
+ # Defines the locations to extract the JWT. For now it is only used by the Cloud
470
+ # Endpoints to store the OpenAPI extension [x-google-jwt-locations] (https://
471
+ # cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-
472
+ # locations) JWT locations can be one of HTTP headers, URL query parameters or
473
+ # cookies. The rule is that the first match wins. If not specified, default to
474
+ # use following 3 locations: 1) Authorization: Bearer 2) x-goog-iap-jwt-
475
+ # assertion 3) access_token query parameter Default locations can be specified
476
+ # as followings: jwt_locations: - header: Authorization value_prefix: "Bearer " -
477
+ # header: x-goog-iap-jwt-assertion - query: access_token
477
478
  # Corresponds to the JSON property `jwtLocations`
478
479
  # @return [Array<Google::Apis::ServicenetworkingV1::JwtLocation>]
479
480
  attr_accessor :jwt_locations
@@ -917,6 +918,11 @@ module Google
917
918
  # @return [Array<Google::Apis::ServicenetworkingV1::GoogleCloudServicenetworkingV1ConsumerConfigReservedRange>]
918
919
  attr_accessor :reserved_ranges
919
920
 
921
+ # Output only. The IP ranges already in use by consumer or producer
922
+ # Corresponds to the JSON property `usedIpRanges`
923
+ # @return [Array<String>]
924
+ attr_accessor :used_ip_ranges
925
+
920
926
  # Output only. Indicates whether the VPC Service Controls reference architecture
921
927
  # is configured for the producer VPC host network.
922
928
  # Corresponds to the JSON property `vpcScReferenceArchitectureEnabled`
@@ -940,6 +946,7 @@ module Google
940
946
  @producer_import_subnet_routes_with_public_ip = args[:producer_import_subnet_routes_with_public_ip] if args.key?(:producer_import_subnet_routes_with_public_ip)
941
947
  @producer_network = args[:producer_network] if args.key?(:producer_network)
942
948
  @reserved_ranges = args[:reserved_ranges] if args.key?(:reserved_ranges)
949
+ @used_ip_ranges = args[:used_ip_ranges] if args.key?(:used_ip_ranges)
943
950
  @vpc_sc_reference_architecture_enabled = args[:vpc_sc_reference_architecture_enabled] if args.key?(:vpc_sc_reference_architecture_enabled)
944
951
  end
945
952
  end
@@ -2035,6 +2042,11 @@ module Google
2035
2042
  class JwtLocation
2036
2043
  include Google::Apis::Core::Hashable
2037
2044
 
2045
+ # Specifies cookie name to extract JWT token.
2046
+ # Corresponds to the JSON property `cookie`
2047
+ # @return [String]
2048
+ attr_accessor :cookie
2049
+
2038
2050
  # Specifies HTTP header name to extract JWT token.
2039
2051
  # Corresponds to the JSON property `header`
2040
2052
  # @return [String]
@@ -2061,6 +2073,7 @@ module Google
2061
2073
 
2062
2074
  # Update properties of this object
2063
2075
  def update!(**args)
2076
+ @cookie = args[:cookie] if args.key?(:cookie)
2064
2077
  @header = args[:header] if args.key?(:header)
2065
2078
  @query = args[:query] if args.key?(:query)
2066
2079
  @value_prefix = args[:value_prefix] if args.key?(:value_prefix)
@@ -2517,6 +2530,15 @@ module Google
2517
2530
  class MetricRule
2518
2531
  include Google::Apis::Core::Hashable
2519
2532
 
2533
+ # Metrics to update when the selected methods are called. The key of the map is
2534
+ # the metric name, the value is the DynamicCostType to specify how to calculate
2535
+ # the cost from the request. The cost amount will be increased for the metric
2536
+ # against which the quota limits are defined. It is only implemented in CloudESF(
2537
+ # go/cloudesf)
2538
+ # Corresponds to the JSON property `dynamicMetricCosts`
2539
+ # @return [Hash<String,String>]
2540
+ attr_accessor :dynamic_metric_costs
2541
+
2520
2542
  # Metrics to update when the selected methods are called, and the associated
2521
2543
  # cost applied to each metric. The key of the map is the metric name, and the
2522
2544
  # values are the amount increased for the metric against which the quota limits
@@ -2537,6 +2559,7 @@ module Google
2537
2559
 
2538
2560
  # Update properties of this object
2539
2561
  def update!(**args)
2562
+ @dynamic_metric_costs = args[:dynamic_metric_costs] if args.key?(:dynamic_metric_costs)
2540
2563
  @metric_costs = args[:metric_costs] if args.key?(:metric_costs)
2541
2564
  @selector = args[:selector] if args.key?(:selector)
2542
2565
  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.20.0"
19
+ GEM_VERSION = "0.23.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220319"
25
+ REVISION = "20220513"
26
26
  end
27
27
  end
28
28
  end
@@ -847,6 +847,7 @@ module Google
847
847
  property :producer_network, as: 'producerNetwork'
848
848
  collection :reserved_ranges, as: 'reservedRanges', class: Google::Apis::ServicenetworkingV1::GoogleCloudServicenetworkingV1ConsumerConfigReservedRange, decorator: Google::Apis::ServicenetworkingV1::GoogleCloudServicenetworkingV1ConsumerConfigReservedRange::Representation
849
849
 
850
+ collection :used_ip_ranges, as: 'usedIpRanges'
850
851
  property :vpc_sc_reference_architecture_enabled, as: 'vpcScReferenceArchitectureEnabled'
851
852
  end
852
853
  end
@@ -1104,6 +1105,7 @@ module Google
1104
1105
  class JwtLocation
1105
1106
  # @private
1106
1107
  class Representation < Google::Apis::Core::JsonRepresentation
1108
+ property :cookie, as: 'cookie'
1107
1109
  property :header, as: 'header'
1108
1110
  property :query, as: 'query'
1109
1111
  property :value_prefix, as: 'valuePrefix'
@@ -1218,6 +1220,7 @@ module Google
1218
1220
  class MetricRule
1219
1221
  # @private
1220
1222
  class Representation < Google::Apis::Core::JsonRepresentation
1223
+ hash :dynamic_metric_costs, as: 'dynamicMetricCosts'
1221
1224
  hash :metric_costs, as: 'metricCosts'
1222
1225
  property :selector, as: 'selector'
1223
1226
  end
@@ -749,6 +749,12 @@ module Google
749
749
  # is `servicenetworking.googleapis.com`. `project` is a project number e.g. `
750
750
  # 12345` that contains the service consumer's VPC network. `network` is the name
751
751
  # of the service consumer's VPC network.
752
+ # @param [Boolean] include_used_ip_ranges
753
+ # Optional. When true, include the used IP ranges as part of the
754
+ # GetConsumerConfig output. This includes routes created inside the service
755
+ # networking network, consumer network, peers of the consumer network, and
756
+ # reserved ranges inside the service networking network. By default, this is
757
+ # false
752
758
  # @param [String] fields
753
759
  # Selector specifying which fields to include in a partial response.
754
760
  # @param [String] quota_user
@@ -766,11 +772,12 @@ module Google
766
772
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
767
773
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
768
774
  # @raise [Google::Apis::AuthorizationError] Authorization is required
769
- def get_service_project_global_network(name, fields: nil, quota_user: nil, options: nil, &block)
775
+ def get_service_project_global_network(name, include_used_ip_ranges: nil, fields: nil, quota_user: nil, options: nil, &block)
770
776
  command = make_simple_command(:get, 'v1/{+name}', options)
771
777
  command.response_representation = Google::Apis::ServicenetworkingV1::ConsumerConfig::Representation
772
778
  command.response_class = Google::Apis::ServicenetworkingV1::ConsumerConfig
773
779
  command.params['name'] = name unless name.nil?
780
+ command.query['includeUsedIpRanges'] = include_used_ip_ranges unless include_used_ip_ranges.nil?
774
781
  command.query['fields'] = fields unless fields.nil?
775
782
  command.query['quotaUser'] = quota_user unless quota_user.nil?
776
783
  execute_or_queue_command(command, &block)
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.20.0
4
+ version: 0.23.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-03-28 00:00:00.000000000 Z
11
+ date: 2022-05-23 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.20.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-servicenetworking_v1/v0.23.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: []