google-cloud-config_service-v1 1.2.1 → 2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 964f775d808a7a85589aae1c0054724dc9f522e1d690d2cf157b22ddd2967018
4
- data.tar.gz: c00ecac8eb7720761169b413f2fdc792857f03df88e9aa8fa1e366daa969111f
3
+ metadata.gz: cc1d9f33317d0a12302e7f5f10283ba33d13ada842ddbb0064c0a5c71194f09b
4
+ data.tar.gz: 801e9c6e63bd55482d78c4075b662ffe09dbd490c56f8d947f8d7769f9ce604e
5
5
  SHA512:
6
- metadata.gz: 7d72566ff1515c0bfcd9b67767da584c4986c7d60e7ca39ef44470b8af10519c69c1cc649aa67c500f8493f467c409cf0a41e420793c8cdc2cd39d294f036e34
7
- data.tar.gz: 71d5757ced9f7fcfc1022f4b62f93125d22d37962fe874f16f2a7d4a9c9ed3c901d7cb8d28c7d96f2f33c5984087e6fe83a8846a635b5f0c4f9412927f86d2b3
6
+ metadata.gz: b60e5d43c0ea89aea96a39f62499548199f9efc7e04143e2842402018db9899a68c5aaf7fe8a0460b9e7d1bbaeafcc5b62305bce3620b1e893f72c19c816cc3f
7
+ data.tar.gz: 5fa4e3180fadf838dd2e7334359f67b1c05f5b630569b1dab11e9f4e01f4e3472dcbc82c6ba24fbbea5f5cd3e42856dc55da1947625f92d61493cbffd01d49a8
data/README.md CHANGED
@@ -85,7 +85,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
85
85
 
86
86
  ## Supported Ruby Versions
87
87
 
88
- This library is supported on Ruby 2.7+.
88
+ This library is supported on Ruby 3.0+.
89
89
 
90
90
  Google provides official support for Ruby versions that are actively supported
91
91
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -2611,6 +2611,13 @@ module Google
2611
2611
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
2612
2612
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2613
2613
  # * (`nil`) indicating no credentials
2614
+ #
2615
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
2616
+ # external source for authentication to Google Cloud, you must validate it before
2617
+ # providing it to a Google API client library. Providing an unvalidated credential
2618
+ # configuration to Google APIs can compromise the security of your systems and data.
2619
+ # For more information, refer to [Validate credential configurations from external
2620
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
2614
2621
  # @return [::Object]
2615
2622
  # @!attribute [rw] scope
2616
2623
  # 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
@@ -285,10 +285,10 @@ module Google
285
285
  # @param order_by [::String]
286
286
  # Field to use to sort the list.
287
287
  # @yield [result, operation] Access the result along with the TransportOperation object
288
- # @yieldparam result [::Google::Cloud::ConfigService::V1::ListDeploymentsResponse]
288
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ConfigService::V1::Deployment>]
289
289
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
290
290
  #
291
- # @return [::Google::Cloud::ConfigService::V1::ListDeploymentsResponse]
291
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ConfigService::V1::Deployment>]
292
292
  #
293
293
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
294
294
  #
@@ -340,7 +340,9 @@ module Google
340
340
  retry_policy: @config.retry_policy
341
341
 
342
342
  @config_stub.list_deployments request, options do |result, operation|
343
+ result = ::Gapic::Rest::PagedEnumerable.new @config_stub, :list_deployments, "deployments", request, result, options
343
344
  yield result, operation if block_given?
345
+ throw :response, result
344
346
  end
345
347
  rescue ::Gapic::Rest::Error => e
346
348
  raise ::Google::Cloud::Error.from_error(e)
@@ -808,10 +810,10 @@ module Google
808
810
  # @param order_by [::String]
809
811
  # Field to use to sort the list.
810
812
  # @yield [result, operation] Access the result along with the TransportOperation object
811
- # @yieldparam result [::Google::Cloud::ConfigService::V1::ListRevisionsResponse]
813
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ConfigService::V1::Revision>]
812
814
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
813
815
  #
814
- # @return [::Google::Cloud::ConfigService::V1::ListRevisionsResponse]
816
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ConfigService::V1::Revision>]
815
817
  #
816
818
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
817
819
  #
@@ -863,7 +865,9 @@ module Google
863
865
  retry_policy: @config.retry_policy
864
866
 
865
867
  @config_stub.list_revisions request, options do |result, operation|
