google-apis-datamigration_v1 0.59.0 → 0.61.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: a3dc54771bf3f05fdb00d0648300ef6b1ab80e758ad8f83ddce0d40ca0333986
4
- data.tar.gz: c977e56145bc6015cc79b9b23306aa99101c293a445b1253a76c71d8e0460481
3
+ metadata.gz: 5d4ad13fc85946bd168e0a6858df48c4773d2aa22b56b814f03556be76e1ebad
4
+ data.tar.gz: 17d25f55e733d94386167454cc577282b7324c7507a38e902ff99d2e9f25300e
5
5
  SHA512:
6
- metadata.gz: 160988737e0d9fcc2cd95d83d2fbf61eafef106248f37e48086b5d42230cf40c53bdd1d57455c8bce914f8288f0e8400f0fba01048adfab3a197e1a2667ac030
7
- data.tar.gz: 10c3eea0c06eca61eaf1b9dc038e7737d0446a7321ee9b31caf9cdda523e82922d12b6675727eb60c1313221afba4db942ed6751cdaba715379829a6911c2e31
6
+ metadata.gz: f8cec0974ef69b35a5d3ae2b6739a94097b2a0cb08d924dbfa95ddfb71cd131a20c781fceb3d9ad4738ef5c42f029a2a613518078aa6dfdaaf8e278341ac16f0
7
+ data.tar.gz: dc8c0a2b60260578a64482db487a550388c9955db638df8dd21788edb530d4d0493db7dae4674527b97667ce1d92168e9eac880a3701e3351defef13a9a81151
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-datamigration_v1
2
2
 
3
+ ### v0.61.0 (2024-09-22)
4
+
5
+ * Regenerated from discovery document revision 20240914
6
+
7
+ ### v0.60.0 (2024-08-18)
8
+
9
+ * Regenerated from discovery document revision 20240812
10
+
3
11
  ### v0.59.0 (2024-08-04)
4
12
 
5
13
  * Regenerated from discovery document revision 20240721
@@ -286,6 +286,25 @@ module Google
286
286
  end
287
287
  end
288
288
 
289
+ # AuthorizedNetwork contains metadata for an authorized network.
290
+ class AuthorizedNetwork
291
+ include Google::Apis::Core::Hashable
292
+
293
+ # Optional. CIDR range for one authorzied network of the instance.
294
+ # Corresponds to the JSON property `cidrRange`
295
+ # @return [String]
296
+ attr_accessor :cidr_range
297
+
298
+ def initialize(**args)
299
+ update!(**args)
300
+ end
301
+
302
+ # Update properties of this object
303
+ def update!(**args)
304
+ @cidr_range = args[:cidr_range] if args.key?(:cidr_range)
305
+ end
306
+ end
307
+
289
308
  # Execution log of a background job.
290
309
  class BackgroundJobLogEntry
291
310
  include Google::Apis::Core::Hashable
@@ -597,11 +616,17 @@ module Google
597
616
  # @return [Hash<String,String>]
598
617
  attr_accessor :database_flags
599
618
 
600
- # The database engine type and version.
619
+ # The database engine type and version. Deprecated. Use database_version_name
620
+ # instead.
601
621
  # Corresponds to the JSON property `databaseVersion`
602
622
  # @return [String]
603
623
  attr_accessor :database_version
604
624
 
625
+ # Optional. The database engine type and version name.
626
+ # Corresponds to the JSON property `databaseVersionName`
627
+ # @return [String]
628
+ attr_accessor :database_version_name
629
+
605
630
  # Optional. The edition of the given Cloud SQL instance.
606
631
  # Corresponds to the JSON property `edition`
607
632
  # @return [String]
@@ -681,6 +706,7 @@ module Google
681
706
  @data_disk_type = args[:data_disk_type] if args.key?(:data_disk_type)
682
707
  @database_flags = args[:database_flags] if args.key?(:database_flags)
683
708
  @database_version = args[:database_version] if args.key?(:database_version)
