google-cloud-edge_container-v1 0.3.0 → 1.0.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/README.md +1 -1
- data/lib/google/cloud/edge_container/v1/edge_container/client.rb +7 -0
- data/lib/google/cloud/edge_container/v1/edge_container/operations.rb +7 -0
- data/lib/google/cloud/edge_container/v1/edge_container/rest/client.rb +23 -8
- data/lib/google/cloud/edge_container/v1/edge_container/rest/operations.rb +7 -0
- data/lib/google/cloud/edge_container/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +8 -0
- data/proto_docs/google/cloud/edgecontainer/v1/resources.rb +4 -0
- data/proto_docs/google/longrunning/operations.rb +4 -0
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 586a8b7081ca823d48724744c657c77d0729f82686cfe8951fe7b58de311eeed
|
4
|
+
data.tar.gz: 874b4114872ad18a6612ea3ff215b692fc52aa1ba1fad6d5906abbfe139367fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e7d28a29e8e11ba73d52c13f480a782e0ce73471dffee3ab664946d9fd790789f7ead74cf4cae34490c917a957f0da46978693f35e7c2fd1f425afa56cf559f
|
7
|
+
data.tar.gz: 2d71191881162a7d9b6d91f61965107ec38b9b12ff68db80c8827b0d4aabaa4acf8aadfed14f89cfe5736f31f68239aac605097bcd381764e77567bd1aa8848b
|
data/README.md
CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
86
86
|
|
87
87
|
## Supported Ruby Versions
|
88
88
|
|
89
|
-
This library is supported on Ruby
|
89
|
+
This library is supported on Ruby 3.0+.
|
90
90
|
|
91
91
|
Google provides official support for Ruby versions that are actively supported
|
92
92
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -2235,6 +2235,13 @@ module Google
|
|
2235
2235
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
2236
2236
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
2237
2237
|
# * (`nil`) indicating no credentials
|
2238
|
+
#
|
2239
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
2240
|
+
# external source for authentication to Google Cloud, you must validate it before
|
2241
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
2242
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
2243
|
+
# For more information, refer to [Validate credential configurations from external
|
2244
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
2238
2245
|
# @return [::Object]
|
2239
2246
|
# @!attribute [rw] scope
|
2240
2247
|
# The OAuth scopes
|
@@ -640,6 +640,13 @@ module Google
|
|
640
640
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
641
641
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
642
642
|
# * (`nil`) indicating no credentials
|
643
|
+
#
|
644
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
645
|
+
# external source for authentication to Google Cloud, you must validate it before
|
646
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
647
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
648
|
+
# For more information, refer to [Validate credential configurations from external
|
649
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
643
650
|
# @return [::Object]
|
644
651
|
# @!attribute [rw] scope
|
645
652
|
# The OAuth scopes
|
@@ -311,10 +311,10 @@ module Google
|
|
311
311
|
# @param order_by [::String]
|
312
312
|
# Specifies the order in which resources will be listed.
|
313
313
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
314
|
-
# @yieldparam result [::Google::Cloud::EdgeContainer::V1::
|
314
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::EdgeContainer::V1::Cluster>]
|
315
315
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
316
316
|
#
|
317
|
-
# @return [::Google::Cloud::EdgeContainer::V1::
|
317
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::EdgeContainer::V1::Cluster>]
|
318
318
|
#
|
319
319
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
320
320
|
#
|
@@ -366,7 +366,9 @@ module Google
|
|
366
366
|
retry_policy: @config.retry_policy
|
367
367
|
|
368
368
|
@edge_container_stub.list_clusters request, options do |result, operation|
|
369
|
+
result = ::Gapic::Rest::PagedEnumerable.new @edge_container_stub, :list_clusters, "clusters", request, result, options
|
369
370
|
yield result, operation if block_given?
|
371
|
+
throw :response, result
|
370
372
|
end
|
371
373
|
rescue ::Gapic::Rest::Error => e
|
372
374
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1013,10 +1015,10 @@ module Google
|
|
1013
1015
|
# @param order_by [::String]
|
1014
1016
|
# Specifies the order in which resources will be listed.
|
1015
1017
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1016
|
-
# @yieldparam result [::Google::Cloud::EdgeContainer::V1::
|
1018
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::EdgeContainer::V1::NodePool>]
|
1017
1019
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1018
1020
|
#
|
1019
|
-
# @return [::Google::Cloud::EdgeContainer::V1::
|
1021
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::EdgeContainer::V1::NodePool>]
|
1020
1022
|
#
|
1021
1023
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1022
1024
|
#
|
@@ -1068,7 +1070,9 @@ module Google
|
|
1068
1070
|
retry_policy: @config.retry_policy
|
1069
1071
|
|
1070
1072
|
@edge_container_stub.list_node_pools request, options do |result, operation|
|
1073
|
+
result = ::Gapic::Rest::PagedEnumerable.new @edge_container_stub, :list_node_pools, "node_pools", request, result, options
|
1071
1074
|
yield result, operation if block_given?
|
1075
|
+
throw :response, result
|
1072
1076
|
end
|
1073
1077
|
rescue ::Gapic::Rest::Error => e
|
1074
1078
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1464,10 +1468,10 @@ module Google
|
|
1464
1468
|
# @param order_by [::String]
|
1465
1469
|
# Specifies the order in which resources will be listed.
|
1466
1470
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1467
|
-
# @yieldparam result [::Google::Cloud::EdgeContainer::V1::
|
1471
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::EdgeContainer::V1::Machine>]
|
1468
1472
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1469
1473
|
#
|
1470
|
-
# @return [::Google::Cloud::EdgeContainer::V1::
|
1474
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::EdgeContainer::V1::Machine>]
|
1471
1475
|
#
|
1472
1476
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1473
1477
|
#
|
@@ -1519,7 +1523,9 @@ module Google
|
|
1519
1523
|
retry_policy: @config.retry_policy
|
1520
1524
|
|
1521
1525
|
@edge_container_stub.list_machines request, options do |result, operation|
|
1526
|
+
result = ::Gapic::Rest::PagedEnumerable.new @edge_container_stub, :list_machines, "machines", request, result, options
|
1522
1527
|
yield result, operation if block_given?
|
1528
|
+
throw :response, result
|
1523
1529
|
end
|
1524
1530
|
rescue ::Gapic::Rest::Error => e
|
1525
1531
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1633,10 +1639,10 @@ module Google
|
|
1633
1639
|
# @param order_by [::String]
|
1634
1640
|
# Specifies the order in which resources will be listed.
|
1635
1641
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1636
|
-
# @yieldparam result [::Google::Cloud::EdgeContainer::V1::
|
1642
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::EdgeContainer::V1::VpnConnection>]
|
1637
1643
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1638
1644
|
#
|
1639
|
-
# @return [::Google::Cloud::EdgeContainer::V1::
|
1645
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::EdgeContainer::V1::VpnConnection>]
|
1640
1646
|
#
|
1641
1647
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1642
1648
|
#
|
@@ -1688,7 +1694,9 @@ module Google
|
|
1688
1694
|
retry_policy: @config.retry_policy
|
1689
1695
|
|
1690
1696
|
@edge_container_stub.list_vpn_connections request, options do |result, operation|
|
1697
|
+
result = ::Gapic::Rest::PagedEnumerable.new @edge_container_stub, :list_vpn_connections, "vpn_connections", request, result, options
|
1691
1698
|
yield result, operation if block_given?
|
1699
|
+
throw :response, result
|
1692
1700
|
end
|
1693
1701
|
rescue ::Gapic::Rest::Error => e
|
1694
1702
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -2079,6 +2087,13 @@ module Google
|
|
2079
2087
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
2080
2088
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
2081
2089
|
# * (`nil`) indicating no credentials
|
2090
|
+
#
|
2091
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
2092
|
+
# external source for authentication to Google Cloud, you must validate it before
|
2093
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
2094
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
2095
|
+
# For more information, refer to [Validate credential configurations from external
|
2096
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
2082
2097
|
# @return [::Object]
|
2083
2098
|
# @!attribute [rw] scope
|
2084
2099
|
# The OAuth scopes
|
@@ -502,6 +502,13 @@ module Google
|
|
502
502
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
503
503
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
504
504
|
# * (`nil`) indicating no credentials
|
505
|
+
#
|
506
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
507
|
+
# external source for authentication to Google Cloud, you must validate it before
|
508
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
509
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
510
|
+
# For more information, refer to [Validate credential configurations from external
|
511
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
505
512
|
# @return [::Object]
|
506
513
|
# @!attribute [rw] scope
|
507
514
|
# The OAuth scopes
|
@@ -409,6 +409,14 @@ module Google
|
|
409
409
|
# @return [::Array<::String>]
|
410
410
|
# An allowlist of the fully qualified names of RPCs that should be included
|
411
411
|
# on public client surfaces.
|
412
|
+
# @!attribute [rw] generate_omitted_as_internal
|
413
|
+
# @return [::Boolean]
|
414
|
+
# Setting this to true indicates to the client generators that methods
|
415
|
+
# that would be excluded from the generation should instead be generated
|
416
|
+
# in a way that indicates these methods should not be consumed by
|
417
|
+
# end users. How this is expressed is up to individual language
|
418
|
+
# implementations to decide. Some examples may be: added annotations,
|
419
|
+
# obfuscated identifiers, or other language idiomatic patterns.
|
412
420
|
class SelectiveGapicGeneration
|
413
421
|
include ::Google::Protobuf::MessageExts
|
414
422
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -115,6 +115,8 @@ module Google
|
|
115
115
|
# @!attribute [rw] remote
|
116
116
|
# @return [::Google::Cloud::EdgeContainer::V1::Cluster::ControlPlane::Remote]
|
117
117
|
# Remote control plane configuration.
|
118
|
+
#
|
119
|
+
# Note: The following fields are mutually exclusive: `remote`, `local`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
118
120
|
# @!attribute [rw] local
|
119
121
|
# @return [::Google::Cloud::EdgeContainer::V1::Cluster::ControlPlane::Local]
|
120
122
|
# Local control plane configuration.
|
@@ -124,6 +126,8 @@ module Google
|
|
124
126
|
# project with any other type of clusters, including non-GDCE clusters.
|
125
127
|
# Mixing local control plane GDCE clusters with any other type of
|
126
128
|
# clusters in the same project can result in data loss.
|
129
|
+
#
|
130
|
+
# Note: The following fields are mutually exclusive: `local`, `remote`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
127
131
|
class ControlPlane
|
128
132
|
include ::Google::Protobuf::MessageExts
|
129
133
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -40,6 +40,8 @@ module Google
|
|
40
40
|
# @!attribute [rw] error
|
41
41
|
# @return [::Google::Rpc::Status]
|
42
42
|
# The error result of the operation in case of failure or cancellation.
|
43
|
+
#
|
44
|
+
# Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
43
45
|
# @!attribute [rw] response
|
44
46
|
# @return [::Google::Protobuf::Any]
|
45
47
|
# The normal, successful response of the operation. If the original
|
@@ -50,6 +52,8 @@ module Google
|
|
50
52
|
# is the original method name. For example, if the original method name
|
51
53
|
# is `TakeSnapshot()`, the inferred response type is
|
52
54
|
# `TakeSnapshotResponse`.
|
55
|
+
#
|
56
|
+
# Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
53
57
|
class Operation
|
54
58
|
include ::Google::Protobuf::MessageExts
|
55
59
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-edge_container-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.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-02-07 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: gapic-common
|
@@ -16,7 +15,7 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
18
|
+
version: 0.25.0
|
20
19
|
- - "<"
|
21
20
|
- !ruby/object:Gem::Version
|
22
21
|
version: 2.a
|
@@ -26,7 +25,7 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
28
|
+
version: 0.25.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: 2.a
|
@@ -113,7 +112,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
113
112
|
licenses:
|
114
113
|
- Apache-2.0
|
115
114
|
metadata: {}
|
116
|
-
post_install_message:
|
117
115
|
rdoc_options: []
|
118
116
|
require_paths:
|
119
117
|
- lib
|
@@ -121,15 +119,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
121
119
|
requirements:
|
122
120
|
- - ">="
|
123
121
|
- !ruby/object:Gem::Version
|
124
|
-
version: '
|
122
|
+
version: '3.0'
|
125
123
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
126
124
|
requirements:
|
127
125
|
- - ">="
|
128
126
|
- !ruby/object:Gem::Version
|
129
127
|
version: '0'
|
130
128
|
requirements: []
|
131
|
-
rubygems_version: 3.
|
132
|
-
signing_key:
|
129
|
+
rubygems_version: 3.6.3
|
133
130
|
specification_version: 4
|
134
131
|
summary: API Client library for the Distributed Cloud Edge Container V1 API
|
135
132
|
test_files: []
|