google-apis-datamigration_v1 0.41.0 → 0.43.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: 454f102cd672a80c3cd185bfc995e465dc6b1115318279ede352225023ed0cc1
4
- data.tar.gz: 94b9bc7bf9ccd66737b509cdb7b13f3185a04c6fe5478c4ac0a56bbeacde8af6
3
+ metadata.gz: c7641eaa9c910991c97047b3e8f1e7b8e91abbe64bd2157ce59fa21d67d5b04e
4
+ data.tar.gz: 8fbf52c6e565b88ea465a52d671de7138a8a2719b0e5d5d7ce7608430899b619
5
5
  SHA512:
6
- metadata.gz: 2689cf30ae4e7278d395f5e5f69118d4c34935475907f0c667ae1065a9f050198adf25700c0ce8580c1f2a611cf4893db2dc884e16f1f0841d221317fcfbc4a6
7
- data.tar.gz: 183eb063570e42fd69cdf964ee066f5503cf866bee3193ee3bd40feec83f1205ffc52f42b55b11e5ae6bdd0d733ad825e1c95202c60d5da2bb81a652202904ed
6
+ metadata.gz: d32ed062338c8586fcb33d3060838da9781b29192214bc12870bbf871fa6f1f5e1888de79f640d2a206ce588e960ae31c8885aaf688ab8515562ad5dc37aedb4
7
+ data.tar.gz: f2ec93a515722636ceee5a738653dcc499889338490487da7fe15589b7fd9ec241c3bb7a5ec8375f62ff091c22892c221820290e4d57387c1503093def9e60d8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-datamigration_v1
2
2
 
3
+ ### v0.43.0 (2023-09-17)
4
+
5
+ * Regenerated from discovery document revision 20230911
6
+
7
+ ### v0.42.0 (2023-08-13)
8
+
9
+ * Regenerated from discovery document revision 20230802
10
+
3
11
  ### v0.41.0 (2023-08-06)
4
12
 
5
13
  * Regenerated from discovery document revision 20230726
@@ -538,6 +538,11 @@ module Google
538
538
  # @return [String]
539
539
  attr_accessor :collation
540
540
 
541
+ # Data cache configurations.
542
+ # Corresponds to the JSON property `dataCacheConfig`
543
+ # @return [Google::Apis::DatamigrationV1::DataCacheConfig]
544
+ attr_accessor :data_cache_config
545
+
541
546
  # The storage capacity available to the database, in GB. The minimum (and
542
547
  # default) size is 10GB.
543
548
  # Corresponds to the JSON property `dataDiskSizeGb`
@@ -635,6 +640,7 @@ module Google
635
640
  @availability_type = args[:availability_type] if args.key?(:availability_type)
636
641
  @cmek_key_name = args[:cmek_key_name] if args.key?(:cmek_key_name)
637
642
  @collation = args[:collation] if args.key?(:collation)
643
+ @data_cache_config = args[:data_cache_config] if args.key?(:data_cache_config)
638
644
  @data_disk_size_gb = args[:data_disk_size_gb] if args.key?(:data_disk_size_gb)
639
645
  @data_disk_type = args[:data_disk_type] if args.key?(:data_disk_type)
640
646
  @database_flags = args[:database_flags] if args.key?(:database_flags)
@@ -1195,6 +1201,26 @@ module Google
1195
1201
  end
1196
1202
  end
1197
1203
 
1204
+ # Data cache configurations.
1205
+ class DataCacheConfig
1206
+ include Google::Apis::Core::Hashable
1207
+
1208
+ # Optional. Whether data cache is enabled for the instance.
1209
+ # Corresponds to the JSON property `dataCacheEnabled`
1210
+ # @return [Boolean]
1211
+ attr_accessor :data_cache_enabled
1212
+ alias_method :data_cache_enabled?, :data_cache_enabled
1213
+
1214
+ def initialize(**args)
1215
+ update!(**args)
1216
+ end
1217
+
1218
+ # Update properties of this object
1219
+ def update!(**args)
1220
+ @data_cache_enabled = args[:data_cache_enabled] if args.key?(:data_cache_enabled)
1221
+ end
1222
+ end
1223
+
1198
1224
  # The type and version of a source or destination database.
1199
1225
  class DatabaseEngineInfo
1200
1226
  include Google::Apis::Core::Hashable
@@ -3155,13 +3181,13 @@ module Google
3155
3181
  # @return [String]
3156
3182
  attr_accessor :name
3157
3183
 