709
+ @database_version_name = args[:database_version_name] if args.key?(:database_version_name)
684
710
  @edition = args[:edition] if args.key?(:edition)
685
711
  @ip_config = args[:ip_config] if args.key?(:ip_config)
686
712
  @root_password = args[:root_password] if args.key?(:root_password)
@@ -2268,6 +2294,40 @@ module Google
2268
2294
  end
2269
2295
  end
2270
2296
 
2297
+ # Metadata related to instance level network configuration.
2298
+ class InstanceNetworkConfig
2299
+ include Google::Apis::Core::Hashable
2300
+
2301
+ # Optional. A list of external network authorized to access this instance.
2302
+ # Corresponds to the JSON property `authorizedExternalNetworks`
2303
+ # @return [Array<Google::Apis::DatamigrationV1::AuthorizedNetwork>]
2304
+ attr_accessor :authorized_external_networks
2305
+
2306
+ # Optional. Enabling an outbound public IP address to support a database server
2307
+ # sending requests out into the internet.
2308
+ # Corresponds to the JSON property `enableOutboundPublicIp`
2309
+ # @return [Boolean]
2310
+ attr_accessor :enable_outbound_public_ip
2311
+ alias_method :enable_outbound_public_ip?, :enable_outbound_public_ip
2312
+
2313
+ # Optional. Enabling public ip for the instance.
2314
+ # Corresponds to the JSON property `enablePublicIp`
2315
+ # @return [Boolean]
2316
+ attr_accessor :enable_public_ip
2317
+ alias_method :enable_public_ip?, :enable_public_ip
2318
+
2319
+ def initialize(**args)
2320
+ update!(**args)
2321
+ end
2322
+
2323
+ # Update properties of this object
2324
+ def update!(**args)
2325
+ @authorized_external_networks = args[:authorized_external_networks] if args.key?(:authorized_external_networks)
2326
+ @enable_outbound_public_ip = args[:enable_outbound_public_ip] if args.key?(:enable_outbound_public_ip)
2327
+ @enable_public_ip = args[:enable_public_ip] if args.key?(:enable_public_ip)
2328
+ end
2329
+ end
2330
+
2271
2331
  # Filter based on relation between source value and compare value of type
2272
2332
  # integer in ConditionalColumnSetValue
2273
2333
  class IntComparisonFilter
@@ -3287,6 +3347,62 @@ module Google
3287
3347
  end
3288
3348
  end
3289
3349
 
3350
+ # Configuration for Oracle Automatic Storage Management (ASM) connection.
3351
+ class OracleAsmConfig
3352
+ include Google::Apis::Core::Hashable
3353
+
3354
+ # Required. ASM service name for the Oracle ASM connection.
3355
+ # Corresponds to the JSON property `asmService`
3356
+ # @return [String]
3357
+ attr_accessor :asm_service
3358
+
3359
+ # Required. Hostname for the Oracle ASM connection.
3360
+ # Corresponds to the JSON property `hostname`
3361
+ # @return [String]
3362
+ attr_accessor :hostname
3363
+
3364
+ # Required. Input only. Password for the Oracle ASM connection.
3365
+ # Corresponds to the JSON property `password`
3366
+ # @return [String]
3367
+ attr_accessor :password
3368
+
3369
+ # Output only. Indicates whether a new password is included in the request.
3370
+ # Corresponds to the JSON property `passwordSet`
3371
+ # @return [Boolean]
3372
+ attr_accessor :password_set
3373
+ alias_method :password_set?, :password_set
3374
+
3375
+ # Required. Port for the Oracle ASM connection.
3376
+ # Corresponds to the JSON property `port`
3377
+ # @return [Fixnum]
3378
+ attr_accessor :port
3379
+
3380
+ # SSL configuration information.
3381
+ # Corresponds to the JSON property `ssl`
3382
+ # @return [Google::Apis::DatamigrationV1::SslConfig]
3383
+ attr_accessor :ssl
3384
+
3385
+ # Required. Username for the Oracle ASM connection.
3386
+ # Corresponds to the JSON property `username`
3387
+ # @return [String]
3388
+ attr_accessor :username
3389
+
3390
+ def initialize(**args)
3391
+ update!(**args)
3392
+ end
3393
+
3394
+ # Update properties of this object
3395
+ def update!(**args)
3396
+ @asm_service = args[:asm_service] if args.key?(:asm_service)
3397
+ @hostname = args[:hostname] if args.key?(:hostname)
3398
+ @password = args[:password] if args.key?(:password)
3399
+ @password_set = args[:password_set] if args.key?(:password_set)
3400
+ @port = args[:port] if args.key?(:port)
3401
+ @ssl = args[:ssl] if args.key?(:ssl)
3402
+ @username = args[:username] if args.key?(:username)
3403
+ end
3404
+ end
3405
+
3290
3406
  # Specifies connection parameters required specifically for Oracle databases.
