google-apis-datamigration_v1 0.5.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3390790aea32f33101d64cea6be62db652d562f5e22decf9d1dcc5951a2c1469
4
- data.tar.gz: bd78a5522a53d1385bf50d3b879893d6e7a2b83e30b7a4a43f21240ad974ad45
3
+ metadata.gz: 684d98ac81e222f7a9f46dc9711ec9321fba357dbb749d2791c1172b65264558
4
+ data.tar.gz: 3e046b72c1f385c32208a2b45849b8d856c445350936348141e2940ae0dcb255
5
5
  SHA512:
6
- metadata.gz: 00e7b9a4dae35518b814ae82fec9fd2514168ee02a42aab3067d4e122e90b5f7fc8beee4ed0489fd0b051c2a4eef1198ade00af7f212e31a6931a682b1825c6f
7
- data.tar.gz: 64e35ec0e971154bbbb7fc45788ea91cda1ff4a8be0f7e5fb7d64c9d4d437a06fb7319ccb2bc856a97882a2d1fc077ff9a5ecc76738118a412afc7137e8d792c
6
+ metadata.gz: 26ed59b0dfc59f32b2f811d57b6750517db94b1c7cd26737920939d3c4c8d259ed5fbd38e2ed4ab0036b53fa02166cf1a8c54cc45aa18e8645b4ae395a90afcf
7
+ data.tar.gz: 5d3055f9b1e71cd76e35f9f32efc93891f9ef188351e2b513eaa69c6bcc0fb7f4d1043e31c38713da44ffca323906cfca3df916c2f223e8006a889926c9e6e95
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-datamigration_v1
2
2
 
3
+ ### v0.9.0 (2021-12-11)
4
+
5
+ * Regenerated from discovery document revision 20211201
6
+
7
+ ### v0.8.0 (2021-10-30)
8
+
9
+ * Regenerated from discovery document revision 20211020
10
+
11
+ ### v0.7.0 (2021-10-23)
12
+
13
+ * Regenerated from discovery document revision 20211006
14
+ * Unspecified changes
15
+
16
+ ### v0.6.0 (2021-08-30)
17
+
18
+ * Regenerated from discovery document revision 20210818
19
+
3
20
  ### v0.5.0 (2021-06-29)
4
21
 
5
22
  * Regenerated using generator version 0.4.0
data/OVERVIEW.md CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Datamigration service in particular.)
67
67
 
@@ -93,7 +93,7 @@ module Google
93
93
  end
94
94
  end
95
95
 
96
- # Associates `members` with a `role`.
96
+ # Associates `members`, or principals, with a `role`.
97
97
  class Binding
98
98
  include Google::Apis::Core::Hashable
99
99
 
@@ -116,7 +116,7 @@ module Google
116
116
  # @return [Google::Apis::DatamigrationV1::Expr]
117
117
  attr_accessor :condition
118
118
 
119
- # Specifies the identities requesting access for a Cloud Platform resource. `
119
+ # Specifies the principals requesting access for a Cloud Platform resource. `
120
120
  # members` can have the following values: * `allUsers`: A special identifier
121
121
  # that represents anyone who is on the internet; with or without a Google
122
122
  # account. * `allAuthenticatedUsers`: A special identifier that represents
@@ -146,8 +146,8 @@ module Google
146
146
  # @return [Array<String>]
147
147
  attr_accessor :members
148
148
 
149
- # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
150
- # , or `roles/owner`.
149
+ # Role that is assigned to the list of `members`, or principals. For example, `
150
+ # roles/viewer`, `roles/editor`, or `roles/owner`.
151
151
  # Corresponds to the JSON property `role`
152
152
  # @return [String]
153
153
  attr_accessor :role
@@ -239,6 +239,11 @@ module Google
239
239
  attr_accessor :auto_storage_increase
240
240
  alias_method :auto_storage_increase?, :auto_storage_increase
241
241
 
