google-apis-servicenetworking_v1 0.15.0 → 0.19.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2f61ce467e74f8762cc6103403676dd841019e460e56bee1ab76ee7388ee276
|
4
|
+
data.tar.gz: 264f236d7328ebea539444886272a0523fe01f12399031348764ff25e20a9a20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1a0c4d8ee31b8fac5acf1760cf8ef646c6f4147ed84adcb07a823bc60df83c1f1484ad07c246f78e89eede7c2178c46c0694b441dde9783c5ee9fe463fa23f5
|
7
|
+
data.tar.gz: 4e3983ebb127c07e2e521d4d0ed8614801ce0f67a56cb945a92f5471e75429b2d781119793bbf232da02500b1d1bc324965f2a1b379dfbc81a38e29c2614d00c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-servicenetworking_v1
|
2
2
|
|
3
|
+
### v0.19.0 (2022-01-27)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220125
|
6
|
+
* Regenerated using generator version 0.4.1
|
7
|
+
|
8
|
+
### v0.18.0 (2022-01-07)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20211222
|
11
|
+
|
12
|
+
### v0.17.0 (2021-10-20)
|
13
|
+
|
14
|
+
* Unspecified changes
|
15
|
+
|
16
|
+
### v0.16.0 (2021-10-12)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20211008
|
19
|
+
|
3
20
|
### v0.15.0 (2021-09-28)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210924
|
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.
|
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.
|
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Servicenetworking service in particular.)
|
67
67
|
|
@@ -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
|
@@ -261,6 +268,14 @@ module Google
|
|
261
268
|
# @return [String]
|
262
269
|
attr_accessor :private_ipv6_google_access
|
263
270
|
|
271
|
+
# Optional. Defines the purpose field of the subnet, e.g. '
|
272
|
+
# PRIVATE_SERVICE_CONNECT'. For information about the purposes that can be set
|
273
|
+
# using this field, see [subnetwork](https://cloud.google.com/compute/docs/
|
274
|
+
# reference/rest/v1/subnetworks) in the Compute API documentation.
|
275
|
+
# Corresponds to the JSON property `purpose`
|
276
|
+
# @return [String]
|
277
|
+
attr_accessor :purpose
|
278
|
+
|
264
279
|
# Required. The name of a [region](/compute/docs/regions-zones) for the subnet,
|
265
280
|
# such `europe-west1`.
|
266
281
|
# Corresponds to the JSON property `region`
|
@@ -310,12 +325,14 @@ module Google
|
|
310
325
|
|
311
326
|
# Update properties of this object
|
312
327
|
def update!(**args)
|
328
|
+
@check_service_networking_use_permission = args[:check_service_networking_use_permission] if args.key?(:check_service_networking_use_permission)
|
313
329
|
@consumer = args[:consumer] if args.key?(:consumer)
|
314
330
|
@consumer_network = args[:consumer_network] if args.key?(:consumer_network)
|
315
331
|
@description = args[:description] if args.key?(:description)
|
316
332
|
@ip_prefix_length = args[:ip_prefix_length] if args.key?(:ip_prefix_length)
|
317
333
|
@outside_allocation_public_ip_range = args[:outside_allocation_public_ip_range] if args.key?(:outside_allocation_public_ip_range)
|
318
334
|
@private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
|
335
|
+
@purpose = args[:purpose] if args.key?(:purpose)
|
319
336
|
@region = args[:region] if args.key?(:region)
|
320
337
|
@requested_address = args[:requested_address] if args.key?(:requested_address)
|
321
338
|
@requested_ranges = args[:requested_ranges] if args.key?(:requested_ranges)
|
@@ -1042,13 +1059,20 @@ module Google
|
|
1042
1059
|
end
|
1043
1060
|
|
1044
1061
|
# Selects and configures the service controller used by the service. The service
|
1045
|
-
# controller handles
|
1046
|
-
#
|
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
|
1047
1070
|
class Control
|
1048
1071
|
include Google::Apis::Core::Hashable
|
1049
1072
|
|
1050
|
-
# The service
|
1051
|
-
# 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
|
1052
1076
|
# Corresponds to the JSON property `environment`
|
1053
1077
|
# @return [String]
|
1054
1078
|
attr_accessor :environment
|
@@ -3557,8 +3581,14 @@ module Google
|
|
3557
3581
|
attr_accessor :context
|
3558
3582
|
|
3559
3583
|
# Selects and configures the service controller used by the service. The service
|
3560
|
-
# controller handles
|
3561
|
-
#
|
3584
|
+
# controller handles two things: - **What is allowed:** for each API request,
|
3585
|
+
# Chemist checks the project status, activation status, abuse status, billing
|
3586
|
+
# status, service status, location restrictions, VPC Service Controls,
|
3587
|
+
# SuperQuota, and other policies. - **What has happened:** for each API response,
|
3588
|
+
# Chemist reports the telemetry data to analytics, auditing, billing, eventing,
|
3589
|
+
# logging, monitoring, sawmill, and tracing. Chemist also accepts telemetry data
|
3590
|
+
# not associated with API traffic, such as billing metrics. Example: control:
|
3591
|
+
# environment: servicecontrol.googleapis.com
|
3562
3592
|
# Corresponds to the JSON property `control`
|
3563
3593
|
# @return [Google::Apis::ServicenetworkingV1::Control]
|
3564
3594
|
attr_accessor :control
|
@@ -4247,6 +4277,13 @@ module Google
|
|
4247
4277
|
class ValidateConsumerConfigRequest
|
4248
4278
|
include Google::Apis::Core::Hashable
|
4249
4279
|
|
4280
|
+
# Optional. The IAM permission check determines whether the consumer project has
|
4281
|
+
# 'servicenetworking.services.use' permission or not.
|
4282
|
+
# Corresponds to the JSON property `checkServiceNetworkingUsePermission`
|
4283
|
+
# @return [Boolean]
|
4284
|
+
attr_accessor :check_service_networking_use_permission
|
4285
|
+
alias_method :check_service_networking_use_permission?, :check_service_networking_use_permission
|
4286
|
+
|
4250
4287
|
# Required. The network that the consumer is using to connect with services.
|
4251
4288
|
# Must be in the form of projects/`project`/global/networks/`network` `project`
|
4252
4289
|
# is a project number, as in '12345' `network` is network name.
|
@@ -4281,6 +4318,7 @@ module Google
|
|
4281
4318
|
|
4282
4319
|
# Update properties of this object
|
4283
4320
|
def update!(**args)
|
4321
|
+
@check_service_networking_use_permission = args[:check_service_networking_use_permission] if args.key?(:check_service_networking_use_permission)
|
4284
4322
|
@consumer_network = args[:consumer_network] if args.key?(:consumer_network)
|
4285
4323
|
@consumer_project = args[:consumer_project] if args.key?(:consumer_project)
|
4286
4324
|
@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.
|
19
|
+
GEM_VERSION = "0.19.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220125"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -701,12 +701,14 @@ 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'
|
707
708
|
property :ip_prefix_length, as: 'ipPrefixLength'
|
708
709
|
property :outside_allocation_public_ip_range, as: 'outsideAllocationPublicIpRange'
|
709
710
|
property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
|
711
|
+
property :purpose, as: 'purpose'
|
710
712
|
property :region, as: 'region'
|
711
713
|
property :requested_address, as: 'requestedAddress'
|
712
714
|
collection :requested_ranges, as: 'requestedRanges'
|
@@ -1628,6 +1630,7 @@ module Google
|
|
1628
1630
|
class ValidateConsumerConfigRequest
|
1629
1631
|
# @private
|
1630
1632
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1633
|
+
property :check_service_networking_use_permission, as: 'checkServiceNetworkingUsePermission'
|
1631
1634
|
property :consumer_network, as: 'consumerNetwork'
|
1632
1635
|
property :consumer_project, as: 'consumerProject', class: Google::Apis::ServicenetworkingV1::ConsumerProject, decorator: Google::Apis::ServicenetworkingV1::ConsumerProject::Representation
|
1633
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.
|
4
|
+
version: 0.19.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:
|
11
|
+
date: 2022-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-servicenetworking_v1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
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.19.0
|
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: []
|
65
65
|
require_paths:
|
@@ -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.
|
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
|