3291
3407
  class OracleConnectionProfile
3292
3408
  include Google::Apis::Core::Hashable
@@ -3306,6 +3422,11 @@ module Google
3306
3422
  # @return [String]
3307
3423
  attr_accessor :host
3308
3424
 
3425
+ # Configuration for Oracle Automatic Storage Management (ASM) connection.
3426
+ # Corresponds to the JSON property `oracleAsmConfig`
3427
+ # @return [Google::Apis::DatamigrationV1::OracleAsmConfig]
3428
+ attr_accessor :oracle_asm_config
3429
+
3309
3430
  # Required. Input only. The password for the user that Database Migration
3310
3431
  # Service will be using to connect to the database. This field is not returned
3311
3432
  # on request, and the value is encrypted when stored in Database Migration
@@ -3355,6 +3476,7 @@ module Google
3355
3476
  @database_service = args[:database_service] if args.key?(:database_service)
3356
3477
  @forward_ssh_connectivity = args[:forward_ssh_connectivity] if args.key?(:forward_ssh_connectivity)
3357
3478
  @host = args[:host] if args.key?(:host)
3479
+ @oracle_asm_config = args[:oracle_asm_config] if args.key?(:oracle_asm_config)
3358
3480
  @password = args[:password] if args.key?(:password)
3359
3481
  @password_set = args[:password_set] if args.key?(:password_set)
3360
3482
  @port = args[:port] if args.key?(:port)
@@ -3655,6 +3777,11 @@ module Google
3655
3777
  # @return [String]
3656
3778
  attr_accessor :id
3657
3779
 
3780
+ # Metadata related to instance level network configuration.
3781
+ # Corresponds to the JSON property `instanceNetworkConfig`
3782
+ # @return [Google::Apis::DatamigrationV1::InstanceNetworkConfig]
3783
+ attr_accessor :instance_network_config
3784
+
3658
3785
  # Labels for the AlloyDB primary instance created by DMS. An object containing a
3659
3786
  # list of 'key', 'value' pairs.
3660
3787
  # Corresponds to the JSON property `labels`
@@ -3666,6 +3793,11 @@ module Google
3666
3793
  # @return [Google::Apis::DatamigrationV1::MachineConfig]
3667
3794
  attr_accessor :machine_config
3668
3795
 
3796
+ # Output only. All outbound public IP addresses configured for the instance.
3797
+ # Corresponds to the JSON property `outboundPublicIpAddresses`
3798
+ # @return [Array<String>]
3799
+ attr_accessor :outbound_public_ip_addresses
3800
+
3669
3801
  # Output only. The private IP address for the Instance. This is the connection
3670
3802
  # endpoint for an end-user application.
3671
3803
  # Corresponds to the JSON property `privateIp`
@@ -3680,8 +3812,10 @@ module Google
3680
3812
  def update!(**args)
3681
3813
  @database_flags = args[:database_flags] if args.key?(:database_flags)
3682
3814
  @id = args[:id] if args.key?(:id)
3815
+ @instance_network_config = args[:instance_network_config] if args.key?(:instance_network_config)
3683
3816
  @labels = args[:labels] if args.key?(:labels)
