google-cloud-config_service-v1 1.2.0 → 1.3.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: de00e2e6c9a9b2e4b9a3e5daf84a45fe494010aed89b06f1d7dd0e45cd90d847
4
- data.tar.gz: 2fb7794fb198508b60bb7d502e4921cb6728b165f704c1c2afbe99e1f6717d2b
3
+ metadata.gz: 1b05679235471d52b7bd7dc45a9294afdb3c6b2694d6745fcfb971e89b57285a
4
+ data.tar.gz: 90d2122553eb5a3dda7dec155fb6083215a7137b1e53be193d9b9800b2acb6a3
5
5
  SHA512:
6
- metadata.gz: bb6f09732dd047dd6378e0008b40f4827c9569095aa1c30e00488ecc0974945025670ee4acb72b3d9ab965b25bb860f4ad10b8e3b2da30157046770f84d36223
7
- data.tar.gz: 598759e235a78e42051c55b4a49fedd5bb22948620cf6db9074e84b263b948da57a71b4353ad4fbed6bea71351b657f369dcf438b9ff9976ed7cfcc919ef138f
6
+ metadata.gz: bce983083bab5f289dd9337735f85e4b313cd00c91cef89a15c274094ec19e36b6a2e6baeda61b400c227bd15b3df709274de79768b6e0bf08fbae06839a3927
7
+ data.tar.gz: ca18e8c183920c5c67f675124c1564ead129c64b70cc6293642f7c847c889349f325948351e7918afa44e97f683371ef54b9d44fdebe2db7636daa6d7a53b087
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
@@ -73,6 +73,11 @@ module Google
73
73
  end
74
74
  default_config = Client::Configuration.new parent_config
75
75
 
76
+ default_config.timeout = 60.0
77
+ default_config.retry_policy = {
78
+ initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
79
+ }
80
+
76
81
  default_config
77
82
  end
78
83
  yield @configure if block_given?
@@ -2606,6 +2611,13 @@ module Google
2606
2611
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
2607
2612
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2608
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).
2609
2621
  # @return [::Object]
2610
2622
  # @!attribute [rw] scope
2611
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
@@ -75,6 +75,11 @@ module Google
75
75
  end
76
76
  default_config = Client::Configuration.new parent_config
77
77
 
78
+ default_config.timeout = 60.0
79
+ default_config.retry_policy = {
80
+ initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
81
+ }
82
+
78
83
  default_config
79
84
  end
80
85
  yield @configure if block_given?
@@ -2428,6 +2433,13 @@ module Google
2428
2433
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
2429
2434
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
2430
2435
  # * (`nil`) indicating no credentials
2436
+ #
2437
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
2438
+ # external source for authentication to Google Cloud, you must validate it before
2439
+ # providing it to a Google API client library. Providing an unvalidated credential
2440
+ # configuration to Google APIs can compromise the security of your systems and data.
2441
+ # For more information, refer to [Validate credential configurations from external
2442
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
2431
2443
  # @return [::Object]
2432
2444
  # @!attribute [rw] scope
2433
2445
  # 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.0"
24
+ VERSION = "1.3.0"
25
25
  end
26
26
  end
27
27
  end
@@ -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.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-12 00:00:00.000000000 Z
10
+ date: 2025-01-29 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.2
153
150
  specification_version: 4
154
151
  summary: Creates and manages Google Cloud Platform resources and infrastructure.
155
152
  test_files: []