google-apis-networkconnectivity_v1 0.28.0 → 0.29.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: dde1dce0d8b8f7846e5cacddcefcbe6aa330fc3026210253699e944e2d4c709f
|
4
|
+
data.tar.gz: 98896c9d7a35b72ade9aacfe96832cc452b95beaf8dcd258b243d2bd3f019f69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e1b72d18f431237d68ec1bee2027b477cb1174682f53178c1cd30dd2785cfc63148730ee4f1bd7ddb58ea17ff73434dc635ff0f8fd2596931826fadc103ec93
|
7
|
+
data.tar.gz: cbf11f8ee3b9f7dbb36fbb77a424e6565ce3e4a27a249077eb41f17d70d005b1cf2264f3abd78050aaca5bf3ad157f4ca4dff79955ed2ccb5fec07c08135a8e2
|
data/CHANGELOG.md
CHANGED
@@ -255,6 +255,18 @@ module Google
|
|
255
255
|
# @return [Google::Apis::NetworkconnectivityV1::GoogleRpcStatus]
|
256
256
|
attr_accessor :error
|
257
257
|
|
258
|
+
# Describes the cause of the error with structured details. Example of an error
|
259
|
+
# when contacting the "pubsub.googleapis.com" API when it is not enabled: ` "
|
260
|
+
# reason": "API_DISABLED" "domain": "googleapis.com" "metadata": ` "resource": "
|
261
|
+
# projects/123", "service": "pubsub.googleapis.com" ` ` This response indicates
|
262
|
+
# that the pubsub.googleapis.com API is not enabled. Example of an error that is
|
263
|
+
# returned when attempting to create a Spanner instance in a region that is out
|
264
|
+
# of stock: ` "reason": "STOCKOUT" "domain": "spanner.googleapis.com", "metadata"
|
265
|
+
# : ` "availableRegions": "us-central1,us-east2" ` `
|
266
|
+
# Corresponds to the JSON property `errorInfo`
|
267
|
+
# @return [Google::Apis::NetworkconnectivityV1::GoogleRpcErrorInfo]
|
268
|
+
attr_accessor :error_info
|
269
|
+
|
258
270
|
# The error type indicates whether the error is consumer facing, producer facing
|
259
271
|
# or system internal.
|
260
272
|
# Corresponds to the JSON property `errorType`
|
@@ -315,6 +327,7 @@ module Google
|
|
315
327
|
# Update properties of this object
|
316
328
|
def update!(**args)
|
317
329
|
@error = args[:error] if args.key?(:error)
|
330
|
+
@error_info = args[:error_info] if args.key?(:error_info)
|
318
331
|
@error_type = args[:error_type] if args.key?(:error_type)
|
319
332
|
@forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule)
|
320
333
|
@gce_operation = args[:gce_operation] if args.key?(:gce_operation)
|
@@ -497,6 +510,57 @@ module Google
|
|
497
510
|
end
|
498
511
|
end
|
499
512
|
|
513
|
+
# Describes the cause of the error with structured details. Example of an error
|
514
|
+
# when contacting the "pubsub.googleapis.com" API when it is not enabled: ` "
|
515
|
+
# reason": "API_DISABLED" "domain": "googleapis.com" "metadata": ` "resource": "
|
516
|
+
# projects/123", "service": "pubsub.googleapis.com" ` ` This response indicates
|
517
|
+
# that the pubsub.googleapis.com API is not enabled. Example of an error that is
|
518
|
+
# returned when attempting to create a Spanner instance in a region that is out
|
519
|
+
# of stock: ` "reason": "STOCKOUT" "domain": "spanner.googleapis.com", "metadata"
|
520
|
+
# : ` "availableRegions": "us-central1,us-east2" ` `
|
521
|
+
class GoogleRpcErrorInfo
|
522
|
+
include Google::Apis::Core::Hashable
|
523
|
+
|
524
|
+
# The logical grouping to which the "reason" belongs. The error domain is
|
525
|
+
# typically the registered service name of the tool or product that generates
|
526
|
+
# the error. Example: "pubsub.googleapis.com". If the error is generated by some
|
527
|
+
# common infrastructure, the error domain must be a globally unique value that
|
528
|
+
# identifies the infrastructure. For Google API infrastructure, the error domain
|
529
|
+
# is "googleapis.com".
|
530
|
+
# Corresponds to the JSON property `domain`
|
531
|
+
# @return [String]
|
532
|
+
attr_accessor :domain
|
533
|
+
|
534
|
+
# Additional structured details about this error. Keys should match /[a-zA-Z0-9-
|
535
|
+
# _]/ and be limited to 64 characters in length. When identifying the current
|
536
|
+
# value of an exceeded limit, the units should be contained in the key, not the
|
537
|
+
# value. For example, rather than `"instanceLimit": "100/request"`, should be
|
538
|
+
# returned as, `"instanceLimitPerRequest": "100"`, if the client exceeds the
|
539
|
+
# number of instances that can be created in a single (batch) request.
|
540
|
+
# Corresponds to the JSON property `metadata`
|
541
|
+
# @return [Hash<String,String>]
|
542
|
+
attr_accessor :metadata
|
543
|
+
|
544
|
+
# The reason of the error. This is a constant value that identifies the
|
545
|
+
# proximate cause of the error. Error reasons are unique within a particular
|
546
|
+
# domain of errors. This should be at most 63 characters and match a regular
|
547
|
+
# expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.
|
548
|
+
# Corresponds to the JSON property `reason`
|
549
|
+
# @return [String]
|
550
|
+
attr_accessor :reason
|
551
|
+
|
552
|
+
def initialize(**args)
|
553
|
+
update!(**args)
|
554
|
+
end
|
555
|
+
|
556
|
+
# Update properties of this object
|
557
|
+
def update!(**args)
|
558
|
+
@domain = args[:domain] if args.key?(:domain)
|
559
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
560
|
+
@reason = args[:reason] if args.key?(:reason)
|
561
|
+
end
|
562
|
+
end
|
563
|
+
|
500
564
|
# The `Status` type defines a logical error model that is suitable for different
|
501
565
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
502
566
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
@@ -1545,6 +1609,18 @@ module Google
|
|
1545
1609
|
# @return [Google::Apis::NetworkconnectivityV1::GoogleRpcStatus]
|
1546
1610
|
attr_accessor :error
|
1547
1611
|
|
1612
|
+
# Describes the cause of the error with structured details. Example of an error
|
1613
|
+
# when contacting the "pubsub.googleapis.com" API when it is not enabled: ` "
|
1614
|
+
# reason": "API_DISABLED" "domain": "googleapis.com" "metadata": ` "resource": "
|
1615
|
+
# projects/123", "service": "pubsub.googleapis.com" ` ` This response indicates
|
1616
|
+
# that the pubsub.googleapis.com API is not enabled. Example of an error that is
|
1617
|
+
# returned when attempting to create a Spanner instance in a region that is out
|
1618
|
+
# of stock: ` "reason": "STOCKOUT" "domain": "spanner.googleapis.com", "metadata"
|
1619
|
+
# : ` "availableRegions": "us-central1,us-east2" ` `
|
1620
|
+
# Corresponds to the JSON property `errorInfo`
|
1621
|
+
# @return [Google::Apis::NetworkconnectivityV1::GoogleRpcErrorInfo]
|
1622
|
+
attr_accessor :error_info
|
1623
|
+
|
1548
1624
|
# The error type indicates whether the error is consumer facing, producer facing
|
1549
1625
|
# or system internal.
|
1550
1626
|
# Corresponds to the JSON property `errorType`
|
@@ -1576,6 +1652,7 @@ module Google
|
|
1576
1652
|
@consumer_forwarding_rule = args[:consumer_forwarding_rule] if args.key?(:consumer_forwarding_rule)
|
1577
1653
|
@consumer_target_project = args[:consumer_target_project] if args.key?(:consumer_target_project)
|
1578
1654
|
@error = args[:error] if args.key?(:error)
|
1655
|
+
@error_info = args[:error_info] if args.key?(:error_info)
|
1579
1656
|
@error_type = args[:error_type] if args.key?(:error_type)
|
1580
1657
|
@gce_operation = args[:gce_operation] if args.key?(:gce_operation)
|
1581
1658
|
@psc_connection_id = args[:psc_connection_id] if args.key?(:psc_connection_id)
|
@@ -1874,11 +1951,6 @@ module Google
|
|
1874
1951
|
# @return [String]
|
1875
1952
|
attr_accessor :service_class
|
1876
1953
|
|
1877
|
-
# Output only. URIs of all Service Connection Maps using this service class.
|
1878
|
-
# Corresponds to the JSON property `serviceConnectionMaps`
|
1879
|
-
# @return [Array<String>]
|
1880
|
-
attr_accessor :service_connection_maps
|
1881
|
-
|
1882
1954
|
# Output only. Time when the ServiceClass was updated.
|
1883
1955
|
# Corresponds to the JSON property `updateTime`
|
1884
1956
|
# @return [String]
|
@@ -1896,7 +1968,6 @@ module Google
|
|
1896
1968
|
@labels = args[:labels] if args.key?(:labels)
|
1897
1969
|
@name = args[:name] if args.key?(:name)
|
1898
1970
|
@service_class = args[:service_class] if args.key?(:service_class)
|
1899
|
-
@service_connection_maps = args[:service_connection_maps] if args.key?(:service_connection_maps)
|
1900
1971
|
@update_time = args[:update_time] if args.key?(:update_time)
|
1901
1972
|
end
|
1902
1973
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module NetworkconnectivityV1
|
18
18
|
# Version of the google-apis-networkconnectivity_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.29.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230721"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -88,6 +88,12 @@ module Google
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
89
89
|
end
|
90
90
|
|
91
|
+
class GoogleRpcErrorInfo
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
91
97
|
class GoogleRpcStatus
|
92
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
99
|
|
@@ -401,6 +407,8 @@ module Google
|
|
401
407
|
class Representation < Google::Apis::Core::JsonRepresentation
|
402
408
|
property :error, as: 'error', class: Google::Apis::NetworkconnectivityV1::GoogleRpcStatus, decorator: Google::Apis::NetworkconnectivityV1::GoogleRpcStatus::Representation
|
403
409
|
|
410
|
+
property :error_info, as: 'errorInfo', class: Google::Apis::NetworkconnectivityV1::GoogleRpcErrorInfo, decorator: Google::Apis::NetworkconnectivityV1::GoogleRpcErrorInfo::Representation
|
411
|
+
|
404
412
|
property :error_type, as: 'errorType'
|
405
413
|
property :forwarding_rule, as: 'forwardingRule'
|
406
414
|
property :gce_operation, as: 'gceOperation'
|
@@ -456,6 +464,15 @@ module Google
|
|
456
464
|
end
|
457
465
|
end
|
458
466
|
|
467
|
+
class GoogleRpcErrorInfo
|
468
|
+
# @private
|
469
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
470
|
+
property :domain, as: 'domain'
|
471
|
+
hash :metadata, as: 'metadata'
|
472
|
+
property :reason, as: 'reason'
|
473
|
+
end
|
474
|
+
end
|
475
|
+
|
459
476
|
class GoogleRpcStatus
|
460
477
|
# @private
|
461
478
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -720,6 +737,8 @@ module Google
|
|
720
737
|
property :consumer_target_project, as: 'consumerTargetProject'
|
721
738
|
property :error, as: 'error', class: Google::Apis::NetworkconnectivityV1::GoogleRpcStatus, decorator: Google::Apis::NetworkconnectivityV1::GoogleRpcStatus::Representation
|
722
739
|
|
740
|
+
property :error_info, as: 'errorInfo', class: Google::Apis::NetworkconnectivityV1::GoogleRpcErrorInfo, decorator: Google::Apis::NetworkconnectivityV1::GoogleRpcErrorInfo::Representation
|
741
|
+
|
723
742
|
property :error_type, as: 'errorType'
|
724
743
|
property :gce_operation, as: 'gceOperation'
|
725
744
|
property :psc_connection_id, as: 'pscConnectionId'
|
@@ -792,7 +811,6 @@ module Google
|
|
792
811
|
hash :labels, as: 'labels'
|
793
812
|
property :name, as: 'name'
|
794
813
|
property :service_class, as: 'serviceClass'
|
795
|
-
collection :service_connection_maps, as: 'serviceConnectionMaps'
|
796
814
|
property :update_time, as: 'updateTime'
|
797
815
|
end
|
798
816
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-networkconnectivity_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.29.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: 2023-
|
11
|
+
date: 2023-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkconnectivity_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1/v0.29.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkconnectivity_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|