google-cloud-service_management-v1 1.1.0 → 1.2.1

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: e7e0d1e7699950fae35061fa47fd89ce78dd68c37e57586335ca50c285aa5705
4
- data.tar.gz: 9dfe11f1e0c2b2ebd35c30127bb54aa737a6be75e6d3f074ec6836af2fde9821
3
+ metadata.gz: 3492ed374fa1a1dd228d908202eca168fcbbefed4381dbf8384b94e27f707a6a
4
+ data.tar.gz: c49a48781c005e1ab69fb83713039d9f30ab7eb6cdf93377d265d0a5982680b2
5
5
  SHA512:
6
- metadata.gz: 4694631b21603c48d92652acda97fa3772ccd82067b47cc4396a02b35ff1b692136bf8f65263bdfe62f4ff8d6cd6437c6812f5c0bd30c88c57427581bc4cdde0
7
- data.tar.gz: 8912e44a09e8e9c144f2142e658b09be955c8cb59d4bae32187c35f2cd5ac428fed83b5db2a03d771556adb2806b6fcf8b4e394c0eb663b715c5701802136e40
6
+ metadata.gz: 6f8c58e7ceb6307e8f56806bac425a0191acb59bb33f5abc5dc6d1dac84110c9738483ecce508f79ba1b0d5978a31f3c3b654cf97b10d4667ada1b2cec4d4b4c
7
+ data.tar.gz: 2938ea6d2ef6fbc13c9c74e2f99a0dba51a9af09878665db2d1eaac4e2249db75e9da0ebc9dfbf475180bde448babe074fca1d0b57419f80108c8aeaa84b3545
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
@@ -1563,6 +1563,13 @@ module Google
1563
1563
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1564
1564
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1565
1565
  # * (`nil`) indicating no credentials
1566
+ #
1567
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1568
+ # external source for authentication to Google Cloud, you must validate it before
1569
+ # providing it to a Google API client library. Providing an unvalidated credential
1570
+ # configuration to Google APIs can compromise the security of your systems and data.
1571
+ # For more information, refer to [Validate credential configurations from external
1572
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1566
1573
  # @return [::Object]
1567
1574
  # @!attribute [rw] scope
1568
1575
  # The OAuth scopes
@@ -1617,8 +1624,8 @@ module Google
1617
1624
 
1618
1625
  config_attr :endpoint, nil, ::String, nil
1619
1626
  config_attr :credentials, nil do |value|
1620
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1621
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
1627
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1628
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
1622
1629
  allowed.any? { |klass| klass === value }
1623
1630
  end
1624
1631
  config_attr :scope, nil, ::String, ::Array, nil
@@ -632,6 +632,13 @@ module Google
632
632
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
633
633
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
634
634
  # * (`nil`) indicating no credentials
635
+ #
636
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
637
+ # external source for authentication to Google Cloud, you must validate it before
638
+ # providing it to a Google API client library. Providing an unvalidated credential
639
+ # configuration to Google APIs can compromise the security of your systems and data.
640
+ # For more information, refer to [Validate credential configurations from external
641
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
635
642
  # @return [::Object]
636
643
  # @!attribute [rw] scope
637
644
  # The OAuth scopes
@@ -686,8 +693,8 @@ module Google
686
693
 
687
694
  config_attr :endpoint, nil, ::String, nil
688
695
  config_attr :credentials, nil do |value|
689
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
690
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
696
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
697
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
691
698
  allowed.any? { |klass| klass === value }
692
699
  end
693
700
  config_attr :scope, nil, ::String, ::Array, nil
@@ -1482,6 +1482,13 @@ module Google
1482
1482
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1483
1483
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1484
1484
  # * (`nil`) indicating no credentials
1485
+ #
1486
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1487
+ # external source for authentication to Google Cloud, you must validate it before
1488
+ # providing it to a Google API client library. Providing an unvalidated credential
1489
+ # configuration to Google APIs can compromise the security of your systems and data.
1490
+ # For more information, refer to [Validate credential configurations from external
1491
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1485
1492
  # @return [::Object]
1486
1493
  # @!attribute [rw] scope
1487
1494
  # The OAuth scopes
@@ -1529,7 +1536,7 @@ module Google
1529
1536
 
1530
1537
  config_attr :endpoint, nil, ::String, nil
1531
1538
  config_attr :credentials, nil do |value|
1532
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1539
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1533
1540
  allowed.any? { |klass| klass === value }
1534
1541
  end
1535
1542
  config_attr :scope, nil, ::String, ::Array, nil
@@ -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
@@ -549,7 +556,7 @@ module Google
549
556
 
550
557
  config_attr :endpoint, nil, ::String, nil
551
558
  config_attr :credentials, nil do |value|
552
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
559
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
553
560
  allowed.any? { |klass| klass === value }
554
561
  end
555
562
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ServiceManagement
23
23
  module V1
24
- VERSION = "1.1.0"
24
+ VERSION = "1.2.1"
25
25
  end
26
26
  end
27
27
  end
@@ -84,12 +84,18 @@ module Google
84
84
  # @!attribute [rw] header
85
85
  # @return [::String]
86
86
  # Specifies HTTP header name to extract JWT token.
87
+ #
88
+ # Note: The following fields are mutually exclusive: `header`, `query`, `cookie`. If a field in that set is populated, all other fields in the set will automatically be cleared.
87
89
  # @!attribute [rw] query
88
90
  # @return [::String]
89
91
  # Specifies URL query parameter name to extract JWT token.
92
+ #
93
+ # Note: The following fields are mutually exclusive: `query`, `header`, `cookie`. If a field in that set is populated, all other fields in the set will automatically be cleared.
90
94
  # @!attribute [rw] cookie
91
95
  # @return [::String]
