google-apis-networkconnectivity_v1alpha1 0.39.0 → 0.41.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 +10 -0
- data/lib/google/apis/networkconnectivity_v1alpha1/classes.rb +55 -6
- data/lib/google/apis/networkconnectivity_v1alpha1/gem_version.rb +3 -3
- data/lib/google/apis/networkconnectivity_v1alpha1/representations.rb +17 -0
- data/lib/google/apis/networkconnectivity_v1alpha1/service.rb +2 -2
- metadata +4 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 609df4f88e14d4e92b0528c91b37557b2ec31c93742dc5b5098d0365ae33d4fe
|
4
|
+
data.tar.gz: '0178d2e79a0f15162b0f0f7b5410d1e352176ced123f53f16f00efd8b811c4e5'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a265faed2f4b415edda650484d0ef34754847a46fc6eba1e407f14493aac0d687f6f517fa06b744bd81ba709c399c2a7c1f16cd50c69f46ff985cf6becbfa429
|
7
|
+
data.tar.gz: e98f649c79549703b16c2d8b5a8cb9c375dc6b4631a54dd438820fd3c5f49ab156702eb02486ba2280ffd94731897d888387c6aa7fb9e13c0c6efaf1c386b79a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Release history for google-apis-networkconnectivity_v1alpha1
|
2
2
|
|
3
|
+
### v0.41.0 (2025-01-12)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250101
|
6
|
+
* Regenerated using generator version 0.16.0
|
7
|
+
|
8
|
+
### v0.40.0 (2024-12-02)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20241030
|
11
|
+
* Regenerated using generator version 0.15.1
|
12
|
+
|
3
13
|
### v0.39.0 (2024-05-19)
|
4
14
|
|
5
15
|
* Regenerated using generator version 0.15.0
|
@@ -472,9 +472,9 @@ module Google
|
|
472
472
|
end
|
473
473
|
|
474
474
|
# The internal range resource for IPAM operations within a VPC network. Used to
|
475
|
-
# represent a private address range along with behavioral
|
476
|
-
# range (its usage and peering behavior). Networking resources can link to
|
477
|
-
# range if they are created as belonging to it.
|
475
|
+
# represent a private address range along with behavioral characteristics of
|
476
|
+
# that range (its usage and peering behavior). Networking resources can link to
|
477
|
+
# this range if they are created as belonging to it.
|
478
478
|
class InternalRange
|
479
479
|
include Google::Apis::Core::Hashable
|
480
480
|
|
@@ -488,7 +488,16 @@ module Google
|
|
488
488
|
# @return [String]
|
489
489
|
attr_accessor :description
|
490
490
|
|
491
|
-
#
|
491
|
+
# Optional. Immutable ranges cannot have their fields modified, except for
|
492
|
+
# labels and description.
|
493
|
+
# Corresponds to the JSON property `immutable`
|
494
|
+
# @return [Boolean]
|
495
|
+
attr_accessor :immutable
|
496
|
+
alias_method :immutable?, :immutable
|
497
|
+
|
498
|
+
# IP range that this internal range defines. NOTE: IPv6 ranges are limited to
|
499
|
+
# usage=EXTERNAL_TO_VPC and peering=FOR_SELF. NOTE: For IPv6 Ranges this field
|
500
|
+
# is compulsory, i.e. the address range must be specified explicitly.
|
492
501
|
# Corresponds to the JSON property `ipCidrRange`
|
493
502
|
# @return [String]
|
494
503
|
attr_accessor :ip_cidr_range
|
@@ -498,6 +507,11 @@ module Google
|
|
498
507
|
# @return [Hash<String,String>]
|
499
508
|
attr_accessor :labels
|
500
509
|
|
510
|
+
# Specification for migration with source and target resource names.
|
511
|
+
# Corresponds to the JSON property `migration`
|
512
|
+
# @return [Google::Apis::NetworkconnectivityV1alpha1::Migration]
|
513
|
+
attr_accessor :migration
|
514
|
+
|
501
515
|
# Immutable. The name of an internal range. Format: projects/`project`/locations/
|
502
516
|
# `location`/internalRanges/`internal_range` See: https://google.aip.dev/122#
|
503
517
|
# fields-representing-resource-names
|
@@ -525,10 +539,13 @@ module Google
|
|
525
539
|
# @return [String]
|
526
540
|
attr_accessor :peering
|
527
541
|
|
528
|
-
# An alternative to ip_cidr_range. Can be set when trying to create
|
542
|
+
# An alternative to ip_cidr_range. Can be set when trying to create an IPv4
|
529
543
|
# reservation that automatically finds a free range of the given size. If both
|
530
544
|
# ip_cidr_range and prefix_length are set, there is an error if the range sizes
|
531
|
-
# do not match. Can also be used during updates to change the range size.
|
545
|
+
# do not match. Can also be used during updates to change the range size. NOTE:
|
546
|
+
# For IPv6 this field only works if ip_cidr_range is set as well, and both
|
547
|
+
# fields must match. In other words, with IPv6 this field only works as a
|
548
|
+
# redundant parameter.
|
532
549
|
# Corresponds to the JSON property `prefixLength`
|
533
550
|
# @return [Fixnum]
|
534
551
|
attr_accessor :prefix_length
|
@@ -569,8 +586,10 @@ module Google
|
|
569
586
|
def update!(**args)
|
570
587
|
@create_time = args[:create_time] if args.key?(:create_time)
|
571
588
|
@description = args[:description] if args.key?(:description)
|
589
|
+
@immutable = args[:immutable] if args.key?(:immutable)
|
572
590
|
@ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
|
573
591
|
@labels = args[:labels] if args.key?(:labels)
|
592
|
+
@migration = args[:migration] if args.key?(:migration)
|
574
593
|
@name = args[:name] if args.key?(:name)
|
575
594
|
@network = args[:network] if args.key?(:network)
|
576
595
|
@overlaps = args[:overlaps] if args.key?(:overlaps)
|
@@ -751,6 +770,36 @@ module Google
|
|
751
770
|
end
|
752
771
|
end
|
753
772
|
|
773
|
+
# Specification for migration with source and target resource names.
|
774
|
+
class Migration
|
775
|
+
include Google::Apis::Core::Hashable
|
776
|
+
|
777
|
+
# Immutable. Resource path as an URI of the source resource, for example a
|
778
|
+
# subnet. The project for the source resource should match the project for the
|
779
|
+
# InternalRange. An example: /projects/`project`/regions/`region`/subnetworks/`
|
780
|
+
# subnet`
|
781
|
+
# Corresponds to the JSON property `source`
|
782
|
+
# @return [String]
|
783
|
+
attr_accessor :source
|
784
|
+
|
785
|
+
# Immutable. Resource path of the target resource. The target project can be
|
786
|
+
# different, as in the cases when migrating to peer networks. The resource For
|
787
|
+
# example: /projects/`project`/regions/`region`/subnetworks/`subnet`
|
788
|
+
# Corresponds to the JSON property `target`
|
789
|
+
# @return [String]
|
790
|
+
attr_accessor :target
|
791
|
+
|
792
|
+
def initialize(**args)
|
793
|
+
update!(**args)
|
794
|
+
end
|
795
|
+
|
796
|
+
# Update properties of this object
|
797
|
+
def update!(**args)
|
798
|
+
@source = args[:source] if args.key?(:source)
|
799
|
+
@target = args[:target] if args.key?(:target)
|
800
|
+
end
|
801
|
+
end
|
802
|
+
|
754
803
|
# Represents the metadata of the long-running operation.
|
755
804
|
class OperationMetadata
|
756
805
|
include Google::Apis::Core::Hashable
|
@@ -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.41.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250101"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -118,6 +118,12 @@ module Google
|
|
118
118
|
include Google::Apis::Core::JsonObjectSupport
|
119
119
|
end
|
120
120
|
|
121
|
+
class Migration
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
121
127
|
class OperationMetadata
|
122
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
129
|
|
@@ -258,8 +264,11 @@ module Google
|
|
258
264
|
class Representation < Google::Apis::Core::JsonRepresentation
|
259
265
|
property :create_time, as: 'createTime'
|
260
266
|
property :description, as: 'description'
|
267
|
+
property :immutable, as: 'immutable'
|
261
268
|
property :ip_cidr_range, as: 'ipCidrRange'
|
262
269
|
hash :labels, as: 'labels'
|
270
|
+
property :migration, as: 'migration', class: Google::Apis::NetworkconnectivityV1alpha1::Migration, decorator: Google::Apis::NetworkconnectivityV1alpha1::Migration::Representation
|
271
|
+
|
263
272
|
property :name, as: 'name'
|
264
273
|
property :network, as: 'network'
|
265
274
|
collection :overlaps, as: 'overlaps'
|
@@ -322,6 +331,14 @@ module Google
|
|
322
331
|
end
|
323
332
|
end
|
324
333
|
|
334
|
+
class Migration
|
335
|
+
# @private
|
336
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
337
|
+
property :source, as: 'source'
|
338
|
+
property :target, as: 'target'
|
339
|
+
end
|
340
|
+
end
|
341
|
+
|
325
342
|
class OperationMetadata
|
326
343
|
# @private
|
327
344
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -807,8 +807,8 @@ module Google
|
|
807
807
|
# Clients can use Operations.GetOperation or other methods to check whether the
|
808
808
|
# cancellation succeeded or whether the operation completed despite cancellation.
|
809
809
|
# On successful cancellation, the operation is not deleted; instead, it becomes
|
810
|
-
# an operation with an Operation.error value with a google.rpc.Status.code of 1
|
811
|
-
# corresponding to `Code.CANCELLED`.
|
810
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
811
|
+
# , corresponding to `Code.CANCELLED`.
|
812
812
|
# @param [String] name
|
813
813
|
# The name of the operation resource to be cancelled.
|
814
814
|
# @param [Google::Apis::NetworkconnectivityV1alpha1::GoogleLongrunningCancelOperationRequest] google_longrunning_cancel_operation_request_object
|
metadata
CHANGED
@@ -1,14 +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.41.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-12 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: google-apis-core
|
@@ -58,9 +57,8 @@ licenses:
|
|
58
57
|
metadata:
|
59
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkconnectivity_v1alpha1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1alpha1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1alpha1/v0.41.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkconnectivity_v1alpha1
|
63
|
-
post_install_message:
|
64
62
|
rdoc_options: []
|
65
63
|
require_paths:
|
66
64
|
- lib
|
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.2
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for Network Connectivity API V1alpha1
|
82
79
|
test_files: []
|