google-apis-config_v1 0.15.0 → 0.16.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: c9024297ae0044307f24215a771c31a196600c9921a4013e3e46673b1eb2b732
4
- data.tar.gz: c642d6a405c26aa8540dbe621895a220e85f05f4f1047a7c44ca4eeb6b243300
3
+ metadata.gz: 86de3d02ff431a6bc138f072ce7de5e074a2c7d37863bddb6197e22378c37a04
4
+ data.tar.gz: a3214abb4aced045930ad35c1efc9276062f47425c7d3285002e5435eedeabf7
5
5
  SHA512:
6
- metadata.gz: cc1e8fe780f40ab92a5f05e12969ee02b72db9ab5037011a2641678122b95be4d5617ba864b594d9475118e24c0b1df881f0e7b52f47d0dff45026042b5c2280
7
- data.tar.gz: f6072019bc9f324fccce6ad2d6abf616164a367029fc66b5cd71bc81ab9b24acd23f894ffab4dae9e96d5f3b2cbb9be1f286ab2f578e4ede1dcf4264d53db536
6
+ metadata.gz: 26851040bfa4e7ba5a1d98b3ba5c9452d9b9ba35c4b5c20fcd12d937391ce4033db30693dfa40aae2c1d6c71237bf36b75f3f0f42ac7fae7c1cb4b34d25a2e7a
7
+ data.tar.gz: a700a643a0854a09ff47846c335cef1e4e51389503f9ca8fafd6c8a3f427ffecd75f5c9648d9317274168fe6249aaf0282d2677b96c5c85cfb6b020db93556ca
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-config_v1
2
2
 
3
+ ### v0.16.0 (2025-12-14)
4
+
5
+ * Regenerated from discovery document revision 20251202
6
+
3
7
  ### v0.15.0 (2025-11-09)
4
8
 
5
9
  * Regenerated from discovery document revision 20251029
@@ -126,6 +126,39 @@ module Google
126
126
  end
127
127
  end
128
128
 
129
+ # AutoMigrationConfig contains the automigration configuration for a project.
130
+ class AutoMigrationConfig
131
+ include Google::Apis::Core::Hashable
132
+
133
+ # Optional. Whether the auto migration is enabled for the project.
134
+ # Corresponds to the JSON property `autoMigrationEnabled`
135
+ # @return [Boolean]
136
+ attr_accessor :auto_migration_enabled
137
+ alias_method :auto_migration_enabled?, :auto_migration_enabled
138
+
139
+ # Identifier. The name of the AutoMigrationConfig. Format: 'projects/`project_id`
140
+ # /locations/`location`/AutoMigrationConfig'.
141
+ # Corresponds to the JSON property `name`
142
+ # @return [String]
143
+ attr_accessor :name
144
+
145
+ # Output only. Time the AutoMigrationConfig was last updated.
146
+ # Corresponds to the JSON property `updateTime`
147
+ # @return [String]
148
+ attr_accessor :update_time
149
+
150
+ def initialize(**args)
151
+ update!(**args)
152
+ end
153
+
154
+ # Update properties of this object
155
+ def update!(**args)
156
+ @auto_migration_enabled = args[:auto_migration_enabled] if args.key?(:auto_migration_enabled)
157
+ @name = args[:name] if args.key?(:name)
158
+ @update_time = args[:update_time] if args.key?(:update_time)
159
+ end
160
+ end
161
+
129
162
  # Associates `members`, or principals, with a `role`.
130
163
  class Binding
131
164
  include Google::Apis::Core::Hashable
@@ -744,8 +777,9 @@ module Google
744
777
  attr_accessor :operations
745
778
 
746
779
  # Unordered list. Unreachable resources. Populated when the request sets `
747
- # ListOperationsRequest.return_partial_success` and reads across collections e.g.
748
- # when attempting to list all resources across all supported locations.
780
+ # ListOperationsRequest.return_partial_success` and reads across collections.
781
+ # For example, when attempting to list all resources across all supported
782
+ # locations.
749
783
  # Corresponds to the JSON property `unreachable`
750
784
  # @return [Array<String>]
751
785
  attr_accessor :unreachable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ConfigV1
18
18
  # Version of the google-apis-config_v1 gem
19
- GEM_VERSION = "0.15.0"
19
+ GEM_VERSION = "0.16.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251029"
25
+ REVISION = "20251202"
26
26
  end
27
27
  end
28
28
  end
@@ -40,6 +40,12 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class AutoMigrationConfig
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
43
49
  class Binding
44
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
51
 
@@ -391,6 +397,15 @@ module Google
391
397
  end
392
398
  end
393
399
 
400
+ class AutoMigrationConfig
401
+ # @private
402
+ class Representation < Google::Apis::Core::JsonRepresentation
403
+ property :auto_migration_enabled, as: 'autoMigrationEnabled'
404
+ property :name, as: 'name'
405
+ property :update_time, as: 'updateTime'
406
+ end
407
+ end
408
+
394
409
  class Binding
395
410
  # @private