3684
3817
  @machine_config = args[:machine_config] if args.key?(:machine_config)
3818
+ @outbound_public_ip_addresses = args[:outbound_public_ip_addresses] if args.key?(:outbound_public_ip_addresses)
3685
3819
  @private_ip = args[:private_ip] if args.key?(:private_ip)
3686
3820
  end
3687
3821
  end
@@ -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.59.0"
19
+ GEM_VERSION = "0.61.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240721"
25
+ REVISION = "20240914"
26
26
  end
27
27
  end
28
28
  end
@@ -70,6 +70,12 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
+ class AuthorizedNetwork
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
73
79
  class BackgroundJobLogEntry
74
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
81
 
@@ -334,6 +340,12 @@ module Google
334
340
  include Google::Apis::Core::JsonObjectSupport
335
341
  end
336
342
 
343
+ class InstanceNetworkConfig
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
337
349
  class IntComparisonFilter
338
350
  class Representation < Google::Apis::Core::JsonRepresentation; end
339
351
 
@@ -448,6 +460,12 @@ module Google
448
460
  include Google::Apis::Core::JsonObjectSupport
449
461
  end
450
462
 
463
+ class OracleAsmConfig
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
451
469
  class OracleConnectionProfile
452
470
  class Representation < Google::Apis::Core::JsonRepresentation; end
453
471
 
@@ -888,6 +906,13 @@ module Google
888
906
  end
889
907
  end
890
908
 
909
+ class AuthorizedNetwork
910
+ # @private
911
+ class Representation < Google::Apis::Core::JsonRepresentation
912
+ property :cidr_range, as: 'cidrRange'
913
+ end
914
+ end
915
+
891
916
  class BackgroundJobLogEntry
892
917
  # @private
893
918
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -951,6 +976,7 @@ module Google
951
976
  property :data_disk_type, as: 'dataDiskType'
952
977
  hash :database_flags, as: 'databaseFlags'
953
978
  property :database_version, as: 'databaseVersion'
979
+ property :database_version_name, as: 'databaseVersionName'
954
980
  property :edition, as: 'edition'
955
981
  property :ip_config, as: 'ipConfig', class: Google::Apis::DatamigrationV1::SqlIpConfig, decorator: Google::Apis::DatamigrationV1::SqlIpConfig::Representation
956
982
 
@@ -1390,6 +1416,16 @@ module Google
1390
1416
  end
1391
1417
  end
1392
1418
 
1419
+ class InstanceNetworkConfig
1420
+ # @private
1421
+ class Representation < Google::Apis::Core::JsonRepresentation
1422
+ collection :authorized_external_networks, as: 'authorizedExternalNetworks', class: Google::Apis::DatamigrationV1::AuthorizedNetwork, decorator: Google::Apis::DatamigrationV1::AuthorizedNetwork::Representation
1423
+
1424
+ property :enable_outbound_public_ip, as: 'enableOutboundPublicIp'
1425
+ property :enable_public_ip, as: 'enablePublicIp'
1426
+ end
1427
+ end
1428
+
1393
1429
  class IntComparisonFilter
1394
1430
  # @private
1395
1431
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1641,6 +1677,20 @@ module Google
1641
1677
  end
1642
1678
  end
1643
1679
 
1680
+ class OracleAsmConfig
1681
+ # @private
1682
+ class Representation < Google::Apis::Core::JsonRepresentation
1683
+ property :asm_service, as: 'asmService'
1684
+ property :hostname, as: 'hostname'
1685
+ property :password, as: 'password'
1686
+ property :password_set, as: 'passwordSet'
1687
+ property :port, as: 'port'
1688
+ property :ssl, as: 'ssl', class: Google::Apis::DatamigrationV1::SslConfig, decorator: Google::Apis::DatamigrationV1::SslConfig::Representation
1689
+
1690
+ property :username, as: 'username'
1691
+ end
1692
+ end
1693
+
1644
1694
  class OracleConnectionProfile
1645
1695
  # @private