3158
- # The normal response of the operation in case of success. If the original
3159
- # method returns no data on success, such as `Delete`, the response is `google.
3160
- # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
3161
- # the response should be the resource. For other methods, the response should
3162
- # have the type `XxxResponse`, where `Xxx` is the original method name. For
3163
- # example, if the original method name is `TakeSnapshot()`, the inferred
3164
- # response type is `TakeSnapshotResponse`.
3184
+ # The normal, successful response of the operation. If the original method
3185
+ # returns no data on success, such as `Delete`, the response is `google.protobuf.
3186
+ # Empty`. If the original method is standard `Get`/`Create`/`Update`, the
3187
+ # response should be the resource. For other methods, the response should have
3188
+ # the type `XxxResponse`, where `Xxx` is the original method name. For example,
3189
+ # if the original method name is `TakeSnapshot()`, the inferred response type is
3190
+ # `TakeSnapshotResponse`.
3165
3191
  # Corresponds to the JSON property `response`
3166
3192
  # @return [Hash<String,Object>]
3167
3193
  attr_accessor :response
@@ -3320,22 +3346,22 @@ module Google
3320
3346
  # evaluates to `true`. A condition can add constraints based on attributes of
3321
3347
  # the request, the resource, or both. To learn which resources support
3322
3348
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
3323
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
3349
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
3324
3350
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
3325
3351
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
3326
3352
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
3327
3353
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
3328
3354
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
3329
3355
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
3330
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
3331
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
3332
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
3333
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
3334
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
3335
- # access description: Does not grant access after Sep 2020 expression: request.
3336
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
3337
- # a description of IAM and its features, see the [IAM documentation](https://
3338
- # cloud.google.com/iam/docs/).
3356
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
3357
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
3358
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
3359
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
3360
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
3361
+ # title: expirable access description: Does not grant access after Sep 2020
3362
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
3363
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
3364
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
3339
3365
  class Policy
3340
3366
  include Google::Apis::Core::Hashable
3341
3367
 
@@ -4008,22 +4034,22 @@ module Google
4008
4034
  # evaluates to `true`. A condition can add constraints based on attributes of
4009
4035
  # the request, the resource, or both. To learn which resources support
4010
4036
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
4011
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
4037
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
4012
4038
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
4013
4039
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
4014
4040
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
4015
4041
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
4016
4042
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
4017
4043
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
4018
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
4019
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
4020
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
4021
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
4022
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
4023
- # access description: Does not grant access after Sep 2020 expression: request.
4024
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
4025
- # a description of IAM and its features, see the [IAM documentation](https://
4026
- # cloud.google.com/iam/docs/).
4044
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
4045
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
4046
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
4047
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
4048
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
4049
+ # title: expirable access description: Does not grant access after Sep 2020
4050
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
4051
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
4052
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
4027
4053
  # Corresponds to the JSON property `policy`
4028
4054
  # @return [Google::Apis::DatamigrationV1::Policy]
4029
4055
  attr_accessor :policy
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DatamigrationV1
18
18
  # Version of the google-apis-datamigration_v1 gem
19
- GEM_VERSION = "0.41.0"
19
+ GEM_VERSION = "0.43.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230726"
25
+ REVISION = "20230911"
26
26
  end
27
27
  end
28
28
  end
@@ -160,6 +160,12 @@ module Google
160
160
  include Google::Apis::Core::JsonObjectSupport
161
161
  end
162
162
 
163
+ class DataCacheConfig
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
163
169
  class DatabaseEngineInfo
164
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
171
 
@@ -902,6 +908,8 @@ module Google
902
908
  property :availability_type, as: 'availabilityType'
903
909
  property :cmek_key_name, as: 'cmekKeyName'
904
910
  property :collation, as: 'collation'
911
+ property :data_cache_config, as: 'dataCacheConfig', class: Google::Apis::DatamigrationV1::DataCacheConfig, decorator: Google::Apis::DatamigrationV1::DataCacheConfig::Representation
912
+
905
913
  property :data_disk_size_gb, :numeric_string => true, as: 'dataDiskSizeGb'
906
914
  property :data_disk_type, as: 'dataDiskType'
907
915
  hash :database_flags, as: 'databaseFlags'
@@ -1051,6 +1059,13 @@ module Google
1051
1059
  end
1052
1060
  end
1053
1061
 
1062
+ class DataCacheConfig
1063
+ # @private
1064
+ class Representation < Google::Apis::Core::JsonRepresentation
1065
+ property :data_cache_enabled, as: 'dataCacheEnabled'
1066
+ end
1067
+ end
1068
+
1054
1069
  class DatabaseEngineInfo
1055
1070
  # @private
1056
1071
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-datamigration_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.41.0
4
+ version: 0.43.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-06 00:00:00.000000000 Z
11
+ date: 2023-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datamigration_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-datamigration_v1/v0.41.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datamigration_v1/v0.43.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datamigration_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Database Migration API V1