868
+ result = ::Gapic::Rest::PagedEnumerable.new @config_stub, :list_revisions, "revisions", request, result, options
866
869
  yield result, operation if block_given?
870
+ throw :response, result
867
871
  end
868
872
  rescue ::Gapic::Rest::Error => e
869
873
  raise ::Google::Cloud::Error.from_error(e)
@@ -1074,10 +1078,10 @@ module Google
1074
1078
  # @param order_by [::String]
1075
1079
  # Field to use to sort the list.
1076
1080
  # @yield [result, operation] Access the result along with the TransportOperation object
1077
- # @yieldparam result [::Google::Cloud::ConfigService::V1::ListResourcesResponse]
1081
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ConfigService::V1::Resource>]
1078
1082
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1079
1083
  #
1080
- # @return [::Google::Cloud::ConfigService::V1::ListResourcesResponse]
1084
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ConfigService::V1::Resource>]
1081
1085
  #
1082
1086
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1083
1087
  #
@@ -1129,7 +1133,9 @@ module Google
1129
1133
  retry_policy: @config.retry_policy
1130
1134
 
1131
1135
  @config_stub.list_resources request, options do |result, operation|
1136
+ result = ::Gapic::Rest::PagedEnumerable.new @config_stub, :list_resources, "resources", request, result, options
1132
1137
  yield result, operation if block_given?
1138
+ throw :response, result
1133
1139
  end
1134
1140
  rescue ::Gapic::Rest::Error => e
1135
1141
  raise ::Google::Cloud::Error.from_error(e)
@@ -1964,10 +1970,10 @@ module Google
1964
1970
  # @param order_by [::String]
1965
1971
  # Optional. Field to use to sort the list.
1966
1972
  # @yield [result, operation] Access the result along with the TransportOperation object
1967
- # @yieldparam result [::Google::Cloud::ConfigService::V1::ListPreviewsResponse]
1973
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ConfigService::V1::Preview>]
1968
1974
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1969
1975
  #
1970
- # @return [::Google::Cloud::ConfigService::V1::ListPreviewsResponse]
1976
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ConfigService::V1::Preview>]
1971
1977
  #
1972
1978
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1973
1979
  #
@@ -2019,7 +2025,9 @@ module Google
2019
2025
  retry_policy: @config.retry_policy
2020
2026
 
2021
2027
  @config_stub.list_previews request, options do |result, operation|
2028
+ result = ::Gapic::Rest::PagedEnumerable.new @config_stub, :list_previews, "previews", request, result, options
2022
2029
  yield result, operation if block_given?
2030
+ throw :response, result
2023
2031
  end
2024
2032
  rescue ::Gapic::Rest::Error => e
2025
2033
  raise ::Google::Cloud::Error.from_error(e)
@@ -2250,10 +2258,10 @@ module Google
2250
2258
  # @param order_by [::String]
2251
2259
  # Optional. Field to use to sort the list.
2252
2260
  # @yield [result, operation] Access the result along with the TransportOperation object
2253
- # @yieldparam result [::Google::Cloud::ConfigService::V1::ListTerraformVersionsResponse]
2261
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ConfigService::V1::TerraformVersion>]
2254
2262
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
2255
2263
  #
2256
- # @return [::Google::Cloud::ConfigService::V1::ListTerraformVersionsResponse]
2264
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ConfigService::V1::TerraformVersion>]
2257
2265
  #
2258
2266
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2259
2267
  #
@@ -2305,7 +2313,9 @@ module Google
2305
2313
  retry_policy: @config.retry_policy
2306
2314
 
2307
2315
  @config_stub.list_terraform_versions request, options do |result, operation|
2316
+ result = ::Gapic::Rest::PagedEnumerable.new @config_stub, :list_terraform_versions, "terraform_versions", request, result, options
2308
2317
  yield result, operation if block_given?
2318
+ throw :response, result
2309
2319
  end
2310
2320
  rescue ::Gapic::Rest::Error => e
2311
2321
  raise ::Google::Cloud::Error.from_error(e)
@@ -2433,6 +2443,13 @@ module Google
2433
2443
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
2434
2444
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
2435
2445
  # * (`nil`) indicating no credentials
2446
+ #
2447
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
2448
+ # external source for authentication to Google Cloud, you must validate it before
2449
+ # providing it to a Google API client library. Providing an unvalidated credential
2450
+ # configuration to Google APIs can compromise the security of your systems and data.
2451
+ # For more information, refer to [Validate credential configurations from external
2452
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
2436
2453
  # @return [::Object]
