google-apis-networkconnectivity_v1alpha1 0.43.0 → 0.45.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 +9 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/networkconnectivity_v1alpha1/classes.rb +36 -0
- data/lib/google/apis/networkconnectivity_v1alpha1/gem_version.rb +3 -3
- data/lib/google/apis/networkconnectivity_v1alpha1/representations.rb +16 -0
- data/lib/google/apis/networkconnectivity_v1alpha1/service.rb +5 -1
- 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: 7fd6fcad37b8b1088e417228fb2ea97c824c5b65f76df1730049fd1c6005e8cf
|
4
|
+
data.tar.gz: 6854ccbc0ac90e79656af66c9ed36cb17d8d73bee73bf619542a5992e3ee5db4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 172b4deb5f2abc35dc326c6cb39835e378ef691d9c6a706c71b0c20cdb90a1b866bb05fa40a00e42931c00bbc291d32ac25371b98763134ed94bcc03e88f735e
|
7
|
+
data.tar.gz: 7537aee9d0d5d313fa41ac1625cd07bd1aa1a1c7a32029b5e4be473d6066fe33594cf99f6d193c3a7d2637ede7d056a8cb4d431b73679f225ec3b6673229bbb8
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-networkconnectivity_v1alpha1
|
2
2
|
|
3
|
+
### v0.45.0 (2025-05-18)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250502
|
6
|
+
* Regenerated using generator version 0.17.0
|
7
|
+
|
8
|
+
### v0.44.0 (2025-04-27)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20250414
|
11
|
+
|
3
12
|
### v0.43.0 (2025-03-30)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20250318
|
data/OVERVIEW.md
CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/network-connectivity/docs/r
|
|
83
83
|
|
84
84
|
## Supported Ruby versions
|
85
85
|
|
86
|
-
This library is supported on Ruby
|
86
|
+
This library is supported on Ruby 3.1+.
|
87
87
|
|
88
88
|
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
89
89
|
|
@@ -22,6 +22,35 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module NetworkconnectivityV1alpha1
|
24
24
|
|
25
|
+
# Range auto-allocation options, to be optionally used when CIDR block is not
|
26
|
+
# explicitly set.
|
27
|
+
class AllocationOptions
|
28
|
+
include Google::Apis::Core::Hashable
|
29
|
+
|
30
|
+
# Optional. Allocation strategy. Not setting this field when the allocation is
|
31
|
+
# requested means an implementation defined strategy is used.
|
32
|
+
# Corresponds to the JSON property `allocationStrategy`
|
33
|
+
# @return [String]
|
34
|
+
attr_accessor :allocation_strategy
|
35
|
+
|
36
|
+
# Optional. This field must be set only when allocation_strategy is set to
|
37
|
+
# RANDOM_FIRST_N_AVAILABLE. The value should be the maximum expected parallelism
|
38
|
+
# of range creation requests issued to the same space of peered netwroks.
|
39
|
+
# Corresponds to the JSON property `firstAvailableRangesLookupSize`
|
40
|
+
# @return [Fixnum]
|
41
|
+
attr_accessor :first_available_ranges_lookup_size
|
42
|
+
|
43
|
+
def initialize(**args)
|
44
|
+
update!(**args)
|
45
|
+
end
|
46
|
+
|
47
|
+
# Update properties of this object
|
48
|
+
def update!(**args)
|
49
|
+
@allocation_strategy = args[:allocation_strategy] if args.key?(:allocation_strategy)
|
50
|
+
@first_available_ranges_lookup_size = args[:first_available_ranges_lookup_size] if args.key?(:first_available_ranges_lookup_size)
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
25
54
|
# Specifies the audit configuration for a service. The configuration determines
|
26
55
|
# which permission types are logged, and what identities, if any, are exempted
|
27
56
|
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
|
@@ -478,6 +507,12 @@ module Google
|
|
478
507
|
class InternalRange
|
479
508
|
include Google::Apis::Core::Hashable
|
480
509
|
|
510
|
+
# Range auto-allocation options, to be optionally used when CIDR block is not
|
511
|
+
# explicitly set.
|
512
|
+
# Corresponds to the JSON property `allocationOptions`
|
513
|
+
# @return [Google::Apis::NetworkconnectivityV1alpha1::AllocationOptions]
|
514
|
+
attr_accessor :allocation_options
|
515
|
+
|
481
516
|
# Time when the internal range was created.
|
482
517
|
# Corresponds to the JSON property `createTime`
|
483
518
|
# @return [String]
|
@@ -591,6 +626,7 @@ module Google
|
|
591
626
|
|
592
627
|
# Update properties of this object
|
593
628
|
def update!(**args)
|
629
|
+
@allocation_options = args[:allocation_options] if args.key?(:allocation_options)
|
594
630
|
@create_time = args[:create_time] if args.key?(:create_time)
|
595
631
|
@description = args[:description] if args.key?(:description)
|
596
632
|
@exclude_cidr_ranges = args[:exclude_cidr_ranges] if args.key?(:exclude_cidr_ranges)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module NetworkconnectivityV1alpha1
|
18
18
|
# Version of the google-apis-networkconnectivity_v1alpha1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.45.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.17.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250502"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module NetworkconnectivityV1alpha1
|
24
24
|
|
25
|
+
class AllocationOptions
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
25
31
|
class AuditConfig
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
@@ -166,6 +172,14 @@ module Google
|
|
166
172
|
include Google::Apis::Core::JsonObjectSupport
|
167
173
|
end
|
168
174
|
|
175
|
+
class AllocationOptions
|
176
|
+
# @private
|
177
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
178
|
+
property :allocation_strategy, as: 'allocationStrategy'
|
179
|
+
property :first_available_ranges_lookup_size, as: 'firstAvailableRangesLookupSize'
|
180
|
+
end
|
181
|
+
end
|
182
|
+
|
169
183
|
class AuditConfig
|
170
184
|
# @private
|
171
185
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -262,6 +276,8 @@ module Google
|
|
262
276
|
class InternalRange
|
263
277
|
# @private
|
264
278
|
class Representation < Google::Apis::Core::JsonRepresentation
|
279
|
+
property :allocation_options, as: 'allocationOptions', class: Google::Apis::NetworkconnectivityV1alpha1::AllocationOptions, decorator: Google::Apis::NetworkconnectivityV1alpha1::AllocationOptions::Representation
|
280
|
+
|
265
281
|
property :create_time, as: 'createTime'
|
266
282
|
property :description, as: 'description'
|
267
283
|
collection :exclude_cidr_ranges, as: 'excludeCidrRanges'
|
@@ -84,6 +84,9 @@ module Google
|
|
84
84
|
# Lists information about the supported locations for this service.
|
85
85
|
# @param [String] name
|
86
86
|
# The resource that owns the locations collection, if applicable.
|
87
|
+
# @param [Array<String>, String] extra_location_types
|
88
|
+
# Optional. A list of extra location types that should be used as conditions for
|
89
|
+
# controlling the visibility of the locations.
|
87
90
|
# @param [String] filter
|
88
91
|
# A filter to narrow down results to a preferred subset. The filtering language
|
89
92
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
@@ -111,11 +114,12 @@ module Google
|
|
111
114
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
112
115
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
113
116
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
114
|
-
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
117
|
+
def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
115
118
|
command = make_simple_command(:get, 'v1alpha1/{+name}/locations', options)
|
116
119
|
command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::ListLocationsResponse::Representation
|
117
120
|
command.response_class = Google::Apis::NetworkconnectivityV1alpha1::ListLocationsResponse
|
118
121
|
command.params['name'] = name unless name.nil?
|
122
|
+
command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
|
119
123
|
command.query['filter'] = filter unless filter.nil?
|
120
124
|
command.query['pageSize'] = page_size unless page_size.nil?
|
121
125
|
command.query['pageToken'] = page_token unless page_token.nil?
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-networkconnectivity_v1alpha1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.45.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkconnectivity_v1alpha1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1alpha1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1alpha1/v0.45.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkconnectivity_v1alpha1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|
@@ -66,14 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
66
66
|
requirements:
|
67
67
|
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: '
|
69
|
+
version: '3.1'
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
|
-
rubygems_version: 3.6.
|
76
|
+
rubygems_version: 3.6.8
|
77
77
|
specification_version: 4
|
78
78
|
summary: Simple REST client for Network Connectivity API V1alpha1
|
79
79
|
test_files: []
|