google-apis-servicenetworking_v1 0.2.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/lib/google/apis/servicenetworking_v1.rb +1 -1
- data/lib/google/apis/servicenetworking_v1/classes.rb +59 -35
- data/lib/google/apis/servicenetworking_v1/gem_version.rb +3 -3
- data/lib/google/apis/servicenetworking_v1/representations.rb +13 -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: 063a96844e17998714bef51c107fb0b40edb02b67e7b2486334b35ef568f963e
|
4
|
+
data.tar.gz: a20f6147bf2f93c548bdb061678f435487d72b962b56b818ac15e169e37fd6c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2fea1c1d8f40a594ebf8974f36be16d6ce71ac72acf2ab734de642254db811616f98d848f75b02fdc6347666b9a02f855769ba8957567348920bbd87a5543382
|
7
|
+
data.tar.gz: 2257456eed01983182798c6655cacd1e2bda7795dcc1d9cf950e42a3def9566ba534c5ddaa455dd97a69a8ebd64cb75e28f3ec534bddef4e163ef2828763d4c4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-servicenetworking_v1
|
2
2
|
|
3
|
+
### v0.7.0 (2021-05-08)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210505
|
6
|
+
|
7
|
+
### v0.6.0 (2021-04-02)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210331
|
10
|
+
|
11
|
+
### v0.5.0 (2021-03-23)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210319
|
14
|
+
* Regenerated using generator version 0.2.0
|
15
|
+
|
16
|
+
### v0.4.0 (2021-03-04)
|
17
|
+
|
18
|
+
* Unspecified changes
|
19
|
+
|
20
|
+
### v0.3.0 (2021-02-19)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210217
|
23
|
+
|
3
24
|
### v0.2.0 (2021-01-27)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210125
|
@@ -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)
|
@@ -3413,16 +3431,19 @@ module Google
|
|
3413
3431
|
end
|
3414
3432
|
end
|
3415
3433
|
|
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
|
-
#
|
3422
|
-
# Google Calendar API apis: - name: google.
|
3423
|
-
#
|
3424
|
-
#
|
3425
|
-
#
|
3434
|
+
# `Service` is the root object of Google API service configuration (service
|
3435
|
+
# config). It describes the basic information about a logical service, such as
|
3436
|
+
# the service name and the user-facing title, and delegates other aspects to sub-
|
3437
|
+
# sections. Each sub-section is either a proto message or a repeated proto
|
3438
|
+
# message that configures a specific aspect, such as auth. For more information,
|
3439
|
+
# see each proto message definition. Example: type: google.api.Service name:
|
3440
|
+
# calendar.googleapis.com title: Google Calendar API apis: - name: google.
|
3441
|
+
# calendar.v3.Calendar visibility: rules: - selector: "google.calendar.v3.*"
|
3442
|
+
# restriction: PREVIEW backend: rules: - selector: "google.calendar.v3.*"
|
3443
|
+
# address: calendar.example.com authentication: providers: - id:
|
3444
|
+
# google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs
|
3445
|
+
# issuer: https://securetoken.google.com rules: - selector: "*" requirements:
|
3446
|
+
# provider_id: google_calendar_auth
|
3426
3447
|
class Service
|
3427
3448
|
include Google::Apis::Core::Hashable
|
3428
3449
|
|
@@ -3435,11 +3456,13 @@ module Google
|
|
3435
3456
|
# @return [Array<Google::Apis::ServicenetworkingV1::Api>]
|
3436
3457
|
attr_accessor :apis
|
3437
3458
|
|
3438
|
-
# `Authentication` defines the authentication configuration for
|
3439
|
-
#
|
3459
|
+
# `Authentication` defines the authentication configuration for API methods
|
3460
|
+
# provided by an API service. Example: name: calendar.googleapis.com
|
3440
3461
|
# authentication: providers: - id: google_calendar_auth jwks_uri: https://www.
|
3441
3462
|
# googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: -
|
3442
|
-
# selector: "*" requirements: provider_id: google_calendar_auth
|
3463
|
+
# selector: "*" requirements: provider_id: google_calendar_auth - selector:
|
3464
|
+
# google.calendar.Delegate oauth: canonical_scopes: https://www.googleapis.com/
|
3465
|
+
# auth/calendar.read
|
3443
3466
|
# Corresponds to the JSON property `authentication`
|
3444
3467
|
# @return [Google::Apis::ServicenetworkingV1::Authentication]
|
3445
3468
|
attr_accessor :authentication
|
@@ -3468,7 +3491,8 @@ module Google
|
|
3468
3491
|
# @return [Google::Apis::ServicenetworkingV1::Billing]
|
3469
3492
|
attr_accessor :billing
|
3470
3493
|
|
3471
|
-
#
|
3494
|
+
# Obsolete. Do not use. This field has no semantic meaning. The service config
|
3495
|
+
# compiler always sets this field to `3`.
|
3472
3496
|
# Corresponds to the JSON property `configVersion`
|
3473
3497
|
# @return [Fixnum]
|
3474
3498
|
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.7.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 = "20210505"
|
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
|
|
@@ -906,6 +912,13 @@ module Google
|
|
906
912
|
end
|
907
913
|
end
|
908
914
|
|
915
|
+
class DeleteConnectionRequest
|
916
|
+
# @private
|
917
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
918
|
+
property :consumer_network, as: 'consumerNetwork'
|
919
|
+
end
|
920
|
+
end
|
921
|
+
|
909
922
|
class DeletePeeredDnsDomainMetadata
|
910
923
|
# @private
|
911
924
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -976,7 +989,6 @@ module Google
|
|
976
989
|
class Endpoint
|
977
990
|
# @private
|
978
991
|
class Representation < Google::Apis::Core::JsonRepresentation
|
979
|
-
collection :aliases, as: 'aliases'
|
980
992
|
property :allow_cors, as: 'allowCors'
|
981
993
|
property :name, as: 'name'
|
982
994
|
property :target, as: 'target'
|
@@ -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.7.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-18 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.7.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
|