242
+ # The KMS key name used for the csql instance.
243
+ # Corresponds to the JSON property `cmekKeyName`
244
+ # @return [String]
245
+ attr_accessor :cmek_key_name
246
+
242
247
  # The Cloud SQL default instance level collation.
243
248
  # Corresponds to the JSON property `collation`
244
249
  # @return [String]
@@ -326,6 +331,7 @@ module Google
326
331
  def update!(**args)
327
332
  @activation_policy = args[:activation_policy] if args.key?(:activation_policy)
328
333
  @auto_storage_increase = args[:auto_storage_increase] if args.key?(:auto_storage_increase)
334
+ @cmek_key_name = args[:cmek_key_name] if args.key?(:cmek_key_name)
329
335
  @collation = args[:collation] if args.key?(:collation)
330
336
  @data_disk_size_gb = args[:data_disk_size_gb] if args.key?(:data_disk_size_gb)
331
337
  @data_disk_type = args[:data_disk_type] if args.key?(:data_disk_type)
@@ -388,7 +394,7 @@ module Google
388
394
  attr_accessor :mysql
389
395
 
390
396
  # The name of this connection profile resource in the form of projects/`project`/
391
- # locations/`location`/connectionProfiles/`instance`.
397
+ # locations/`location`/connectionProfiles/`connectionProfile`.
392
398
  # Corresponds to the JSON property `name`
393
399
  # @return [String]
394
400
  attr_accessor :name
@@ -850,7 +856,7 @@ module Google
850
856
  attr_accessor :labels
851
857
 
852
858
  # The name (URI) of this migration job resource, in the form of: projects/`
853
- # project`/locations/`location`/instances/`instance`.
859
+ # project`/locations/`location`/migrationJobs/`migrationJob`.
854
860
  # Corresponds to the JSON property `name`
855
861
  # @return [String]
856
862
  attr_accessor :name
@@ -1097,31 +1103,31 @@ module Google
1097
1103
 
1098
1104
  # An Identity and Access Management (IAM) policy, which specifies access
1099
1105
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1100
- # A `binding` binds one or more `members` to a single `role`. Members can be
1101
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
1102
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
1103
- # role or a user-created custom role. For some types of Google Cloud resources,
1104
- # a `binding` can also specify a `condition`, which is a logical expression that
1105
- # allows access to a resource only if the expression evaluates to `true`. A
1106
- # condition can add constraints based on attributes of the request, the resource,
1107
- # or both. To learn which resources support conditions in their IAM policies,
1108
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1109
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1110
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1111
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1112
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1113
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1114
- # title": "expirable access", "description": "Does not grant access after Sep
1115
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1116
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1117
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
1118
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1119
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1120
- # roles/resourcemanager.organizationViewer condition: title: expirable access
1121
- # description: Does not grant access after Sep 2020 expression: request.time <
1122
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1123
- # description of IAM and its features, see the [IAM documentation](https://cloud.
1124
- # google.com/iam/docs/).
1106
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
1107
+ # Principals can be user accounts, service accounts, Google groups, and domains (
1108
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
1109
+ # an IAM predefined role or a user-created custom role. For some types of Google
1110
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
1111
+ # logical expression that allows access to a resource only if the expression
1112
+ # evaluates to `true`. A condition can add constraints based on attributes of
1113
+ # the request, the resource, or both. To learn which resources support
1114
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1115
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1116
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1117
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1118
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1119
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1120
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
1121
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1122
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1123
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
1124
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1125
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1126
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1127
+ # access description: Does not grant access after Sep 2020 expression: request.
1128
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1129
+ # a description of IAM and its features, see the [IAM documentation](https://
1130
+ # cloud.google.com/iam/docs/).
1125
1131
  class Policy
1126
1132
  include Google::Apis::Core::Hashable
1127
1133
 
@@ -1130,9 +1136,14 @@ module Google
1130
1136
  # @return [Array<Google::Apis::DatamigrationV1::AuditConfig>]
