google-apis-servicenetworking_v1 0.1.0 → 0.2.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: 196f5848696019e6420810a5118afe285b789ca76d966f79086426914a8e442e
|
4
|
+
data.tar.gz: b543ec217cfd50f32828f780fc115d18900f3525ea3b7038949a34db26a09a12
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea160a4cfee866d2937d0a0a8b6f2c79690d3ea95c85af4c1430f3d35602f36691c8c6d22ad8d3f6df44bddbb8c21879dc4ef4183f73d03c4a199d3ec52a368d
|
7
|
+
data.tar.gz: 57e045cb35379f6f1617f21d9d97fd6df96c33ce41fdf371a637466454891dc6e404f6f0b6a30961a7ec0bbea859fe77fcb779f9007378588718e0316be2bff0
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-servicenetworking_v1
|
2
2
|
|
3
|
+
### v0.2.0 (2021-01-27)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210125
|
6
|
+
* Regenerated using generator version 0.1.2
|
7
|
+
|
3
8
|
### v0.1.0 (2021-01-07)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20210105
|
@@ -1133,6 +1133,20 @@ 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
|
+
|
1136
1150
|
# Metadata provided through GetOperation request for the LRO generated by
|
1137
1151
|
# DeletePeeredDnsDomain API.
|
1138
1152
|
class DeletePeeredDnsDomainMetadata
|
@@ -1630,6 +1644,54 @@ module Google
|
|
1630
1644
|
end
|
1631
1645
|
end
|
1632
1646
|
|
1647
|
+
# Represents a private connection resource. A private connection is implemented
|
1648
|
+
# as a VPC Network Peering connection between a service producer's VPC network
|
1649
|
+
# and a service consumer's VPC network.
|
1650
|
+
class GoogleCloudServicenetworkingV1betaConnection
|
1651
|
+
include Google::Apis::Core::Hashable
|
1652
|
+
|
1653
|
+
# The name of service consumer's VPC network that's connected with service
|
1654
|
+
# producer network, in the following format: `projects/`project`/global/networks/
|
1655
|
+
# `network``. ``project`` is a project number, such as in `12345` that includes
|
1656
|
+
# the VPC service consumer's VPC network. ``network`` is the name of the service
|
1657
|
+
# consumer's VPC network.
|
1658
|
+
# Corresponds to the JSON property `network`
|
1659
|
+
# @return [String]
|
1660
|
+
attr_accessor :network
|
1661
|
+
|
1662
|
+
# Output only. The name of the VPC Network Peering connection that was created
|
1663
|
+
# by the service producer.
|
1664
|
+
# Corresponds to the JSON property `peering`
|
1665
|
+
# @return [String]
|
1666
|
+
attr_accessor :peering
|
1667
|
+
|
1668
|
+
# The name of one or more allocated IP address ranges for this service producer
|
1669
|
+
# of type `PEERING`. Note that invoking this method with a different range when
|
1670
|
+
# connection is already established will not modify already provisioned service
|
1671
|
+
# producer subnetworks.
|
1672
|
+
# Corresponds to the JSON property `reservedPeeringRanges`
|
1673
|
+
# @return [Array<String>]
|
1674
|
+
attr_accessor :reserved_peering_ranges
|
1675
|
+
|
1676
|
+
# Output only. The name of the peering service that's associated with this
|
1677
|
+
# connection, in the following format: `services/`service name``.
|
1678
|
+
# Corresponds to the JSON property `service`
|
1679
|
+
# @return [String]
|
1680
|
+
attr_accessor :service
|
1681
|
+
|
1682
|
+
def initialize(**args)
|
1683
|
+
update!(**args)
|
1684
|
+
end
|
1685
|
+
|
1686
|
+
# Update properties of this object
|
1687
|
+
def update!(**args)
|
1688
|
+
@network = args[:network] if args.key?(:network)
|
1689
|
+
@peering = args[:peering] if args.key?(:peering)
|
1690
|
+
@reserved_peering_ranges = args[:reserved_peering_ranges] if args.key?(:reserved_peering_ranges)
|
1691
|
+
@service = args[:service] if args.key?(:service)
|
1692
|
+
end
|
1693
|
+
end
|
1694
|
+
|
1633
1695
|
# Represents a subnet that was created or discovered by a private access
|
1634
1696
|
# management service.
|
1635
1697
|
class GoogleCloudServicenetworkingV1betaSubnetwork
|
@@ -2284,11 +2346,11 @@ module Google
|
|
2284
2346
|
|
2285
2347
|
# The units in which the metric value is reported. It is only applicable if the `
|
2286
2348
|
# 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
|
2349
|
+
# representation of the stored metric values. Different systems might scale the
|
2350
|
+
# values to be more easily displayed (so a value of `0.02kBy` _might_ be
|
2351
|
+
# displayed as `20By`, and a value of `3523kBy` _might_ be displayed as `3.5MBy`)
|
2352
|
+
# . However, if the `unit` is `kBy`, then the value of the metric is always in
|
2353
|
+
# thousands of bytes, no matter how it might be displayed. If you want a custom
|
2292
2354
|
# metric to record the exact number of CPU-seconds used by a job, you can create
|
2293
2355
|
# an `INT64 CUMULATIVE` metric whose `unit` is `s`CPU`` (or equivalently `1s`CPU`
|
2294
2356
|
# ` or just `s`). If the job uses 12,005 CPU-seconds, then the value is written
|
@@ -2296,7 +2358,7 @@ module Google
|
|
2296
2358
|
# more granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is
|
2297
2359
|
# `ks`CPU``, and then write the value `12.005` (which is `12005/1000`), or use `
|
2298
2360
|
# 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](
|
2361
|
+
# a subset of [The Unified Code for Units of Measure](https://unitsofmeasure.org/
|
2300
2362
|
# ucum.html) standard: **Basic units (UNIT)** * `bit` bit * `By` byte * `s`
|
2301
2363
|
# second * `min` minute * `h` hour * `d` day * `1` dimensionless **Prefixes (
|
2302
2364
|
# PREFIX)** * `k` kilo (10^3) * `M` mega (10^6) * `G` giga (10^9) * `T` tera (10^
|
@@ -3066,14 +3128,22 @@ module Google
|
|
3066
3128
|
# @return [Array<String>]
|
3067
3129
|
attr_accessor :requested_ranges
|
3068
3130
|
|
3069
|
-
# Optional.
|
3070
|
-
#
|
3071
|
-
#
|
3072
|
-
#
|
3131
|
+
# Optional. The size of the desired secondary ranges for the subnet. Use usual
|
3132
|
+
# CIDR range notation. For example, '30' to find unused x.x.x.x/30 CIDR range.
|
3133
|
+
# The goal is to determine that the allocated ranges have enough free space for
|
3134
|
+
# all the requested secondary ranges.
|
3073
3135
|
# Corresponds to the JSON property `secondaryRangeIpPrefixLengths`
|
3074
3136
|
# @return [Array<Fixnum>]
|
3075
3137
|
attr_accessor :secondary_range_ip_prefix_lengths
|
3076
3138
|
|
3139
|
+
# Optional. List of subnetwork candidates to validate. The required input fields
|
3140
|
+
# are `name`, `network`, and `region`. Subnetworks from this list which exist
|
3141
|
+
# will be returned in the response with the `ip_cidr_range`, `
|
3142
|
+
# secondary_ip_cider_ranges`, and `outside_allocation` fields set.
|
3143
|
+
# Corresponds to the JSON property `subnetworkCandidates`
|
3144
|
+
# @return [Array<Google::Apis::ServicenetworkingV1::Subnetwork>]
|
3145
|
+
attr_accessor :subnetwork_candidates
|
3146
|
+
|
3077
3147
|
def initialize(**args)
|
3078
3148
|
update!(**args)
|
3079
3149
|
end
|
@@ -3083,6 +3153,7 @@ module Google
|
|
3083
3153
|
@ip_prefix_length = args[:ip_prefix_length] if args.key?(:ip_prefix_length)
|
3084
3154
|
@requested_ranges = args[:requested_ranges] if args.key?(:requested_ranges)
|
3085
3155
|
@secondary_range_ip_prefix_lengths = args[:secondary_range_ip_prefix_lengths] if args.key?(:secondary_range_ip_prefix_lengths)
|
3156
|
+
@subnetwork_candidates = args[:subnetwork_candidates] if args.key?(:subnetwork_candidates)
|
3086
3157
|
end
|
3087
3158
|
end
|
3088
3159
|
|
@@ -3769,6 +3840,11 @@ module Google
|
|
3769
3840
|
attr_accessor :outside_allocation
|
3770
3841
|
alias_method :outside_allocation?, :outside_allocation
|
3771
3842
|
|
3843
|
+
# GCP region where the subnetwork is located.
|
3844
|
+
# Corresponds to the JSON property `region`
|
3845
|
+
# @return [String]
|
3846
|
+
attr_accessor :region
|
3847
|
+
|
3772
3848
|
# List of secondary IP ranges in this subnetwork.
|
3773
3849
|
# Corresponds to the JSON property `secondaryIpRanges`
|
3774
3850
|
# @return [Array<Google::Apis::ServicenetworkingV1::SecondaryIpRange>]
|
@@ -3784,6 +3860,7 @@ module Google
|
|
3784
3860
|
@name = args[:name] if args.key?(:name)
|
3785
3861
|
@network = args[:network] if args.key?(:network)
|
3786
3862
|
@outside_allocation = args[:outside_allocation] if args.key?(:outside_allocation)
|
3863
|
+
@region = args[:region] if args.key?(:region)
|
3787
3864
|
@secondary_ip_ranges = args[:secondary_ip_ranges] if args.key?(:secondary_ip_ranges)
|
3788
3865
|
end
|
3789
3866
|
end
|
@@ -4025,7 +4102,11 @@ module Google
|
|
4025
4102
|
|
4026
4103
|
# Requirements that must be satisfied before a consumer project can use the
|
4027
4104
|
# service. Each requirement is of the form /; for example 'serviceusage.
|
4028
|
-
# googleapis.com/billing-enabled'.
|
4105
|
+
# googleapis.com/billing-enabled'. For Google APIs, a Terms of Service
|
4106
|
+
# requirement must be included here. Google Cloud APIs must include "
|
4107
|
+
# serviceusage.googleapis.com/tos/cloud". Other Google APIs should include "
|
4108
|
+
# serviceusage.googleapis.com/tos/universal". Additional ToS can be included
|
4109
|
+
# based on the business needs.
|
4029
4110
|
# Corresponds to the JSON property `requirements`
|
4030
4111
|
# @return [Array<String>]
|
4031
4112
|
attr_accessor :requirements
|
@@ -4144,13 +4225,20 @@ module Google
|
|
4144
4225
|
class ValidateConsumerConfigResponse
|
4145
4226
|
include Google::Apis::Core::Hashable
|
4146
4227
|
|
4147
|
-
#
|
4228
|
+
# List of subnetwork candidates from the request which exist with the `
|
4229
|
+
# ip_cidr_range`, `secondary_ip_cider_ranges`, and `outside_allocation` fields
|
4230
|
+
# set.
|
4231
|
+
# Corresponds to the JSON property `existingSubnetworkCandidates`
|
4232
|
+
# @return [Array<Google::Apis::ServicenetworkingV1::Subnetwork>]
|
4233
|
+
attr_accessor :existing_subnetwork_candidates
|
4234
|
+
|
4235
|
+
# Indicates whether all the requested validations passed.
|
4148
4236
|
# Corresponds to the JSON property `isValid`
|
4149
4237
|
# @return [Boolean]
|
4150
4238
|
attr_accessor :is_valid
|
4151
4239
|
alias_method :is_valid?, :is_valid
|
4152
4240
|
|
4153
|
-
#
|
4241
|
+
# The first validation which failed.
|
4154
4242
|
# Corresponds to the JSON property `validationError`
|
4155
4243
|
# @return [String]
|
4156
4244
|
attr_accessor :validation_error
|
@@ -4161,6 +4249,7 @@ module Google
|
|
4161
4249
|
|
4162
4250
|
# Update properties of this object
|
4163
4251
|
def update!(**args)
|
4252
|
+
@existing_subnetwork_candidates = args[:existing_subnetwork_candidates] if args.key?(:existing_subnetwork_candidates)
|
4164
4253
|
@is_valid = args[:is_valid] if args.key?(:is_valid)
|
4165
4254
|
@validation_error = args[:validation_error] if args.key?(:validation_error)
|
4166
4255
|
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.2.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.1.
|
22
|
+
GENERATOR_VERSION = "0.1.2"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210125"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -196,6 +196,12 @@ 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
|
+
|
199
205
|
class DeletePeeredDnsDomainMetadata
|
200
206
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
207
|
|
@@ -274,6 +280,12 @@ module Google
|
|
274
280
|
include Google::Apis::Core::JsonObjectSupport
|
275
281
|
end
|
276
282
|
|
283
|
+
class GoogleCloudServicenetworkingV1betaConnection
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
+
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
287
|
+
end
|
288
|
+
|
277
289
|
class GoogleCloudServicenetworkingV1betaSubnetwork
|
278
290
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
291
|
|
@@ -888,6 +900,12 @@ module Google
|
|
888
900
|
end
|
889
901
|
end
|
890
902
|
|
903
|
+
class DeleteConnectionMetadata
|
904
|
+
# @private
|
905
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
906
|
+
end
|
907
|
+
end
|
908
|
+
|
891
909
|
class DeletePeeredDnsDomainMetadata
|
892
910
|
# @private
|
893
911
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1015,6 +1033,16 @@ module Google
|
|
1015
1033
|
end
|
1016
1034
|
end
|
1017
1035
|
|
1036
|
+
class GoogleCloudServicenetworkingV1betaConnection
|
1037
|
+
# @private
|
1038
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1039
|
+
property :network, as: 'network'
|
1040
|
+
property :peering, as: 'peering'
|
1041
|
+
collection :reserved_peering_ranges, as: 'reservedPeeringRanges'
|
1042
|
+
property :service, as: 'service'
|
1043
|
+
end
|
1044
|
+
end
|
1045
|
+
|
1018
1046
|
class GoogleCloudServicenetworkingV1betaSubnetwork
|
1019
1047
|
# @private
|
1020
1048
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1312,6 +1340,8 @@ module Google
|
|
1312
1340
|
property :ip_prefix_length, as: 'ipPrefixLength'
|
1313
1341
|
collection :requested_ranges, as: 'requestedRanges'
|
1314
1342
|
collection :secondary_range_ip_prefix_lengths, as: 'secondaryRangeIpPrefixLengths'
|
1343
|
+
collection :subnetwork_candidates, as: 'subnetworkCandidates', class: Google::Apis::ServicenetworkingV1::Subnetwork, decorator: Google::Apis::ServicenetworkingV1::Subnetwork::Representation
|
1344
|
+
|
1315
1345
|
end
|
1316
1346
|
end
|
1317
1347
|
|
@@ -1477,6 +1507,7 @@ module Google
|
|
1477
1507
|
property :name, as: 'name'
|
1478
1508
|
property :network, as: 'network'
|
1479
1509
|
property :outside_allocation, as: 'outsideAllocation'
|
1510
|
+
property :region, as: 'region'
|
1480
1511
|
collection :secondary_ip_ranges, as: 'secondaryIpRanges', class: Google::Apis::ServicenetworkingV1::SecondaryIpRange, decorator: Google::Apis::ServicenetworkingV1::SecondaryIpRange::Representation
|
1481
1512
|
|
1482
1513
|
end
|
@@ -1583,6 +1614,8 @@ module Google
|
|
1583
1614
|
class ValidateConsumerConfigResponse
|
1584
1615
|
# @private
|
1585
1616
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1617
|
+
collection :existing_subnetwork_candidates, as: 'existingSubnetworkCandidates', class: Google::Apis::ServicenetworkingV1::Subnetwork, decorator: Google::Apis::ServicenetworkingV1::Subnetwork::Representation
|
1618
|
+
|
1586
1619
|
property :is_valid, as: 'isValid'
|
1587
1620
|
property :validation_error, as: 'validationError'
|
1588
1621
|
end
|
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.2.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-02-08 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.2.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: []
|
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.
|
72
|
+
rubygems_version: 3.2.6
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Service Networking API V1
|