1646
1696
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1648,6 +1698,8 @@ module Google
1648
1698
  property :forward_ssh_connectivity, as: 'forwardSshConnectivity', class: Google::Apis::DatamigrationV1::ForwardSshTunnelConnectivity, decorator: Google::Apis::DatamigrationV1::ForwardSshTunnelConnectivity::Representation
1649
1699
 
1650
1700
  property :host, as: 'host'
1701
+ property :oracle_asm_config, as: 'oracleAsmConfig', class: Google::Apis::DatamigrationV1::OracleAsmConfig, decorator: Google::Apis::DatamigrationV1::OracleAsmConfig::Representation
1702
+
1651
1703
  property :password, as: 'password'
1652
1704
  property :password_set, as: 'passwordSet'
1653
1705
  property :port, as: 'port'
@@ -1724,9 +1776,12 @@ module Google
1724
1776
  class Representation < Google::Apis::Core::JsonRepresentation
1725
1777
  hash :database_flags, as: 'databaseFlags'
1726
1778
  property :id, as: 'id'
1779
+ property :instance_network_config, as: 'instanceNetworkConfig', class: Google::Apis::DatamigrationV1::InstanceNetworkConfig, decorator: Google::Apis::DatamigrationV1::InstanceNetworkConfig::Representation
1780
+
1727
1781
  hash :labels, as: 'labels'
1728
1782
  property :machine_config, as: 'machineConfig', class: Google::Apis::DatamigrationV1::MachineConfig, decorator: Google::Apis::DatamigrationV1::MachineConfig::Representation
1729
1783
 
1784
+ collection :outbound_public_ip_addresses, as: 'outboundPublicIpAddresses'
1730
1785
  property :private_ip, as: 'privateIp'
1731
1786
  end
1732
1787
  end
@@ -1991,6 +1991,127 @@ module Google
1991
1991
  execute_or_queue_command(command, &block)
1992
1992
  end
1993
1993
 
1994
+ # Gets the access control policy for a resource. Returns an empty policy if the
1995
+ # resource exists and does not have a policy set.
1996
+ # @param [String] resource
1997
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
1998
+ # names](https://cloud.google.com/apis/design/resource_names) for the
1999
+ # appropriate value for this field.
2000
+ # @param [Fixnum] options_requested_policy_version
2001
+ # Optional. The maximum policy version that will be used to format the policy.
2002
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
2003
+ # rejected. Requests for policies with any conditional role bindings must
2004
+ # specify version 3. Policies with no conditional role bindings may specify any
2005
+ # valid value or leave the field unset. The policy in the response might use the
2006
+ # policy version that you specified, or it might use a lower policy version. For
2007
+ # example, if you specify version 3, but the policy has no conditional role
2008
+ # bindings, the response uses version 1. To learn which resources support
2009
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
2010
+ # google.com/iam/help/conditions/resource-policies).
2011
+ # @param [String] fields
2012
+ # Selector specifying which fields to include in a partial response.
2013
+ # @param [String] quota_user
2014
+ # Available to use for quota purposes for server-side applications. Can be any
2015
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2016
+ # @param [Google::Apis::RequestOptions] options
2017
+ # Request-specific options
2018
+ #
2019
+ # @yield [result, err] Result & error if block supplied
2020
+ # @yieldparam result [Google::Apis::DatamigrationV1::Policy] parsed result object
2021
+ # @yieldparam err [StandardError] error object if request failed
2022
+ #
2023
+ # @return [Google::Apis::DatamigrationV1::Policy]
2024
+ #
2025
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2026
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2027
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2028
+ def get_project_location_migration_job_object_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
2029
+ command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
2030
+ command.response_representation = Google::Apis::DatamigrationV1::Policy::Representation
2031
+ command.response_class = Google::Apis::DatamigrationV1::Policy
2032
+ command.params['resource'] = resource unless resource.nil?
2033
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
2034
+ command.query['fields'] = fields unless fields.nil?
2035
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2036
+ execute_or_queue_command(command, &block)
2037
+ end
2038
+
2039
+ # Sets the access control policy on the specified resource. Replaces any
2040
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
2041
+ # PERMISSION_DENIED` errors.
2042
+ # @param [String] resource
2043
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
2044
+ # names](https://cloud.google.com/apis/design/resource_names) for the
2045
+ # appropriate value for this field.
2046
+ # @param [Google::Apis::DatamigrationV1::SetIamPolicyRequest] set_iam_policy_request_object
2047
+ # @param [String] fields
2048
+ # Selector specifying which fields to include in a partial response.
2049
+ # @param [String] quota_user
2050
+ # Available to use for quota purposes for server-side applications. Can be any
2051
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2052
+ # @param [Google::Apis::RequestOptions] options
2053
+ # Request-specific options
2054
+ #
2055
+ # @yield [result, err] Result & error if block supplied
2056
+ # @yieldparam result [Google::Apis::DatamigrationV1::Policy] parsed result object
2057
+ # @yieldparam err [StandardError] error object if request failed
2058
+ #
2059
+ # @return [Google::Apis::DatamigrationV1::Policy]
2060
+ #
2061
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2062
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2063
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2064
+ def set_object_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2065
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
2066
+ command.request_representation = Google::Apis::DatamigrationV1::SetIamPolicyRequest::Representation
2067
+ command.request_object = set_iam_policy_request_object
2068
+ command.response_representation = Google::Apis::DatamigrationV1::Policy::Representation
2069
+ command.response_class = Google::Apis::DatamigrationV1::Policy
2070
+ command.params['resource'] = resource unless resource.nil?
2071
+ command.query['fields'] = fields unless fields.nil?
2072
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2073
+ execute_or_queue_command(command, &block)
2074
+ end
2075
+
2076
+ # Returns permissions that a caller has on the specified resource. If the
2077
+ # resource does not exist, this will return an empty set of permissions, not a `
2078
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
2079
+ # permission-aware UIs and command-line tools, not for authorization checking.
2080
+ # This operation may "fail open" without warning.
2081
+ # @param [String] resource
2082
+ # REQUIRED: The resource for which the policy detail is being requested. See [
2083
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
2084
+ # appropriate value for this field.
2085
+ # @param [Google::Apis::DatamigrationV1::TestIamPermissionsRequest] test_iam_permissions_request_object
2086
+ # @param [String] fields
2087
+ # Selector specifying which fields to include in a partial response.
2088
+ # @param [String] quota_user
2089
+ # Available to use for quota purposes for server-side applications. Can be any
2090
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2091
+ # @param [Google::Apis::RequestOptions] options
2092
+ # Request-specific options
2093
+ #
2094
+ # @yield [result, err] Result & error if block supplied
2095
+ # @yieldparam result [Google::Apis::DatamigrationV1::TestIamPermissionsResponse] parsed result object
2096
+ # @yieldparam err [StandardError] error object if request failed
2097
+ #
2098
+ # @return [Google::Apis::DatamigrationV1::TestIamPermissionsResponse]
2099
+ #
2100
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2101
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2102
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2103
+ def test_object_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2104
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
2105
+ command.request_representation = Google::Apis::DatamigrationV1::TestIamPermissionsRequest::Representation
2106
+ command.request_object = test_iam_permissions_request_object
2107
+ command.response_representation = Google::Apis::DatamigrationV1::TestIamPermissionsResponse::Representation
2108
+ command.response_class = Google::Apis::DatamigrationV1::TestIamPermissionsResponse
2109
+ command.params['resource'] = resource unless resource.nil?
2110
+ command.query['fields'] = fields unless fields.nil?
2111
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2112
+ execute_or_queue_command(command, &block)
2113
+ end
2114
+
1994
2115
  # Starts asynchronous cancellation on a long-running operation. The server makes
1995
2116
  # a best effort to cancel the operation, but success is not guaranteed. If the
1996
2117
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
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.59.0
4
+ version: 0.61.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: 2024-08-04 00:00:00.000000000 Z
11
+ date: 2024-09-22 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.59.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datamigration_v1/v0.61.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: []