2437
2454
  # @!attribute [rw] scope
2438
2455
  # 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
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ConfigService
23
23
  module V1
24
- VERSION = "1.2.1"
24
+ VERSION = "2.0.0"
25
25
  end
26
26
  end
27
27
  end
@@ -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
@@ -239,9 +239,13 @@ module Google
239
239
  #
240
240
  # URI may also specify an object version for zipped objects.
241
241
  # Format: `gs://{bucket}/{object}#{version}`
242
+ #
243
+ # Note: The following fields are mutually exclusive: `gcs_source`, `git_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
242
244
  # @!attribute [rw] git_source
243
245
  # @return [::Google::Cloud::ConfigService::V1::GitSource]
244
246
  # URI of a public Git repo.
247
+ #
248
+ # Note: The following fields are mutually exclusive: `git_source`, `gcs_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
245
249
  # @!attribute [rw] input_values
246
250
  # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::ConfigService::V1::TerraformVariable}]
247
251
  # Input variable values for the Terraform blueprint.
@@ -565,9 +569,13 @@ module Google
565
569
  # @!attribute [r] deployment_metadata
566
570
  # @return [::Google::Cloud::ConfigService::V1::DeploymentOperationMetadata]
567
571
  # Output only. Metadata about the deployment operation state.
572
+ #
573
+ # Note: The following fields are mutually exclusive: `deployment_metadata`, `preview_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
568
574
  # @!attribute [r] preview_metadata
569
575
  # @return [::Google::Cloud::ConfigService::V1::PreviewOperationMetadata]
570
576
  # Output only. Metadata about the preview operation state.
577
+ #
578
+ # Note: The following fields are mutually exclusive: `preview_metadata`, `deployment_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
571
579
  # @!attribute [r] create_time
572
580
  # @return [::Google::Protobuf::Timestamp]
573
581
  # Output only. Time when the operation was created.
@@ -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
@@ -53,21 +53,33 @@ module Google
53
53
  # @!attribute [rw] null_value
54
54
  # @return [::Google::Protobuf::NullValue]
55
55
  # Represents a null value.
56
+ #
57
+ # Note: The following fields are mutually exclusive: `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
56
58
  # @!attribute [rw] number_value
57
59
  # @return [::Float]
58
60
  # Represents a double value.
61
+ #
62
+ # Note: The following fields are mutually exclusive: `number_value`, `null_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
59
63
  # @!attribute [rw] string_value
60
64
  # @return [::String]
61
65
  # Represents a string value.
66
+ #
67
+ # Note: The following fields are mutually exclusive: `string_value`, `null_value`, `number_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
62
68
  # @!attribute [rw] bool_value
63
69
  # @return [::Boolean]
64
70
  # Represents a boolean value.
71
+ #
72
+ # Note: The following fields are mutually exclusive: `bool_value`, `null_value`, `number_value`, `string_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
65
73
  # @!attribute [rw] struct_value
66
74
  # @return [::Google::Protobuf::Struct]
67
75
  # Represents a structured value.
76
+ #
77
+ # Note: The following fields are mutually exclusive: `struct_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
68
78
  # @!attribute [rw] list_value
69
79
  # @return [::Google::Protobuf::ListValue]
70
80
  # Represents a repeated `Value`.
81
+ #
82
+ # Note: The following fields are mutually exclusive: `list_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
71
83
  class Value
72
84
  include ::Google::Protobuf::MessageExts
73
85
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-config_service-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 2.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: 2025-01-08 00:00:00.000000000 Z
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.24.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.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -133,7 +132,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
133
132
  licenses:
134
133
  - Apache-2.0
135
134
  metadata: {}
136
- post_install_message:
137
135
  rdoc_options: []
138
136
  require_paths:
139
137
  - lib
@@ -141,15 +139,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
141
139
  requirements:
142
140
  - - ">="
143
141
  - !ruby/object:Gem::Version
144
- version: '2.7'
142
+ version: '3.0'
145
143
  required_rubygems_version: !ruby/object:Gem::Requirement
146
144
  requirements:
147
145
  - - ">="
148
146
  - !ruby/object:Gem::Version
149
147
  version: '0'
150
148
  requirements: []
151
- rubygems_version: 3.5.23
152
- signing_key:
149
+ rubygems_version: 3.6.3
153
150
  specification_version: 4
154
151
  summary: Creates and manages Google Cloud Platform resources and infrastructure.
155
152
  test_files: []