google-apis-servicenetworking_v1 0.17.0 → 0.20.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: 4e3f7be32644c2ef9c6a370259533ad8984b153c9b1f690e4023b3a6e6f1ff91
4
- data.tar.gz: a2b0cc5168b13d906c3c72f01e2440dca9b7398aaa979c2395927cb07e31d5cf
3
+ metadata.gz: 3d9dd25160e745da315875f5843e69448272c09dedb1f43f0a426194e187f75f
4
+ data.tar.gz: 7c725fdf576a0901183d1d15b4a8f39c9a49b7ce69b759ac3e191737e3da50c7
5
5
  SHA512:
6
- metadata.gz: 0f61f47154521917d3bbf6d1e9acbe61311d8bd6a131ab09fef00fe416cb9c47082f837ea38c0147f6ab20163708ec07483249f62978b8efa3b6ab27a1a07a4a
7
- data.tar.gz: 0454b09cf2d9359a882f813cd6445822ddc3d23b5fcbf895d66c5c72a95d59f50516e7e47af74e420c2290447e6ce92d480758adadfa3878e9670bd95a1515b8
6
+ metadata.gz: ae9f8fd15a9435ce1e4ffb5250212cfaa5a2d9709ae7f6c785e57e88ad8de1d3e82b142bb8d59ddece446a420d314caad133e967047e46673451f5151e7370f4
7
+ data.tar.gz: 6beb6359460504e9ee8b06d2a34110ee65a49f5857934671d8d67c550362a341d5fc10ef86bacdc3f26a8b4cf48169644711a56dd853a46ddef0b7e5a2bffcfe
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-servicenetworking_v1
2
2
 
3
+ ### v0.20.0 (2022-03-22)
4
+
5
+ * Regenerated from discovery document revision 20220319
6
+
7
+ ### v0.19.0 (2022-01-27)
8
+
9
+ * Regenerated from discovery document revision 20220125
10
+ * Regenerated using generator version 0.4.1
11
+
12
+ ### v0.18.0 (2022-01-07)
13
+
14
+ * Regenerated from discovery document revision 20211222
15
+
3
16
  ### v0.17.0 (2021-10-20)
4
17
 
5
18
  * Unspecified changes
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/servicenetworking_v1"
51
51
  client = Google::Apis::ServicenetworkingV1::ServiceNetworkingService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -215,6 +215,13 @@ module Google
215
215
  class AddSubnetworkRequest
216
216
  include Google::Apis::Core::Hashable
217
217
 
218
+ # Optional. The IAM permission check determines whether the consumer project has
219
+ # 'servicenetworking.services.use' permission or not.
220
+ # Corresponds to the JSON property `checkServiceNetworkingUsePermission`
221
+ # @return [Boolean]
222
+ attr_accessor :check_service_networking_use_permission
223
+ alias_method :check_service_networking_use_permission?, :check_service_networking_use_permission
224
+
218
225
  # Required. A resource that represents the service consumer, such as `projects/
219
226
  # 123456`. The project number can be different from the value in the consumer
220
227
  # network parameter. For example, the network might be part of a Shared VPC
@@ -318,6 +325,7 @@ module Google
318
325
 
319
326
  # Update properties of this object
320
327
  def update!(**args)
328
+ @check_service_networking_use_permission = args[:check_service_networking_use_permission] if args.key?(:check_service_networking_use_permission)
321
329
  @consumer = args[:consumer] if args.key?(:consumer)
322
330
  @consumer_network = args[:consumer_network] if args.key?(:consumer_network)
323
331
  @description = args[:description] if args.key?(:description)
@@ -1051,13 +1059,20 @@ module Google
1051
1059
  end
1052
1060
 
1053
1061
  # Selects and configures the service controller used by the service. The service
1054
- # controller handles features like abuse, quota, billing, logging, monitoring,
1055
- # etc.
1062
+ # controller handles two things: - **What is allowed:** for each API request,
1063
+ # Chemist checks the project status, activation status, abuse status, billing
1064
+ # status, service status, location restrictions, VPC Service Controls,
1065
+ # SuperQuota, and other policies. - **What has happened:** for each API response,
1066
+ # Chemist reports the telemetry data to analytics, auditing, billing, eventing,
1067
+ # logging, monitoring, sawmill, and tracing. Chemist also accepts telemetry data
1068
+ # not associated with API traffic, such as billing metrics. Example: control:
1069
+ # environment: servicecontrol.googleapis.com
1056
1070
  class Control
1057
1071
  include Google::Apis::Core::Hashable
1058
1072
 