1131
1137
  attr_accessor :audit_configs
1132
1138
 
1133
- # Associates a list of `members` to a `role`. Optionally, may specify a `
1134
- # condition` that determines how and when the `bindings` are applied. Each of
1135
- # the `bindings` must contain at least one member.
1139
+ # Associates a list of `members`, or principals, with a `role`. Optionally, may
1140
+ # specify a `condition` that determines how and when the `bindings` are applied.
1141
+ # Each of the `bindings` must contain at least one principal. The `bindings` in
1142
+ # a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
1143
+ # can be Google groups. Each occurrence of a principal counts towards these
1144
+ # limits. For example, if the `bindings` grant 50 different roles to `user:alice@
1145
+ # example.com`, and not to any other principal, then you can add another 1,450
1146
+ # principals to the `bindings` in the `Policy`.
1136
1147
  # Corresponds to the JSON property `bindings`
1137
1148
  # @return [Array<Google::Apis::DatamigrationV1::Binding>]
1138
1149
  attr_accessor :bindings
@@ -1336,31 +1347,31 @@ module Google
1336
1347
 
1337
1348
  # An Identity and Access Management (IAM) policy, which specifies access
1338
1349
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1339
- # A `binding` binds one or more `members` to a single `role`. Members can be
1340
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
1341
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
1342
- # role or a user-created custom role. For some types of Google Cloud resources,
1343
- # a `binding` can also specify a `condition`, which is a logical expression that
1344
- # allows access to a resource only if the expression evaluates to `true`. A
1345
- # condition can add constraints based on attributes of the request, the resource,
1346
- # or both. To learn which resources support conditions in their IAM policies,
1347
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1348
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1349
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1350
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1351
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1352
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1353
- # title": "expirable access", "description": "Does not grant access after Sep
1354
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1355
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1356
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
1357
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1358
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1359
- # roles/resourcemanager.organizationViewer condition: title: expirable access
1360
- # description: Does not grant access after Sep 2020 expression: request.time <
1361
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1362
- # description of IAM and its features, see the [IAM documentation](https://cloud.
1363
- # google.com/iam/docs/).
1350
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
1351
+ # Principals can be user accounts, service accounts, Google groups, and domains (
1352
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
1353
+ # an IAM predefined role or a user-created custom role. For some types of Google
1354
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
1355
+ # logical expression that allows access to a resource only if the expression
1356
+ # evaluates to `true`. A condition can add constraints based on attributes of
1357
+ # the request, the resource, or both. To learn which resources support
1358
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1359
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1360
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1361
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1362
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1363
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1364
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
1365
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1366
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1367
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
1368
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1369
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1370
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1371
+ # access description: Does not grant access after Sep 2020 expression: request.
1372
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1373
+ # a description of IAM and its features, see the [IAM documentation](https://
1374
+ # cloud.google.com/iam/docs/).
1364
1375
  # Corresponds to the JSON property `policy`
1365
1376
  # @return [Google::Apis::DatamigrationV1::Policy]
1366
1377
  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.5.0"
19
+ GEM_VERSION = "0.9.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210506"
25
+ REVISION = "20211201"
26
26
  end
27
27
  end
28
28
  end
@@ -323,6 +323,7 @@ module Google
323
323
  class Representation < Google::Apis::Core::JsonRepresentation
324
324
  property :activation_policy, as: 'activationPolicy'
325
325
  property :auto_storage_increase, as: 'autoStorageIncrease'
326
+ property :cmek_key_name, as: 'cmekKeyName'
326
327
  property :collation, as: 'collation'
327
328
  property :data_disk_size_gb, :numeric_string => true, as: 'dataDiskSizeGb'
328
329
  property :data_disk_type, as: 'dataDiskType'
@@ -243,13 +243,16 @@ module Google
243
243
  # REQUIRED: The resource for which the policy is being requested. See the