396
411
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -81,6 +81,37 @@ module Google
81
81
  execute_or_queue_command(command, &block)
82
82
  end
83
83
 
84
+ # Get the AutoMigrationConfig for a given project and location.
85
+ # @param [String] name
86
+ # Required. The name of the AutoMigrationConfig. Format: 'projects/`project_id`/
87
+ # locations/`location`/AutoMigrationConfig'.
88
+ # @param [String] fields
89
+ # Selector specifying which fields to include in a partial response.
90
+ # @param [String] quota_user
91
+ # Available to use for quota purposes for server-side applications. Can be any
92
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
93
+ # @param [Google::Apis::RequestOptions] options
94
+ # Request-specific options
95
+ #
96
+ # @yield [result, err] Result & error if block supplied
97
+ # @yieldparam result [Google::Apis::ConfigV1::AutoMigrationConfig] parsed result object
98
+ # @yieldparam err [StandardError] error object if request failed
99
+ #
100
+ # @return [Google::Apis::ConfigV1::AutoMigrationConfig]
101
+ #
102
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
103
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
104
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
105
+ def get_project_location_auto_migration_config(name, fields: nil, quota_user: nil, options: nil, &block)
106
+ command = make_simple_command(:get, 'v1/{+name}', options)
107
+ command.response_representation = Google::Apis::ConfigV1::AutoMigrationConfig::Representation
108
+ command.response_class = Google::Apis::ConfigV1::AutoMigrationConfig
109
+ command.params['name'] = name unless name.nil?
110
+ command.query['fields'] = fields unless fields.nil?
111
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
112
+ execute_or_queue_command(command, &block)
113
+ end
114
+
84
115
  # Lists information about the supported locations for this service.
85
116
  # @param [String] name
86
117
  # The resource that owns the locations collection, if applicable.
@@ -128,6 +159,44 @@ module Google
128
159
  execute_or_queue_command(command, &block)
129
160
  end
130
161
 
162
+ # Updates the AutoMigrationConfig for a given project and location.
163
+ # @param [String] name
164
+ # Identifier. The name of the AutoMigrationConfig. Format: 'projects/`project_id`
165
+ # /locations/`location`/AutoMigrationConfig'.
166
+ # @param [Google::Apis::ConfigV1::AutoMigrationConfig] auto_migration_config_object
167
+ # @param [String] update_mask
168
+ # Optional. The update mask applies to the resource. See google.protobuf.
169
+ # FieldMask.
170
+ # @param [String] fields
171
+ # Selector specifying which fields to include in a partial response.
172
+ # @param [String] quota_user
173
+ # Available to use for quota purposes for server-side applications. Can be any
174
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
175
+ # @param [Google::Apis::RequestOptions] options
176
+ # Request-specific options
177
+ #
178
+ # @yield [result, err] Result & error if block supplied
179
+ # @yieldparam result [Google::Apis::ConfigV1::Operation] parsed result object
180
+ # @yieldparam err [StandardError] error object if request failed
181
+ #
182
+ # @return [Google::Apis::ConfigV1::Operation]
183
+ #
184
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
185
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
186
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
187
+ def update_project_location_auto_migration_config(name, auto_migration_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
188
+ command = make_simple_command(:patch, 'v1/{+name}', options)
189
+ command.request_representation = Google::Apis::ConfigV1::AutoMigrationConfig::Representation
190
+ command.request_object = auto_migration_config_object
191
+ command.response_representation = Google::Apis::ConfigV1::Operation::Representation
192
+ command.response_class = Google::Apis::ConfigV1::Operation
193
+ command.params['name'] = name unless name.nil?
194
+ command.query['updateMask'] = update_mask unless update_mask.nil?
195
+ command.query['fields'] = fields unless fields.nil?
196
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
197
+ execute_or_queue_command(command, &block)
198
+ end
199
+
131
200
  # Creates a Deployment.
132
201
  # @param [String] parent
133
202
  # Required. The parent in whose context the Deployment is created. The parent
@@ -1018,11 +1087,12 @@ module Google
1018
1087
  # The standard list page token.
1019
1088
  # @param [Boolean] return_partial_success
1020
1089
  # When set to `true`, operations that are reachable are returned as normal, and
1021
- # those that are unreachable are returned in the [ListOperationsResponse.
1022
- # unreachable] field. This can only be `true` when reading across collections e.
1023
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
1024
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
1025
- # explicitly documented otherwise in service or product specific documentation.
1090
+ # those that are unreachable are returned in the ListOperationsResponse.
1091
+ # unreachable field. This can only be `true` when reading across collections.
1092
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
1093
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
1094
+ # if set unless explicitly documented otherwise in service or product specific
1095
+ # documentation.
1026
1096
  # @param [String] fields
1027
1097
  # Selector specifying which fields to include in a partial response.
1028
1098
  # @param [String] quota_user
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-config_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-config_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-config_v1/v0.15.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-config_v1/v0.16.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-config_v1
62
62
  rdoc_options: []
63
63
  require_paths: