google-apis-servicenetworking_v1 0.1.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 +22 -0
- data/lib/google/apis/servicenetworking_v1.rb +1 -1
- data/lib/google/apis/servicenetworking_v1/classes.rb +131 -19
- data/lib/google/apis/servicenetworking_v1/gem_version.rb +3 -3
- data/lib/google/apis/servicenetworking_v1/representations.rb +46 -0
- 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: 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
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-servicenetworking_v1
|
2
2
|
|
3
|
+
### v0.6.0 (2021-04-02)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210331
|
6
|
+
|
7
|
+
### v0.5.0 (2021-03-23)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210319
|
10
|
+
* Regenerated using generator version 0.2.0
|
11
|
+
|
12
|
+
### v0.4.0 (2021-03-04)
|
13
|
+
|
14
|
+
* Unspecified changes
|
15
|
+
|
16
|
+
### v0.3.0 (2021-02-19)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210217
|
19
|
+
|
20
|
+
### v0.2.0 (2021-01-27)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210125
|
23
|
+
* Regenerated using generator version 0.1.2
|
24
|
+
|
3
25
|
### v0.1.0 (2021-01-07)
|
4
26
|
|
5
27
|
* Regenerated from discovery document revision 20210105
|
@@ -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
|
@@ -1133,6 +1133,42 @@ module Google
|
|
1133
1133
|
end
|
1134
1134
|
end
|
1135
1135
|
|
1136
|
+
# Metadata provided through GetOperation request for the LRO generated by Delete
|
1137
|
+
# Connection API
|
1138
|
+
class DeleteConnectionMetadata
|
1139
|
+
include Google::Apis::Core::Hashable
|
1140
|
+
|
1141
|
+
def initialize(**args)
|
1142
|
+
update!(**args)
|
1143
|
+
end
|
1144
|
+
|
1145
|
+
# Update properties of this object
|
1146
|
+
def update!(**args)
|
1147
|
+
end
|
1148
|
+
end
|
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
|
+
|
1136
1172
|
# Metadata provided through GetOperation request for the LRO generated by
|
1137
1173
|
# DeletePeeredDnsDomain API.
|
1138
1174
|
class DeletePeeredDnsDomainMetadata
|
@@ -1630,6 +1666,54 @@ module Google
|
|
1630
1666
|
end
|
1631
1667
|
end
|
1632
1668
|
|
1669
|
+
# Represents a private connection resource. A private connection is implemented
|
1670
|
+
# as a VPC Network Peering connection between a service producer's VPC network
|
1671
|
+
# and a service consumer's VPC network.
|
1672
|
+
class GoogleCloudServicenetworkingV1betaConnection
|
1673
|
+
include Google::Apis::Core::Hashable
|
1674
|
+
|
1675
|
+
# The name of service consumer's VPC network that's connected with service
|
1676
|
+
# producer network, in the following format: `projects/`project`/global/networks/
|
1677
|
+
# `network``. ``project`` is a project number, such as in `12345` that includes
|
1678
|
+
# the VPC service consumer's VPC network. ``network`` is the name of the service
|
1679
|
+
# consumer's VPC network.
|
1680
|
+
# Corresponds to the JSON property `network`
|
1681
|
+
# @return [String]
|
1682
|
+
attr_accessor :network
|
1683
|
+
|
1684
|
+
# Output only. The name of the VPC Network Peering connection that was created
|
1685
|
+
# by the service producer.
|
1686
|
+
# Corresponds to the JSON property `peering`
|
1687
|
+
# @return [String]
|
1688
|
+
attr_accessor :peering
|
1689
|
+
|
1690
|
+
# The name of one or more allocated IP address ranges for this service producer
|
1691
|
+
# of type `PEERING`. Note that invoking this method with a different range when
|
1692
|
+
# connection is already established will not modify already provisioned service
|
1693
|
+
# producer subnetworks.
|
1694
|
+
# Corresponds to the JSON property `reservedPeeringRanges`
|
1695
|
+
# @return [Array<String>]
|
1696
|
+
attr_accessor :reserved_peering_ranges
|
1697
|
+
|
1698
|
+
# Output only. The name of the peering service that's associated with this
|
1699
|
+
# connection, in the following format: `services/`service name``.
|
1700
|
+
# Corresponds to the JSON property `service`
|
1701
|
+
# @return [String]
|
1702
|
+
attr_accessor :service
|
1703
|
+
|
1704
|
+
def initialize(**args)
|
1705
|
+
update!(**args)
|
1706
|
+
end
|
1707
|
+
|
1708
|
+
# Update properties of this object
|
1709
|
+
def update!(**args)
|
1710
|
+
@network = args[:network] if args.key?(:network)
|
1711
|
+
@peering = args[:peering] if args.key?(:peering)
|
1712
|
+
@reserved_peering_ranges = args[:reserved_peering_ranges] if args.key?(:reserved_peering_ranges)
|
1713
|
+
@service = args[:service] if args.key?(:service)
|
1714
|
+
end
|
1715
|
+
end
|
1716
|
+
|
1633
1717
|
# Represents a subnet that was created or discovered by a private access
|
1634
1718
|
# management service.
|
1635
1719
|
class GoogleCloudServicenetworkingV1betaSubnetwork
|
@@ -2284,11 +2368,11 @@ module Google
|
|
2284
2368
|
|
2285
2369
|
# The units in which the metric value is reported. It is only applicable if the `
|
2286
2370
|
# value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` defines the
|
2287
|
-
# representation of the stored metric values. Different systems
|
2288
|
-
# values to be more easily displayed (so a value of `0.
|
2289
|
-
# displayed as `20By`, and a value of `
|
2290
|
-
# . However, if the `unit` is `
|
2291
|
-
# thousands of bytes, no matter how it
|
2371
|
+
# representation of the stored metric values. Different systems might scale the
|
2372
|
+
# values to be more easily displayed (so a value of `0.02kBy` _might_ be
|
2373
|
+
# displayed as `20By`, and a value of `3523kBy` _might_ be displayed as `3.5MBy`)
|
2374
|
+
# . However, if the `unit` is `kBy`, then the value of the metric is always in
|
2375
|
+
# thousands of bytes, no matter how it might be displayed. If you want a custom
|
2292
2376
|
# metric to record the exact number of CPU-seconds used by a job, you can create
|
2293
2377
|
# an `INT64 CUMULATIVE` metric whose `unit` is `s`CPU`` (or equivalently `1s`CPU`
|
2294
2378
|
# ` or just `s`). If the job uses 12,005 CPU-seconds, then the value is written
|
@@ -2296,7 +2380,7 @@ module Google
|
|
2296
2380
|
# more granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is
|
2297
2381
|
# `ks`CPU``, and then write the value `12.005` (which is `12005/1000`), or use `
|
2298
2382
|
# Kis`CPU`` and write `11.723` (which is `12005/1024`). The supported units are
|
2299
|
-
# a subset of [The Unified Code for Units of Measure](
|
2383
|
+
# a subset of [The Unified Code for Units of Measure](https://unitsofmeasure.org/
|
2300
2384
|
# ucum.html) standard: **Basic units (UNIT)** * `bit` bit * `By` byte * `s`
|
2301
2385
|
# second * `min` minute * `h` hour * `d` day * `1` dimensionless **Prefixes (
|
2302
2386
|
# PREFIX)** * `k` kilo (10^3) * `M` mega (10^6) * `G` giga (10^9) * `T` tera (10^
|
@@ -3066,14 +3150,22 @@ module Google
|
|
3066
3150
|
# @return [Array<String>]
|
3067
3151
|
attr_accessor :requested_ranges
|
3068
3152
|
|
3069
|
-
# Optional.
|
3070
|
-
#
|
3071
|
-
#
|
3072
|
-
#
|
3153
|
+
# Optional. The size of the desired secondary ranges for the subnet. Use usual
|
3154
|
+
# CIDR range notation. For example, '30' to find unused x.x.x.x/30 CIDR range.
|
3155
|
+
# The goal is to determine that the allocated ranges have enough free space for
|
3156
|
+
# all the requested secondary ranges.
|
3073
3157
|
# Corresponds to the JSON property `secondaryRangeIpPrefixLengths`
|
3074
3158
|
# @return [Array<Fixnum>]
|
3075
3159
|
attr_accessor :secondary_range_ip_prefix_lengths
|
3076
3160
|
|
3161
|
+
# Optional. List of subnetwork candidates to validate. The required input fields
|
3162
|
+
# are `name`, `network`, and `region`. Subnetworks from this list which exist
|
3163
|
+
# will be returned in the response with the `ip_cidr_range`, `
|
3164
|
+
# secondary_ip_cider_ranges`, and `outside_allocation` fields set.
|
3165
|
+
# Corresponds to the JSON property `subnetworkCandidates`
|
3166
|
+
# @return [Array<Google::Apis::ServicenetworkingV1::Subnetwork>]
|
3167
|
+
attr_accessor :subnetwork_candidates
|
3168
|
+
|
3077
3169
|
def initialize(**args)
|
3078
3170
|
update!(**args)
|
3079
3171
|
end
|
@@ -3083,6 +3175,7 @@ module Google
|
|
3083
3175
|
@ip_prefix_length = args[:ip_prefix_length] if args.key?(:ip_prefix_length)
|
3084
3176
|
@requested_ranges = args[:requested_ranges] if args.key?(:requested_ranges)
|
3085
3177
|
@secondary_range_ip_prefix_lengths = args[:secondary_range_ip_prefix_lengths] if args.key?(:secondary_range_ip_prefix_lengths)
|
3178
|
+
@subnetwork_candidates = args[:subnetwork_candidates] if args.key?(:subnetwork_candidates)
|
3086
3179
|
end
|
3087
3180
|
end
|
3088
3181
|
|
@@ -3347,11 +3440,11 @@ module Google
|
|
3347
3440
|
# and delegates other aspects to sub-sections. Each sub-section is either a
|
3348
3441
|
# proto message or a repeated proto message that configures a specific aspect,
|
3349
3442
|
# such as auth. See each proto message definition for details. Example: type:
|
3350
|
-
# google.api.Service
|
3351
|
-
#
|
3352
|
-
#
|
3353
|
-
#
|
3354
|
-
#
|
3443
|
+
# google.api.Service name: calendar.googleapis.com title: Google Calendar API
|
3444
|
+
# apis: - name: google.calendar.v3.Calendar authentication: providers: - id:
|
3445
|
+
# google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs
|
3446
|
+
# issuer: https://securetoken.google.com rules: - selector: "*" requirements:
|
3447
|
+
# provider_id: google_calendar_auth
|
3355
3448
|
class Service
|
3356
3449
|
include Google::Apis::Core::Hashable
|
3357
3450
|
|
@@ -3397,7 +3490,8 @@ module Google
|
|
3397
3490
|
# @return [Google::Apis::ServicenetworkingV1::Billing]
|
3398
3491
|
attr_accessor :billing
|
3399
3492
|
|
3400
|
-
#
|
3493
|
+
# Obsolete. Do not use. This field has no semantic meaning. The service config
|
3494
|
+
# compiler always sets this field to `3`.
|
3401
3495
|
# Corresponds to the JSON property `configVersion`
|
3402
3496
|
# @return [Fixnum]
|
3403
3497
|
attr_accessor :config_version
|
@@ -3769,6 +3863,11 @@ module Google
|
|
3769
3863
|
attr_accessor :outside_allocation
|
3770
3864
|
alias_method :outside_allocation?, :outside_allocation
|
3771
3865
|
|
3866
|
+
# GCP region where the subnetwork is located.
|
3867
|
+
# Corresponds to the JSON property `region`
|
3868
|
+
# @return [String]
|
3869
|
+
attr_accessor :region
|
3870
|
+
|
3772
3871
|
# List of secondary IP ranges in this subnetwork.
|
3773
3872
|
# Corresponds to the JSON property `secondaryIpRanges`
|
3774
3873
|
# @return [Array<Google::Apis::ServicenetworkingV1::SecondaryIpRange>]
|
@@ -3784,6 +3883,7 @@ module Google
|
|
3784
3883
|
@name = args[:name] if args.key?(:name)
|
3785
3884
|
@network = args[:network] if args.key?(:network)
|
3786
3885
|
@outside_allocation = args[:outside_allocation] if args.key?(:outside_allocation)
|
3886
|
+
@region = args[:region] if args.key?(:region)
|
3787
3887
|
@secondary_ip_ranges = args[:secondary_ip_ranges] if args.key?(:secondary_ip_ranges)
|
3788
3888
|
end
|
3789
3889
|
end
|
@@ -4025,7 +4125,11 @@ module Google
|
|
4025
4125
|
|
4026
4126
|
# Requirements that must be satisfied before a consumer project can use the
|
4027
4127
|
# service. Each requirement is of the form /; for example 'serviceusage.
|
4028
|
-
# googleapis.com/billing-enabled'.
|
4128
|
+
# googleapis.com/billing-enabled'. For Google APIs, a Terms of Service
|
4129
|
+
# requirement must be included here. Google Cloud APIs must include "
|
4130
|
+
# serviceusage.googleapis.com/tos/cloud". Other Google APIs should include "
|
4131
|
+
# serviceusage.googleapis.com/tos/universal". Additional ToS can be included
|
4132
|
+
# based on the business needs.
|
4029
4133
|
# Corresponds to the JSON property `requirements`
|
4030
4134
|
# @return [Array<String>]
|
4031
4135
|
attr_accessor :requirements
|
@@ -4144,13 +4248,20 @@ module Google
|
|
4144
4248
|
class ValidateConsumerConfigResponse
|
4145
4249
|
include Google::Apis::Core::Hashable
|
4146
4250
|
|
4147
|
-
#
|
4251
|
+
# List of subnetwork candidates from the request which exist with the `
|
4252
|
+
# ip_cidr_range`, `secondary_ip_cider_ranges`, and `outside_allocation` fields
|
4253
|
+
# set.
|
4254
|
+
# Corresponds to the JSON property `existingSubnetworkCandidates`
|
4255
|
+
# @return [Array<Google::Apis::ServicenetworkingV1::Subnetwork>]
|
4256
|
+
attr_accessor :existing_subnetwork_candidates
|
4257
|
+
|
4258
|
+
# Indicates whether all the requested validations passed.
|
4148
4259
|
# Corresponds to the JSON property `isValid`
|
4149
4260
|
# @return [Boolean]
|
4150
4261
|
attr_accessor :is_valid
|
4151
4262
|
alias_method :is_valid?, :is_valid
|
4152
4263
|
|
4153
|
-
#
|
4264
|
+
# The first validation which failed.
|
4154
4265
|
# Corresponds to the JSON property `validationError`
|
4155
4266
|
# @return [String]
|
4156
4267
|
attr_accessor :validation_error
|
@@ -4161,6 +4272,7 @@ module Google
|
|
4161
4272
|
|
4162
4273
|
# Update properties of this object
|
4163
4274
|
def update!(**args)
|
4275
|
+
@existing_subnetwork_candidates = args[:existing_subnetwork_candidates] if args.key?(:existing_subnetwork_candidates)
|
4164
4276
|
@is_valid = args[:is_valid] if args.key?(:is_valid)
|
4165
4277
|
@validation_error = args[:validation_error] if args.key?(:validation_error)
|
4166
4278
|
end
|
@@ -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
|
-
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 = "20210331"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -196,6 +196,18 @@ module Google
|
|
196
196
|
include Google::Apis::Core::JsonObjectSupport
|
197
197
|
end
|
198
198
|
|
199
|
+
class DeleteConnectionMetadata
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class DeleteConnectionRequest
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
199
211
|
class DeletePeeredDnsDomainMetadata
|
200
212
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
213
|
|
@@ -274,6 +286,12 @@ module Google
|
|
274
286
|
include Google::Apis::Core::JsonObjectSupport
|
275
287
|
end
|
276
288
|
|
289
|
+
class GoogleCloudServicenetworkingV1betaConnection
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
294
|
+
|
277
295
|
class GoogleCloudServicenetworkingV1betaSubnetwork
|
278
296
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
297
|
|
@@ -888,6 +906,19 @@ module Google
|
|
888
906
|
end
|
889
907
|
end
|
890
908
|
|
909
|
+
class DeleteConnectionMetadata
|
910
|
+
# @private
|
911
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
912
|
+
end
|
913
|
+
end
|
914
|
+
|
915
|
+
class DeleteConnectionRequest
|
916
|
+
# @private
|
917
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
918
|
+
property :consumer_network, as: 'consumerNetwork'
|
919
|
+
end
|
920
|
+
end
|
921
|
+
|
891
922
|
class DeletePeeredDnsDomainMetadata
|
892
923
|
# @private
|
893
924
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1015,6 +1046,16 @@ module Google
|
|
1015
1046
|
end
|
1016
1047
|
end
|
1017
1048
|
|
1049
|
+
class GoogleCloudServicenetworkingV1betaConnection
|
1050
|
+
# @private
|
1051
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1052
|
+
property :network, as: 'network'
|
1053
|
+
property :peering, as: 'peering'
|
1054
|
+
collection :reserved_peering_ranges, as: 'reservedPeeringRanges'
|
1055
|
+
property :service, as: 'service'
|
1056
|
+
end
|
1057
|
+
end
|
1058
|
+
|
1018
1059
|
class GoogleCloudServicenetworkingV1betaSubnetwork
|
1019
1060
|
# @private
|
1020
1061
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1312,6 +1353,8 @@ module Google
|
|
1312
1353
|
property :ip_prefix_length, as: 'ipPrefixLength'
|
1313
1354
|
collection :requested_ranges, as: 'requestedRanges'
|
1314
1355
|
collection :secondary_range_ip_prefix_lengths, as: 'secondaryRangeIpPrefixLengths'
|
1356
|
+
collection :subnetwork_candidates, as: 'subnetworkCandidates', class: Google::Apis::ServicenetworkingV1::Subnetwork, decorator: Google::Apis::ServicenetworkingV1::Subnetwork::Representation
|
1357
|
+
|
1315
1358
|
end
|
1316
1359
|
end
|
1317
1360
|
|
@@ -1477,6 +1520,7 @@ module Google
|
|
1477
1520
|
property :name, as: 'name'
|
1478
1521
|
property :network, as: 'network'
|
1479
1522
|
property :outside_allocation, as: 'outsideAllocation'
|
1523
|
+
property :region, as: 'region'
|
1480
1524
|
collection :secondary_ip_ranges, as: 'secondaryIpRanges', class: Google::Apis::ServicenetworkingV1::SecondaryIpRange, decorator: Google::Apis::ServicenetworkingV1::SecondaryIpRange::Representation
|
1481
1525
|
|
1482
1526
|
end
|
@@ -1583,6 +1627,8 @@ module Google
|
|
1583
1627
|
class ValidateConsumerConfigResponse
|
1584
1628
|
# @private
|
1585
1629
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1630
|
+
collection :existing_subnetwork_candidates, as: 'existingSubnetworkCandidates', class: Google::Apis::ServicenetworkingV1::Subnetwork, decorator: Google::Apis::ServicenetworkingV1::Subnetwork::Representation
|
1631
|
+
|
1586
1632
|
property :is_valid, as: 'isValid'
|
1587
1633
|
property :validation_error, as: 'validationError'
|
1588
1634
|
end
|
@@ -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: []
|
@@ -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.
|
72
|
+
rubygems_version: 3.2.13
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Service Networking API V1
|