244
244
  # operation documentation for the appropriate value for this field.
245
245
  # @param [Fixnum] options_requested_policy_version
246
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
247
- # 3. Requests specifying an invalid value will be rejected. Requests for
248
- # policies with any conditional bindings must specify version 3. Policies
249
- # without any conditional bindings may specify any valid value or leave the
250
- # field unset. To learn which resources support conditions in their IAM policies,
251
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
252
- # resource-policies).
246
+ # Optional. The maximum policy version that will be used to format the policy.
247
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
248
+ # rejected. Requests for policies with any conditional role bindings must
249
+ # specify version 3. Policies with no conditional role bindings may specify any
250
+ # valid value or leave the field unset. The policy in the response might use the
251
+ # policy version that you specified, or it might use a lower policy version. For
252
+ # example, if you specify version 3, but the policy has no conditional role
253
+ # bindings, the response uses version 1. To learn which resources support
254
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
255
+ # google.com/iam/help/conditions/resource-policies).
253
256
  # @param [String] fields
254
257
  # Selector specifying which fields to include in a partial response.
255
258
  # @param [String] quota_user
@@ -335,7 +338,7 @@ module Google
335
338
  # Update the configuration of a single connection profile.
336
339
  # @param [String] name
337
340
  # The name of this connection profile resource in the form of projects/`project`/
338
- # locations/`location`/connectionProfiles/`instance`.
341
+ # locations/`location`/connectionProfiles/`connectionProfile`.
339
342
  # @param [Google::Apis::DatamigrationV1::ConnectionProfile] connection_profile_object
340
343
  # @param [String] request_id
341
344
  # A unique id used to identify the request. If the server receives two requests
@@ -605,13 +608,16 @@ module Google
605
608
  # REQUIRED: The resource for which the policy is being requested. See the
606
609
  # operation documentation for the appropriate value for this field.
607
610
  # @param [Fixnum] options_requested_policy_version
608
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
609
- # 3. Requests specifying an invalid value will be rejected. Requests for
610
- # policies with any conditional bindings must specify version 3. Policies
611
- # without any conditional bindings may specify any valid value or leave the
612
- # field unset. To learn which resources support conditions in their IAM policies,
613
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
614
- # resource-policies).
611
+ # Optional. The maximum policy version that will be used to format the policy.
612
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
613
+ # rejected. Requests for policies with any conditional role bindings must
614
+ # specify version 3. Policies with no conditional role bindings may specify any
615
+ # valid value or leave the field unset. The policy in the response might use the
616
+ # policy version that you specified, or it might use a lower policy version. For
617
+ # example, if you specify version 3, but the policy has no conditional role
618
+ # bindings, the response uses version 1. To learn which resources support
619
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
620
+ # google.com/iam/help/conditions/resource-policies).
615
621
  # @param [String] fields
616
622
  # Selector specifying which fields to include in a partial response.
617
623
  # @param [String] quota_user
@@ -698,7 +704,7 @@ module Google
698
704
  # Updates the parameters of a single migration job.
699
705
  # @param [String] name
700
706
  # The name (URI) of this migration job resource, in the form of: projects/`
701
- # project`/locations/`location`/instances/`instance`.
707
+ # project`/locations/`location`/migrationJobs/`migrationJob`.
702
708
  # @param [Google::Apis::DatamigrationV1::MigrationJob] migration_job_object
703
709
  # @param [String] request_id
704
710
  # A unique id used to identify the request. If the server receives two requests
@@ -29,7 +29,7 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1'
31
31
 
32
- # See, edit, configure, and delete your Google Cloud Platform data
32
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
34
  end
35
35
  end
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.5.0
4
+ version: 0.9.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: 2021-07-05 00:00:00.000000000 Z
11
+ date: 2021-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-datamigration_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-datamigration_v1/v0.5.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-datamigration_v1
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.9.0
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: []
65
65
  require_paths: