google-apis-servicenetworking_v1 0.3.0 → 0.8.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 +4 -4
- data/CHANGELOG.md +22 -0
- data/lib/google/apis/servicenetworking_v1.rb +1 -1
- data/lib/google/apis/servicenetworking_v1/classes.rb +70 -32
- data/lib/google/apis/servicenetworking_v1/gem_version.rb +3 -3
- data/lib/google/apis/servicenetworking_v1/representations.rb +25 -1
- data/lib/google/apis/servicenetworking_v1/service.rb +38 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9375087df57e3b6f59a37908e631c21885ce158ad351e89c45aafea63881b971
|
4
|
+
data.tar.gz: 9f93abfc0a9b7d52ff3f7c8957d8909e29ef5a3b5af84bab98fecc7e60acdf83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5988191e827db3d4e64496551207a45219b92d1fa4c4e8313060272b4ea6a3c35ba710cb87374bdc14f1e9887318cb8472b2a67a112135b247b994ac38a783ea
|
7
|
+
data.tar.gz: 07e9a0753e3bb4bc0774a7f31b503fcd6732a53edffc6c29c1c5f8f78587a39f41217a0d28f492ed63e70bb091f28cef571ed0c0ae048cb1fcc052adc6aeedc9
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-servicenetworking_v1
|
2
2
|
|
3
|
+
### v0.8.0 (2021-05-22)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210519
|
6
|
+
* Unspecified changes
|
7
|
+
|
8
|
+
### v0.7.0 (2021-05-08)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20210505
|
11
|
+
|
12
|
+
### v0.6.0 (2021-04-02)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210331
|
15
|
+
|
16
|
+
### v0.5.0 (2021-03-23)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210319
|
19
|
+
* Regenerated using generator version 0.2.0
|
20
|
+
|
21
|
+
### v0.4.0 (2021-03-04)
|
22
|
+
|
23
|
+
* Unspecified changes
|
24
|
+
|
3
25
|
### v0.3.0 (2021-02-19)
|
4
26
|
|
5
27
|
* Regenerated from discovery document revision 20210217
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# This is NOT the gem version.
|
31
31
|
VERSION = 'V1'
|
32
32
|
|
33
|
-
#
|
33
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
34
34
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
35
35
|
|
36
36
|
# Manage your Google API service configuration
|
@@ -494,11 +494,13 @@ module Google
|
|
494
494
|
end
|
495
495
|
end
|
496
496
|
|
497
|
-
# `Authentication` defines the authentication configuration for
|
498
|
-
#
|
497
|
+
# `Authentication` defines the authentication configuration for API methods
|
498
|
+
# provided by an API service. Example: name: calendar.googleapis.com
|
499
499
|
# authentication: providers: - id: google_calendar_auth jwks_uri: https://www.
|
500
500
|
# googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: -
|
501
|
-
# selector: "*" requirements: provider_id: google_calendar_auth
|
501
|
+
# selector: "*" requirements: provider_id: google_calendar_auth - selector:
|
502
|
+
# google.calendar.Delegate oauth: canonical_scopes: https://www.googleapis.com/
|
503
|
+
# auth/calendar.read
|
502
504
|
class Authentication
|
503
505
|
include Google::Apis::Core::Hashable
|
504
506
|
|
@@ -1147,6 +1149,28 @@ module Google
|
|
1147
1149
|
end
|
1148
1150
|
end
|
1149
1151
|
|
1152
|
+
# Request to delete a private service access connection. The call will fail if
|
1153
|
+
# there are any managed service instances using this connection.
|
1154
|
+
class DeleteConnectionRequest
|
1155
|
+
include Google::Apis::Core::Hashable
|
1156
|
+
|
1157
|
+
# Required. The network that the consumer is using to connect with services.
|
1158
|
+
# Must be in the form of projects/`project`/global/networks/`network` `project`
|
1159
|
+
# is a project number, as in '12345' `network` is a network name.
|
1160
|
+
# Corresponds to the JSON property `consumerNetwork`
|
1161
|
+
# @return [String]
|
1162
|
+
attr_accessor :consumer_network
|
1163
|
+
|
1164
|
+
def initialize(**args)
|
1165
|
+
update!(**args)
|
1166
|
+
end
|
1167
|
+
|
1168
|
+
# Update properties of this object
|
1169
|
+
def update!(**args)
|
1170
|
+
@consumer_network = args[:consumer_network] if args.key?(:consumer_network)
|
1171
|
+
end
|
1172
|
+
end
|
1173
|
+
|
1150
1174
|
# Metadata provided through GetOperation request for the LRO generated by
|
1151
1175
|
# DeletePeeredDnsDomain API.
|
1152
1176
|
class DeletePeeredDnsDomainMetadata
|
@@ -1404,26 +1428,21 @@ module Google
|
|
1404
1428
|
end
|
1405
1429
|
end
|
1406
1430
|
|
1407
|
-
# `Endpoint` describes a network
|
1408
|
-
# It is commonly known as a service endpoint. A service may expose any number
|
1409
|
-
#
|
1410
|
-
#
|
1411
|
-
#
|
1412
|
-
#
|
1413
|
-
#
|
1414
|
-
#
|
1415
|
-
#
|
1416
|
-
#
|
1431
|
+
# `Endpoint` describes a network address of a service that serves a set of APIs.
|
1432
|
+
# It is commonly known as a service endpoint. A service may expose any number of
|
1433
|
+
# service endpoints, and all service endpoints share the same service definition,
|
1434
|
+
# such as quota limits and monitoring metrics. Example: type: google.api.
|
1435
|
+
# Service name: library-example.googleapis.com endpoints: # Declares network
|
1436
|
+
# address `https://library-example.googleapis.com` # for service `library-
|
1437
|
+
# example.googleapis.com`. The `https` scheme # is implicit for all service
|
1438
|
+
# endpoints. Other schemes may be # supported in the future. - name: library-
|
1439
|
+
# example.googleapis.com allow_cors: false - name: content-staging-library-
|
1440
|
+
# example.googleapis.com # Allows HTTP OPTIONS calls to be passed to the API
|
1441
|
+
# frontend, for it # to decide whether the subsequent cross-origin request is
|
1442
|
+
# allowed # to proceed. allow_cors: true
|
1417
1443
|
class Endpoint
|
1418
1444
|
include Google::Apis::Core::Hashable
|
1419
1445
|
|
1420
|
-
# DEPRECATED: This field is no longer supported. Instead of using aliases,
|
1421
|
-
# please specify multiple google.api.Endpoint for each of the intended aliases.
|
1422
|
-
# Additional names that this endpoint will be hosted on.
|
1423
|
-
# Corresponds to the JSON property `aliases`
|
1424
|
-
# @return [Array<String>]
|
1425
|
-
attr_accessor :aliases
|
1426
|
-
|
1427
1446
|
# Allowing [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing),
|
1428
1447
|
# aka cross-domain traffic, would allow the backends served from this endpoint
|
1429
1448
|
# to receive and respond to HTTP OPTIONS requests. The response will be used by
|
@@ -1453,7 +1472,6 @@ module Google
|
|
1453
1472
|
|
1454
1473
|
# Update properties of this object
|
1455
1474
|
def update!(**args)
|
1456
|
-
@aliases = args[:aliases] if args.key?(:aliases)
|
1457
1475
|
@allow_cors = args[:allow_cors] if args.key?(:allow_cors)
|
1458
1476
|
@name = args[:name] if args.key?(:name)
|
1459
1477
|
@target = args[:target] if args.key?(:target)
|
@@ -2857,6 +2875,20 @@ module Google
|
|
2857
2875
|
end
|
2858
2876
|
end
|
2859
2877
|
|
2878
|
+
# Metadata provided through GetOperation request for the LRO generated by
|
2879
|
+
# Partial Delete Connection API
|
2880
|
+
class PartialDeleteConnectionMetadata
|
2881
|
+
include Google::Apis::Core::Hashable
|
2882
|
+
|
2883
|
+
def initialize(**args)
|
2884
|
+
update!(**args)
|
2885
|
+
end
|
2886
|
+
|
2887
|
+
# Update properties of this object
|
2888
|
+
def update!(**args)
|
2889
|
+
end
|
2890
|
+
end
|
2891
|
+
|
2860
2892
|
# DNS domain suffix for which requests originating in the producer VPC network
|
2861
2893
|
# are resolved in the associated consumer VPC network.
|
2862
2894
|
class PeeredDnsDomain
|
@@ -3413,13 +3445,16 @@ module Google
|
|
3413
3445
|
end
|
3414
3446
|
end
|
3415
3447
|
|
3416
|
-
# `Service` is the root object of Google service configuration
|
3417
|
-
# describes basic information about a service, such as
|
3418
|
-
# and delegates other aspects to sub-
|
3419
|
-
#
|
3420
|
-
#
|
3421
|
-
# google.api.Service name:
|
3422
|
-
#
|
3448
|
+
# `Service` is the root object of Google API service configuration (service
|
3449
|
+
# config). It describes the basic information about a logical service, such as
|
3450
|
+
# the service name and the user-facing title, and delegates other aspects to sub-
|
3451
|
+
# sections. Each sub-section is either a proto message or a repeated proto
|
3452
|
+
# message that configures a specific aspect, such as auth. For more information,
|
3453
|
+
# see each proto message definition. Example: type: google.api.Service name:
|
3454
|
+
# calendar.googleapis.com title: Google Calendar API apis: - name: google.
|
3455
|
+
# calendar.v3.Calendar visibility: rules: - selector: "google.calendar.v3.*"
|
3456
|
+
# restriction: PREVIEW backend: rules: - selector: "google.calendar.v3.*"
|
3457
|
+
# address: calendar.example.com authentication: providers: - id:
|
3423
3458
|
# google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs
|
3424
3459
|
# issuer: https://securetoken.google.com rules: - selector: "*" requirements:
|
3425
3460
|
# provider_id: google_calendar_auth
|
@@ -3435,11 +3470,13 @@ module Google
|
|
3435
3470
|
# @return [Array<Google::Apis::ServicenetworkingV1::Api>]
|
3436
3471
|
attr_accessor :apis
|
3437
3472
|
|
3438
|
-
# `Authentication` defines the authentication configuration for
|
3439
|
-
#
|
3473
|
+
# `Authentication` defines the authentication configuration for API methods
|
3474
|
+
# provided by an API service. Example: name: calendar.googleapis.com
|
3440
3475
|
# authentication: providers: - id: google_calendar_auth jwks_uri: https://www.
|
3441
3476
|
# googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: -
|
3442
|
-
# selector: "*" requirements: provider_id: google_calendar_auth
|
3477
|
+
# selector: "*" requirements: provider_id: google_calendar_auth - selector:
|
3478
|
+
# google.calendar.Delegate oauth: canonical_scopes: https://www.googleapis.com/
|
3479
|
+
# auth/calendar.read
|
3443
3480
|
# Corresponds to the JSON property `authentication`
|
3444
3481
|
# @return [Google::Apis::ServicenetworkingV1::Authentication]
|
3445
3482
|
attr_accessor :authentication
|
@@ -3468,7 +3505,8 @@ module Google
|
|
3468
3505
|
# @return [Google::Apis::ServicenetworkingV1::Billing]
|
3469
3506
|
attr_accessor :billing
|
3470
3507
|
|
3471
|
-
#
|
3508
|
+
# Obsolete. Do not use. This field has no semantic meaning. The service config
|
3509
|
+
# compiler always sets this field to `3`.
|
3472
3510
|
# Corresponds to the JSON property `configVersion`
|
3473
3511
|
# @return [Fixnum]
|
3474
3512
|
attr_accessor :config_version
|
@@ -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.8.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210519"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -202,6 +202,12 @@ module Google
|
|
202
202
|
include Google::Apis::Core::JsonObjectSupport
|
203
203
|
end
|
204
204
|
|
205
|
+
class DeleteConnectionRequest
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
205
211
|
class DeletePeeredDnsDomainMetadata
|
206
212
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
213
|
|
@@ -424,6 +430,12 @@ module Google
|
|
424
430
|
include Google::Apis::Core::JsonObjectSupport
|
425
431
|
end
|
426
432
|
|
433
|
+
class PartialDeleteConnectionMetadata
|
434
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
|
+
|
436
|
+
include Google::Apis::Core::JsonObjectSupport
|
437
|
+
end
|
438
|
+
|
427
439
|
class PeeredDnsDomain
|
428
440
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
441
|
|
@@ -906,6 +918,13 @@ module Google
|
|
906
918
|
end
|
907
919
|
end
|
908
920
|
|
921
|
+
class DeleteConnectionRequest
|
922
|
+
# @private
|
923
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
924
|
+
property :consumer_network, as: 'consumerNetwork'
|
925
|
+
end
|
926
|
+
end
|
927
|
+
|
909
928
|
class DeletePeeredDnsDomainMetadata
|
910
929
|
# @private
|
911
930
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -976,7 +995,6 @@ module Google
|
|
976
995
|
class Endpoint
|
977
996
|
# @private
|
978
997
|
class Representation < Google::Apis::Core::JsonRepresentation
|
979
|
-
collection :aliases, as: 'aliases'
|
980
998
|
property :allow_cors, as: 'allowCors'
|
981
999
|
property :name, as: 'name'
|
982
1000
|
property :target, as: 'target'
|
@@ -1278,6 +1296,12 @@ module Google
|
|
1278
1296
|
end
|
1279
1297
|
end
|
1280
1298
|
|
1299
|
+
class PartialDeleteConnectionMetadata
|
1300
|
+
# @private
|
1301
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1302
|
+
end
|
1303
|
+
end
|
1304
|
+
|
1281
1305
|
class PeeredDnsDomain
|
1282
1306
|
# @private
|
1283
1307
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -432,6 +432,44 @@ module Google
|
|
432
432
|
execute_or_queue_command(command, &block)
|
433
433
|
end
|
434
434
|
|
435
|
+
# Deletes a private service access connection.
|
436
|
+
# @param [String] name
|
437
|
+
# Required. The private service connection that connects to a service producer
|
438
|
+
# organization. The name includes both the private service name and the VPC
|
439
|
+
# network peering name in the format of `services/`peering_service_name`/
|
440
|
+
# connections/`vpc_peering_name``. For Google services that support this
|
441
|
+
# functionality, this is `services/servicenetworking.googleapis.com/connections/
|
442
|
+
# servicenetworking-googleapis-com`.
|
443
|
+
# @param [Google::Apis::ServicenetworkingV1::DeleteConnectionRequest] delete_connection_request_object
|
444
|
+
# @param [String] fields
|
445
|
+
# Selector specifying which fields to include in a partial response.
|
446
|
+
# @param [String] quota_user
|
447
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
448
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
449
|
+
# @param [Google::Apis::RequestOptions] options
|
450
|
+
# Request-specific options
|
451
|
+
#
|
452
|
+
# @yield [result, err] Result & error if block supplied
|
453
|
+
# @yieldparam result [Google::Apis::ServicenetworkingV1::Operation] parsed result object
|
454
|
+
# @yieldparam err [StandardError] error object if request failed
|
455
|
+
#
|
456
|
+
# @return [Google::Apis::ServicenetworkingV1::Operation]
|
457
|
+
#
|
458
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
459
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
460
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
461
|
+
def delete_connection(name, delete_connection_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
462
|
+
command = make_simple_command(:post, 'v1/{+name}', options)
|
463
|
+
command.request_representation = Google::Apis::ServicenetworkingV1::DeleteConnectionRequest::Representation
|
464
|
+
command.request_object = delete_connection_request_object
|
465
|
+
command.response_representation = Google::Apis::ServicenetworkingV1::Operation::Representation
|
466
|
+
command.response_class = Google::Apis::ServicenetworkingV1::Operation
|
467
|
+
command.params['name'] = name unless name.nil?
|
468
|
+
command.query['fields'] = fields unless fields.nil?
|
469
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
470
|
+
execute_or_queue_command(command, &block)
|
471
|
+
end
|
472
|
+
|
435
473
|
# List the private connections that are configured in a service consumer's VPC
|
436
474
|
# network.
|
437
475
|
# @param [String] parent
|
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.8.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-
|
11
|
+
date: 2021-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-servicenetworking_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-servicenetworking_v1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-servicenetworking_v1/v0.8.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-servicenetworking_v1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
62
|
requirements:
|
63
63
|
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: '2.
|
65
|
+
version: '2.5'
|
66
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
72
|
+
rubygems_version: 3.2.17
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Service Networking API V1
|