92
96
  # Specifies cookie name to extract JWT token.
97
+ #
98
+ # Note: The following fields are mutually exclusive: `cookie`, `header`, `query`. If a field in that set is populated, all other fields in the set will automatically be cleared.
93
99
  # @!attribute [rw] value_prefix
94
100
  # @return [::String]
95
101
  # The value prefix. The value format is "value_prefix\\{token}"
@@ -78,12 +78,16 @@ module Google
78
78
  # The JWT audience is used when generating a JWT ID token for the backend.
79
79
  # This ID token will be added in the HTTP "authorization" header, and sent
80
80
  # to the backend.
81
+ #
82
+ # Note: The following fields are mutually exclusive: `jwt_audience`, `disable_auth`. If a field in that set is populated, all other fields in the set will automatically be cleared.
81
83
  # @!attribute [rw] disable_auth
82
84
  # @return [::Boolean]
83
85
  # When disable_auth is true, a JWT ID token won't be generated and the
84
86
  # original "Authorization" HTTP header will be preserved. If the header is
85
87
  # used to carry the original token and is expected by the backend, this
86
88
  # field must be set to true to preserve the header.
89
+ #
90
+ # Note: The following fields are mutually exclusive: `disable_auth`, `jwt_audience`. If a field in that set is populated, all other fields in the set will automatically be cleared.
87
91
  # @!attribute [rw] protocol
88
92
  # @return [::String]
89
93
  # The protocol used for sending a request to the backend.
@@ -221,6 +221,12 @@ module Google
221
221
  # Pythonic which are included in `protobuf>=5.29.x`. This feature will be
222
222
  # enabled by default 1 month after launching the feature in preview
223
223
  # packages.
224
+ # @!attribute [rw] unversioned_package_disabled
225
+ # @return [::Boolean]
226
+ # Disables generation of an unversioned Python package for this client
227
+ # library. This means that the module names will need to be versioned in
228
+ # import statements. For example `import google.cloud.library_v2` instead
229
+ # of `import google.cloud.library`.
224
230
  class ExperimentalFeatures
225
231
  include ::Google::Protobuf::MessageExts
226
232
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -409,6 +415,14 @@ module Google
409
415
  # @return [::Array<::String>]
410
416
  # An allowlist of the fully qualified names of RPCs that should be included
411
417
  # on public client surfaces.
418
+ # @!attribute [rw] generate_omitted_as_internal
419
+ # @return [::Boolean]
420
+ # Setting this to true indicates to the client generators that methods
421
+ # that would be excluded from the generation should instead be generated
422
+ # in a way that indicates these methods should not be consumed by
423
+ # end users. How this is expressed is up to individual language
424
+ # implementations to decide. Some examples may be: added annotations,
425
+ # obfuscated identifiers, or other language idiomatic patterns.
412
426
  class SelectiveGapicGeneration
413
427
  include ::Google::Protobuf::MessageExts
414
428
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -161,9 +161,9 @@ module Google
161
161
  # `[Java][Tutorial.Java]`.
162
162
  # @!attribute [rw] content
163
163
  # @return [::String]
164
- # The Markdown content of the page. You can use <code>&#40;== include \\{path}
165
- # ==&#41;</code> to include content from a Markdown file. The content can be
166
- # used to produce the documentation page such as HTML format page.
164
+ # The Markdown content of the page. You can use ```(== include {path}
165
+ # ==)``` to include content from a Markdown file. The content can be used
166
+ # to produce the documentation page such as HTML format page.
167
167
  # @!attribute [rw] subpages
168
168
  # @return [::Array<::Google::Api::Page>]
169
169
  # Subpages of this page. The order of subpages specified here will be
@@ -229,10 +229,14 @@ module Google
229
229
  # @return [::Google::Cloud::ServiceManagement::V1::Rollout::TrafficPercentStrategy]
230
230
  # Google Service Control selects service configurations based on
231
231
  # traffic percentage.
232
+ #
233
+ # Note: The following fields are mutually exclusive: `traffic_percent_strategy`, `delete_service_strategy`. If a field in that set is populated, all other fields in the set will automatically be cleared.
232
234
  # @!attribute [rw] delete_service_strategy
233
235
  # @return [::Google::Cloud::ServiceManagement::V1::Rollout::DeleteServiceStrategy]
234
236
  # The strategy associated with a rollout to delete a `ManagedService`.
235
237
  # Readonly.
238
+ #
239
+ # Note: The following fields are mutually exclusive: `delete_service_strategy`, `traffic_percent_strategy`. If a field in that set is populated, all other fields in the set will automatically be cleared.
236
240
  # @!attribute [rw] service_name
237
241
  # @return [::String]
238
242
  # The name of the service associated with this Rollout.
@@ -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-service_management-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.1
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-10 00:00:00.000000000 Z
10
+ date: 1980-01-02 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
@@ -138,7 +137,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
138
137
  licenses:
139
138
  - Apache-2.0
140
139
  metadata: {}
141
- post_install_message:
142
140
  rdoc_options: []
143
141
  require_paths:
144
142
  - lib
@@ -146,15 +144,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
146
144
  requirements:
147
145
  - - ">="
148
146
  - !ruby/object:Gem::Version
149
- version: '2.7'
147
+ version: '3.0'
150
148
  required_rubygems_version: !ruby/object:Gem::Requirement
151
149
  requirements:
152
150
  - - ">="
153
151
  - !ruby/object:Gem::Version
154
152
  version: '0'
155
153
  requirements: []
156
- rubygems_version: 3.5.23
157
- signing_key:
154
+ rubygems_version: 3.6.8
158
155
  specification_version: 4
159
156
  summary: Google Service Management allows service producers to publish their services
160
157
  on Google Cloud Platform so that they can be discovered and used by service consumers.