1059
- # The service control environment to use. If empty, no control plane feature (
1060
- # like quota and billing) will be enabled.
1073
+ # The service controller environment to use. If empty, no control plane feature (
1074
+ # like quota and billing) will be enabled. The recommended value for most
1075
+ # services is servicecontrol.googleapis.com
1061
1076
  # Corresponds to the JSON property `environment`
1062
1077
  # @return [String]
1063
1078
  attr_accessor :environment
@@ -1417,8 +1432,7 @@ module Google
1417
1432
  # A generic empty message that you can re-use to avoid defining duplicated empty
1418
1433
  # messages in your APIs. A typical example is to use it as the request or the
1419
1434
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
1420
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
1421
- # `Empty` is empty JSON object ````.
1435
+ # protobuf.Empty) returns (google.protobuf.Empty); `
1422
1436
  class Empty
1423
1437
  include Google::Apis::Core::Hashable
1424
1438
 
@@ -3566,8 +3580,14 @@ module Google
3566
3580
  attr_accessor :context
3567
3581
 
3568
3582
  # Selects and configures the service controller used by the service. The service
3569
- # controller handles features like abuse, quota, billing, logging, monitoring,
3570
- # etc.
3583
+ # controller handles two things: - **What is allowed:** for each API request,
3584
+ # Chemist checks the project status, activation status, abuse status, billing
3585
+ # status, service status, location restrictions, VPC Service Controls,
3586
+ # SuperQuota, and other policies. - **What has happened:** for each API response,
3587
+ # Chemist reports the telemetry data to analytics, auditing, billing, eventing,
3588
+ # logging, monitoring, sawmill, and tracing. Chemist also accepts telemetry data
3589
+ # not associated with API traffic, such as billing metrics. Example: control:
3590
+ # environment: servicecontrol.googleapis.com
3571
3591
  # Corresponds to the JSON property `control`
3572
3592
  # @return [Google::Apis::ServicenetworkingV1::Control]
3573
3593
  attr_accessor :control
@@ -4256,6 +4276,13 @@ module Google
4256
4276
  class ValidateConsumerConfigRequest
4257
4277
  include Google::Apis::Core::Hashable
4258
4278
 
4279
+ # Optional. The IAM permission check determines whether the consumer project has
4280
+ # 'servicenetworking.services.use' permission or not.
4281
+ # Corresponds to the JSON property `checkServiceNetworkingUsePermission`
4282
+ # @return [Boolean]
4283
+ attr_accessor :check_service_networking_use_permission
4284
+ alias_method :check_service_networking_use_permission?, :check_service_networking_use_permission
4285
+
4259
4286
  # Required. The network that the consumer is using to connect with services.
4260
4287
  # Must be in the form of projects/`project`/global/networks/`network` `project`
4261
4288
  # is a project number, as in '12345' `network` is network name.
@@ -4290,6 +4317,7 @@ module Google
4290
4317
 
4291
4318
  # Update properties of this object
4292
4319
  def update!(**args)
4320
+ @check_service_networking_use_permission = args[:check_service_networking_use_permission] if args.key?(:check_service_networking_use_permission)
4293
4321
  @consumer_network = args[:consumer_network] if args.key?(:consumer_network)
4294
4322
  @consumer_project = args[:consumer_project] if args.key?(:consumer_project)
4295
4323
  @range_reservation = args[:range_reservation] if args.key?(:range_reservation)
@@ -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.17.0"
19
+ GEM_VERSION = "0.20.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211008"
25
+ REVISION = "20220319"
26
26
  end
27
27
  end
28
28
  end
@@ -701,6 +701,7 @@ module Google
701
701
  class AddSubnetworkRequest
702
702
  # @private
703
703
  class Representation < Google::Apis::Core::JsonRepresentation
704
+ property :check_service_networking_use_permission, as: 'checkServiceNetworkingUsePermission'
704
705
  property :consumer, as: 'consumer'
705
706
  property :consumer_network, as: 'consumerNetwork'
706
707
  property :description, as: 'description'
@@ -1629,6 +1630,7 @@ module Google
1629
1630
  class ValidateConsumerConfigRequest
1630
1631
  # @private
1631
1632
  class Representation < Google::Apis::Core::JsonRepresentation
1633
+ property :check_service_networking_use_permission, as: 'checkServiceNetworkingUsePermission'
1632
1634
  property :consumer_network, as: 'consumerNetwork'
1633
1635
  property :consumer_project, as: 'consumerProject', class: Google::Apis::ServicenetworkingV1::ConsumerProject, decorator: Google::Apis::ServicenetworkingV1::ConsumerProject::Representation
1634
1636
 
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.17.0
4
+ version: 0.20.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: 2021-10-27 00:00:00.000000000 Z
11
+ date: 2022-03-28 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.17.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-servicenetworking_v1/v0.20.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.2.17
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Service Networking API V1