google-apis-servicenetworking_v1 0.5.0 → 0.6.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 +4 -0
- data/lib/google/apis/servicenetworking_v1/classes.rb +24 -1
- data/lib/google/apis/servicenetworking_v1/gem_version.rb +2 -2
- data/lib/google/apis/servicenetworking_v1/representations.rb +13 -0
- data/lib/google/apis/servicenetworking_v1/service.rb +38 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5d616431b21afc4852537b76f01737bcfba5643aa52be3b961f1163ce6181b3
|
4
|
+
data.tar.gz: f2950924660a5c67da6804fdba26f8914a3deb521fd5a2291f3e2af0edafdb32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c347fa769ee2941ed6c86c87b6842b349e2ea5bb704c18cfa8964f7ca5b5bec46bbfa0ca0560d8c05e3d88256b7e050e5a2d6a4b1c0d64bb821860d8a7b92de
|
7
|
+
data.tar.gz: e738910db1ab946ab7bb57bf1ce14a2ed235e05aae4ba5dac9b103afc19df6521b1ec9a13f79585eff5f37aa505d8d0d423feebb60dbbe37c62035775da4fefb
|
data/CHANGELOG.md
CHANGED
@@ -1147,6 +1147,28 @@ module Google
|
|
1147
1147
|
end
|
1148
1148
|
end
|
1149
1149
|
|
1150
|
+
# Request to delete a private service access connection. The call will fail if
|
1151
|
+
# there are any managed service instances using this connection.
|
1152
|
+
class DeleteConnectionRequest
|
1153
|
+
include Google::Apis::Core::Hashable
|
1154
|
+
|
1155
|
+
# Required. The network that the consumer is using to connect with services.
|
1156
|
+
# Must be in the form of projects/`project`/global/networks/`network` `project`
|
1157
|
+
# is a project number, as in '12345' `network` is a network name.
|
1158
|
+
# Corresponds to the JSON property `consumerNetwork`
|
1159
|
+
# @return [String]
|
1160
|
+
attr_accessor :consumer_network
|
1161
|
+
|
1162
|
+
def initialize(**args)
|
1163
|
+
update!(**args)
|
1164
|
+
end
|
1165
|
+
|
1166
|
+
# Update properties of this object
|
1167
|
+
def update!(**args)
|
1168
|
+
@consumer_network = args[:consumer_network] if args.key?(:consumer_network)
|
1169
|
+
end
|
1170
|
+
end
|
1171
|
+
|
1150
1172
|
# Metadata provided through GetOperation request for the LRO generated by
|
1151
1173
|
# DeletePeeredDnsDomain API.
|
1152
1174
|
class DeletePeeredDnsDomainMetadata
|
@@ -3468,7 +3490,8 @@ module Google
|
|
3468
3490
|
# @return [Google::Apis::ServicenetworkingV1::Billing]
|
3469
3491
|
attr_accessor :billing
|
3470
3492
|
|
3471
|
-
#
|
3493
|
+
# Obsolete. Do not use. This field has no semantic meaning. The service config
|
3494
|
+
# compiler always sets this field to `3`.
|
3472
3495
|
# Corresponds to the JSON property `configVersion`
|
3473
3496
|
# @return [Fixnum]
|
3474
3497
|
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.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210331"
|
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
|
@@ -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.6.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-04-05 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.6.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: []
|