google-apis-datamigration_v1beta1 0.38.0 → 0.39.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: 7808fc719315aa54b82e09400f66af4c889e6b99edc49176a73de03e88d743cf
4
- data.tar.gz: 6df0e892e2ff70ff1af3eec848253b66d9099d72f1707431bcc79f98fa55c764
3
+ metadata.gz: ed53a3563df9eedb59713040600fe1d6080197606a8ca0789bb3ba0d685c6df2
4
+ data.tar.gz: 560951ebf7313a99a4b9dc166d84dba8e2069966f31de815d998c69897df2203
5
5
  SHA512:
6
- metadata.gz: 59717fe2e5aee998be4c963d9f47c57880247a61a9a270835dc7d45ca6a624d88a3f96f6ba2b9de329f5357af756e8fee2ccc33c81331d530bed7bb241596544
7
- data.tar.gz: 2ff9844c9fcbd4c1fc97ec1f0c42e75ab830af9756eda287dad5297b944f2fe0441b04560cc6cc109201cf0acc1364315618019e995015928c1be1972e62934b
6
+ metadata.gz: 545b008b72d4c675de30ad22fb402a73f685c464a4155bee9de7f6166e1be0004d168e7ecbd738c2ac14204a20af232021f07818cc027dc746cef69a4ba31dea
7
+ data.tar.gz: 32268255e6ad98ba96f3ac6d507a1a3f798b5f5f97db243abffb104bfadd50221441601f6a4d025636011bc2ab2a4dfba4279c42de7c47f8dfe8c9964d13188b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-datamigration_v1beta1
2
2
 
3
+ ### v0.39.0 (2026-02-01)
4
+
5
+ * Regenerated from discovery document revision 20260121
6
+
3
7
  ### v0.38.0 (2025-12-07)
4
8
 
5
9
  * Regenerated from discovery document revision 20251201
@@ -93,6 +93,26 @@ module Google
93
93
  end
94
94
  end
95
95
 
96
+ # Describes violations in a client request. This error type focuses on the
97
+ # syntactic aspects of the request.
98
+ class BadRequest
99
+ include Google::Apis::Core::Hashable
100
+
101
+ # Describes all violations in a client request.
102
+ # Corresponds to the JSON property `fieldViolations`
103
+ # @return [Array<Google::Apis::DatamigrationV1beta1::FieldViolation>]
104
+ attr_accessor :field_violations
105
+
106
+ def initialize(**args)
107
+ update!(**args)
108
+ end
109
+
110
+ # Update properties of this object
111
+ def update!(**args)
112
+ @field_violations = args[:field_violations] if args.key?(:field_violations)
113
+ end
114
+ end
115
+
96
116
  # Associates `members`, or principals, with a `role`.
97
117
  class Binding
98
118
  include Google::Apis::Core::Hashable
@@ -477,6 +497,31 @@ module Google
477
497
  end
478
498
  end
479
499
 
500
+ # Describes additional debugging info.
501
+ class DebugInfo
502
+ include Google::Apis::Core::Hashable
503
+
504
+ # Additional debugging information provided by the server.
505
+ # Corresponds to the JSON property `detail`
506
+ # @return [String]
507
+ attr_accessor :detail
508
+
509
+ # The stack trace entries indicating where the error occurred.
510
+ # Corresponds to the JSON property `stackEntries`
511
+ # @return [Array<String>]
512
+ attr_accessor :stack_entries
513
+
514
+ def initialize(**args)
515
+ update!(**args)
516
+ end
517
+
518
+ # Update properties of this object
519
+ def update!(**args)
520
+ @detail = args[:detail] if args.key?(:detail)
521
+ @stack_entries = args[:stack_entries] if args.key?(:stack_entries)
522
+ end
523
+ end
524
+
480
525
  # A generic empty message that you can re-use to avoid defining duplicated empty
481
526
  # messages in your APIs. A typical example is to use it as the request or the
482
527
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -493,6 +538,58 @@ module Google
493
538
  end
494
539
  end
495
540
 
541
+ # Describes the cause of the error with structured details. Example of an error
542
+ # when contacting the "pubsub.googleapis.com" API when it is not enabled: ` "
543
+ # reason": "API_DISABLED" "domain": "googleapis.com" "metadata": ` "resource": "
544
+ # projects/123", "service": "pubsub.googleapis.com" ` ` This response indicates
545
+ # that the pubsub.googleapis.com API is not enabled. Example of an error that is
546
+ # returned when attempting to create a Spanner instance in a region that is out
547
+ # of stock: ` "reason": "STOCKOUT" "domain": "spanner.googleapis.com", "metadata"
548
+ # : ` "availableRegions": "us-central1,us-east2" ` `
549
+ class ErrorInfo
550
+ include Google::Apis::Core::Hashable
551
+
552
+ # The logical grouping to which the "reason" belongs. The error domain is
553
+ # typically the registered service name of the tool or product that generates
554
+ # the error. Example: "pubsub.googleapis.com". If the error is generated by some
555
+ # common infrastructure, the error domain must be a globally unique value that
556
+ # identifies the infrastructure. For Google API infrastructure, the error domain
557
+ # is "googleapis.com".
558
+ # Corresponds to the JSON property `domain`
559
+ # @return [String]
560
+ attr_accessor :domain
561
+
562
+ # Additional structured details about this error. Keys must match a regular
563
+ # expression of `a-z+` but should ideally be lowerCamelCase. Also, they must be
564
+ # limited to 64 characters in length. When identifying the current value of an
565
+ # exceeded limit, the units should be contained in the key, not the value. For
566
+ # example, rather than ``"instanceLimit": "100/request"``, should be returned as,
567
+ # ``"instanceLimitPerRequest": "100"``, if the client exceeds the number of
568
+ # instances that can be created in a single (batch) request.
569
+ # Corresponds to the JSON property `metadata`
570
+ # @return [Hash<String,String>]
571
+ attr_accessor :metadata
572
+
573
+ # The reason of the error. This is a constant value that identifies the
574
+ # proximate cause of the error. Error reasons are unique within a particular
575
+ # domain of errors. This should be at most 63 characters and match a regular
576
+ # expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.
577
+ # Corresponds to the JSON property `reason`
578
+ # @return [String]
579
+ attr_accessor :reason
580
+
581
+ def initialize(**args)
582
+ update!(**args)
583
+ end
584
+
585
+ # Update properties of this object
586
+ def update!(**args)
587
+ @domain = args[:domain] if args.key?(:domain)
588
+ @metadata = args[:metadata] if args.key?(:metadata)
589
+ @reason = args[:reason] if args.key?(:reason)
590
+ end
591
+ end
592
+
496
593
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
497
594
  # CEL is a C-like expression language. The syntax and semantics of CEL are
498
595
  # documented at https://github.com/google/cel-spec. Example (Comparison): title:
@@ -547,6 +644,61 @@ module Google
547
644
  end
548
645
  end
549
646
 
647
+ # A message type used to describe a single bad request field.
648
+ class FieldViolation
649
+ include Google::Apis::Core::Hashable
650
+
651
+ # A description of why the request element is bad.
652
+ # Corresponds to the JSON property `description`
653
+ # @return [String]
654
+ attr_accessor :description
655
+
656
+ # A path that leads to a field in the request body. The value will be a sequence
657
+ # of dot-separated identifiers that identify a protocol buffer field. Consider
658
+ # the following: message CreateContactRequest ` message EmailAddress ` enum Type
659
+ # ` TYPE_UNSPECIFIED = 0; HOME = 1; WORK = 2; ` optional string email = 1;
660
+ # repeated EmailType type = 2; ` string full_name = 1; repeated EmailAddress
661
+ # email_addresses = 2; ` In this example, in proto `field` could take one of the
662
+ # following values: * `full_name` for a violation in the `full_name` value * `
663
+ # email_addresses[1].email` for a violation in the `email` field of the first `
664
+ # email_addresses` message * `email_addresses[3].type[2]` for a violation in the
665
+ # second `type` value in the third `email_addresses` message. In JSON, the same
666
+ # values are represented as: * `fullName` for a violation in the `fullName`
667
+ # value * `emailAddresses[1].email` for a violation in the `email` field of the
668
+ # first `emailAddresses` message * `emailAddresses[3].type[2]` for a violation
669
+ # in the second `type` value in the third `emailAddresses` message.
670
+ # Corresponds to the JSON property `field`
671
+ # @return [String]
672
+ attr_accessor :field
673
+
674
+ # Provides a localized error message that is safe to return to the user which
675
+ # can be attached to an RPC error.
676
+ # Corresponds to the JSON property `localizedMessage`
677
+ # @return [Google::Apis::DatamigrationV1beta1::LocalizedMessage]
678
+ attr_accessor :localized_message
679
+
680
+ # The reason of the field-level error. This is a constant value that identifies
681
+ # the proximate cause of the field-level error. It should uniquely identify the
682
+ # type of the FieldViolation within the scope of the google.rpc.ErrorInfo.domain.
683
+ # This should be at most 63 characters and match a regular expression of `A-Z+[
684
+ # A-Z0-9]`, which represents UPPER_SNAKE_CASE.
685
+ # Corresponds to the JSON property `reason`
686
+ # @return [String]
687
+ attr_accessor :reason
688
+
689
+ def initialize(**args)
690
+ update!(**args)
691
+ end
692
+
693
+ # Update properties of this object
694
+ def update!(**args)
695
+ @description = args[:description] if args.key?(:description)
696
+ @field = args[:field] if args.key?(:field)
697
+ @localized_message = args[:localized_message] if args.key?(:localized_message)
698
+ @reason = args[:reason] if args.key?(:reason)
699
+ end
700
+ end
701
+
550
702
  # Request message for 'GenerateSshScript' request.
551
703
  class GenerateSshScriptRequest
552
704
  include Google::Apis::Core::Hashable
@@ -643,6 +795,53 @@ module Google
643
795
  end
644
796
  end
645
797
 
798
+ # Provides links to documentation or for performing an out of band action. For
799
+ # example, if a quota check failed with an error indicating the calling project
800
+ # hasn't enabled the accessed service, this can contain a URL pointing directly
801
+ # to the right place in the developer console to flip the bit.
802
+ class Help
803
+ include Google::Apis::Core::Hashable
804
+
805
+ # URL(s) pointing to additional information on handling the current error.
806
+ # Corresponds to the JSON property `links`
807
+ # @return [Array<Google::Apis::DatamigrationV1beta1::Link>]
808
+ attr_accessor :links
809
+
810
+ def initialize(**args)
811
+ update!(**args)
812
+ end
813
+
814
+ # Update properties of this object
815
+ def update!(**args)
816
+ @links = args[:links] if args.key?(:links)
817
+ end
818
+ end
819
+
820
+ # Describes a URL link.
821
+ class Link
822
+ include Google::Apis::Core::Hashable
823
+
824
+ # Describes what the link offers.
825
+ # Corresponds to the JSON property `description`
826
+ # @return [String]
827
+ attr_accessor :description
828
+
829
+ # The URL of the link.
830
+ # Corresponds to the JSON property `url`
831
+ # @return [String]
832
+ attr_accessor :url
833
+
834
+ def initialize(**args)
835
+ update!(**args)
836
+ end
837
+
838
+ # Update properties of this object
839
+ def update!(**args)
840
+ @description = args[:description] if args.key?(:description)
841
+ @url = args[:url] if args.key?(:url)
842
+ end
843
+ end
844
+
646
845
  # Response message for 'ListConnectionProfiles' request.
647
846
  class ListConnectionProfilesResponse
648
847
  include Google::Apis::Core::Hashable
@@ -766,6 +965,33 @@ module Google
766
965
  end
767
966
  end
768
967
 
968
+ # Provides a localized error message that is safe to return to the user which
969
+ # can be attached to an RPC error.
970
+ class LocalizedMessage
971
+ include Google::Apis::Core::Hashable
972
+
973
+ # The locale used following the specification defined at https://www.rfc-editor.
974
+ # org/rfc/bcp/bcp47.txt. Examples are: "en-US", "fr-CH", "es-MX"
975
+ # Corresponds to the JSON property `locale`
976
+ # @return [String]
977
+ attr_accessor :locale
978
+
979
+ # The localized error message in the above locale.
980
+ # Corresponds to the JSON property `message`
981
+ # @return [String]
982
+ attr_accessor :message
983
+
984
+ def initialize(**args)
985
+ update!(**args)
986
+ end
987
+
988
+ # Update properties of this object
989
+ def update!(**args)
990
+ @locale = args[:locale] if args.key?(:locale)
991
+ @message = args[:message] if args.key?(:message)
992
+ end
993
+ end
994
+
769
995
  # A resource that represents a Google Cloud location.
770
996
  class Location
771
997
  include Google::Apis::Core::Hashable
@@ -1215,6 +1441,64 @@ module Google
1215
1441
  end
1216
1442
  end
1217
1443
 
1444
+ # Describes what preconditions have failed. For example, if an RPC failed
1445
+ # because it required the Terms of Service to be acknowledged, it could list the
1446
+ # terms of service violation in the PreconditionFailure message.
1447
+ class PreconditionFailure
1448
+ include Google::Apis::Core::Hashable
1449
+
1450
+ # Describes all precondition violations.
1451
+ # Corresponds to the JSON property `violations`
1452
+ # @return [Array<Google::Apis::DatamigrationV1beta1::PreconditionFailureViolation>]
1453
+ attr_accessor :violations
1454
+
1455
+ def initialize(**args)
1456
+ update!(**args)
1457
+ end
1458
+
1459
+ # Update properties of this object
1460
+ def update!(**args)
1461
+ @violations = args[:violations] if args.key?(:violations)
1462
+ end
1463
+ end
1464
+
1465
+ # A message type used to describe a single precondition failure.
1466
+ class PreconditionFailureViolation
1467
+ include Google::Apis::Core::Hashable
1468
+
1469
+ # A description of how the precondition failed. Developers can use this
1470
+ # description to understand how to fix the failure. For example: "Terms of
1471
+ # service not accepted".
1472
+ # Corresponds to the JSON property `description`
1473
+ # @return [String]
1474
+ attr_accessor :description
1475
+
1476
+ # The subject, relative to the type, that failed. For example, "google.com/cloud"
1477
+ # relative to the "TOS" type would indicate which terms of service is being
1478
+ # referenced.
1479
+ # Corresponds to the JSON property `subject`
1480
+ # @return [String]
1481
+ attr_accessor :subject
1482
+
1483
+ # The type of PreconditionFailure. We recommend using a service-specific enum
1484
+ # type to define the supported precondition violation subjects. For example, "
1485
+ # TOS" for "Terms of Service violation".
1486
+ # Corresponds to the JSON property `type`
1487
+ # @return [String]
1488
+ attr_accessor :type
1489
+
1490
+ def initialize(**args)
1491
+ update!(**args)
1492
+ end
1493
+
1494
+ # Update properties of this object
1495
+ def update!(**args)
1496
+ @description = args[:description] if args.key?(:description)
1497
+ @subject = args[:subject] if args.key?(:subject)
1498
+ @type = args[:type] if args.key?(:type)
1499
+ end
1500
+ end
1501
+
1218
1502
  # Request message for 'PromoteMigrationJob' request.
1219
1503
  class PromoteMigrationJobRequest
1220
1504
  include Google::Apis::Core::Hashable
@@ -1228,6 +1512,198 @@ module Google
1228
1512
  end
1229
1513
  end
1230
1514
 
1515
+ # Describes how a quota check failed. For example if a daily limit was exceeded
1516
+ # for the calling project, a service could respond with a QuotaFailure detail
1517
+ # containing the project id and the description of the quota limit that was
1518
+ # exceeded. If the calling project hasn't enabled the service in the developer
1519
+ # console, then a service could respond with the project id and set `
1520
+ # service_disabled` to true. Also see RetryInfo and Help types for other details
1521
+ # about handling a quota failure.
1522
+ class QuotaFailure
1523
+ include Google::Apis::Core::Hashable
1524
+
1525
+ # Describes all quota violations.
1526
+ # Corresponds to the JSON property `violations`
1527
+ # @return [Array<Google::Apis::DatamigrationV1beta1::QuotaFailureViolation>]
1528
+ attr_accessor :violations
1529
+
1530
+ def initialize(**args)
1531
+ update!(**args)
1532
+ end
1533
+
1534
+ # Update properties of this object
1535
+ def update!(**args)
1536
+ @violations = args[:violations] if args.key?(:violations)
1537
+ end
1538
+ end
1539
+
1540
+ # A message type used to describe a single quota violation. For example, a daily
1541
+ # quota or a custom quota that was exceeded.
1542
+ class QuotaFailureViolation
1543
+ include Google::Apis::Core::Hashable
1544
+
1545
+ # The API Service from which the `QuotaFailure.Violation` orginates. In some
1546
+ # cases, Quota issues originate from an API Service other than the one that was
1547
+ # called. In other words, a dependency of the called API Service could be the
1548
+ # cause of the `QuotaFailure`, and this field would have the dependency API
1549
+ # service name. For example, if the called API is Kubernetes Engine API (
1550
+ # container.googleapis.com), and a quota violation occurs in the Kubernetes
1551
+ # Engine API itself, this field would be "container.googleapis.com". On the
1552
+ # other hand, if the quota violation occurs when the Kubernetes Engine API
1553
+ # creates VMs in the Compute Engine API (compute.googleapis.com), this field
1554
+ # would be "compute.googleapis.com".
1555
+ # Corresponds to the JSON property `apiService`
1556
+ # @return [String]
1557
+ attr_accessor :api_service
1558
+
1559
+ # A description of how the quota check failed. Clients can use this description
1560
+ # to find more about the quota configuration in the service's public
1561
+ # documentation, or find the relevant quota limit to adjust through developer
1562
+ # console. For example: "Service disabled" or "Daily Limit for read operations
1563
+ # exceeded".
1564
+ # Corresponds to the JSON property `description`
1565
+ # @return [String]
1566
+ attr_accessor :description
1567
+
1568
+ # The new quota value being rolled out at the time of the violation. At the
1569
+ # completion of the rollout, this value will be enforced in place of quota_value.
1570
+ # If no rollout is in progress at the time of the violation, this field is not
1571
+ # set. For example, if at the time of the violation a rollout is in progress
1572
+ # changing the number of CPUs quota from 10 to 20, 20 would be the value of this
1573
+ # field.
1574
+ # Corresponds to the JSON property `futureQuotaValue`
1575
+ # @return [Fixnum]
1576
+ attr_accessor :future_quota_value
1577
+
1578
+ # The dimensions of the violated quota. Every non-global quota is enforced on a
1579
+ # set of dimensions. While quota metric defines what to count, the dimensions
1580
+ # specify for what aspects the counter should be increased. For example, the
1581
+ # quota "CPUs per region per VM family" enforces a limit on the metric "compute.
1582
+ # googleapis.com/cpus_per_vm_family" on dimensions "region" and "vm_family". And
1583
+ # if the violation occurred in region "us-central1" and for VM family "n1", the
1584
+ # quota_dimensions would be, ` "region": "us-central1", "vm_family": "n1", `
1585
+ # When a quota is enforced globally, the quota_dimensions would always be empty.
1586
+ # Corresponds to the JSON property `quotaDimensions`
1587
+ # @return [Hash<String,String>]
1588
+ attr_accessor :quota_dimensions
1589
+
1590
+ # The id of the violated quota. Also know as "limit name", this is the unique
1591
+ # identifier of a quota in the context of an API service. For example, "CPUS-PER-
1592
+ # VM-FAMILY-per-project-region".
1593
+ # Corresponds to the JSON property `quotaId`
1594
+ # @return [String]
1595
+ attr_accessor :quota_id
1596
+
1597
+ # The metric of the violated quota. A quota metric is a named counter to measure
1598
+ # usage, such as API requests or CPUs. When an activity occurs in a service,
1599
+ # such as Virtual Machine allocation, one or more quota metrics may be affected.
1600
+ # For example, "compute.googleapis.com/cpus_per_vm_family", "storage.googleapis.
1601
+ # com/internet_egress_bandwidth".
1602
+ # Corresponds to the JSON property `quotaMetric`
1603
+ # @return [String]
1604
+ attr_accessor :quota_metric
1605
+
1606
+ # The enforced quota value at the time of the `QuotaFailure`. For example, if
1607
+ # the enforced quota value at the time of the `QuotaFailure` on the number of
1608
+ # CPUs is "10", then the value of this field would reflect this quantity.
1609
+ # Corresponds to the JSON property `quotaValue`
1610
+ # @return [Fixnum]
1611
+ attr_accessor :quota_value
1612
+
1613
+ # The subject on which the quota check failed. For example, "clientip:" or "
1614
+ # project:".
1615
+ # Corresponds to the JSON property `subject`
1616
+ # @return [String]
1617
+ attr_accessor :subject
1618
+
1619
+ def initialize(**args)
1620
+ update!(**args)
1621
+ end
1622
+
1623
+ # Update properties of this object
1624
+ def update!(**args)
1625
+ @api_service = args[:api_service] if args.key?(:api_service)
1626
+ @description = args[:description] if args.key?(:description)
1627
+ @future_quota_value = args[:future_quota_value] if args.key?(:future_quota_value)
1628
+ @quota_dimensions = args[:quota_dimensions] if args.key?(:quota_dimensions)
1629
+ @quota_id = args[:quota_id] if args.key?(:quota_id)
1630
+ @quota_metric = args[:quota_metric] if args.key?(:quota_metric)
1631
+ @quota_value = args[:quota_value] if args.key?(:quota_value)
1632
+ @subject = args[:subject] if args.key?(:subject)
1633
+ end
1634
+ end
1635
+
1636
+ # Contains metadata about the request that clients can attach when filing a bug
1637
+ # or providing other forms of feedback.
1638
+ class RequestInfo
1639
+ include Google::Apis::Core::Hashable
1640
+
1641
+ # An opaque string that should only be interpreted by the service generating it.
1642
+ # For example, it can be used to identify requests in the service's logs.
1643
+ # Corresponds to the JSON property `requestId`
1644
+ # @return [String]
1645
+ attr_accessor :request_id
1646
+
1647
+ # Any data that was used to serve this request. For example, an encrypted stack
1648
+ # trace that can be sent back to the service provider for debugging.
1649
+ # Corresponds to the JSON property `servingData`
1650
+ # @return [String]
1651
+ attr_accessor :serving_data
1652
+
1653
+ def initialize(**args)
1654
+ update!(**args)
1655
+ end
1656
+
1657
+ # Update properties of this object
1658
+ def update!(**args)
1659
+ @request_id = args[:request_id] if args.key?(:request_id)
1660
+ @serving_data = args[:serving_data] if args.key?(:serving_data)
1661
+ end
1662
+ end
1663
+
1664
+ # Describes the resource that is being accessed.
1665
+ class ResourceInfo
1666
+ include Google::Apis::Core::Hashable
1667
+
1668
+ # Describes what error is encountered when accessing this resource. For example,
1669
+ # updating a cloud project may require the `writer` permission on the developer
1670
+ # console project.
1671
+ # Corresponds to the JSON property `description`
1672
+ # @return [String]
1673
+ attr_accessor :description
1674
+
1675
+ # The owner of the resource (optional). For example, "user:" or "project:".
1676
+ # Corresponds to the JSON property `owner`
1677
+ # @return [String]
1678
+ attr_accessor :owner
1679
+
1680
+ # The name of the resource being accessed. For example, a shared calendar name: "
1681
+ # example.com_4fghdhgsrgh@group.calendar.google.com", if the current error is
1682
+ # google.rpc.Code.PERMISSION_DENIED.
1683
+ # Corresponds to the JSON property `resourceName`
1684
+ # @return [String]
1685
+ attr_accessor :resource_name
1686
+
1687
+ # A name for the type of resource being accessed, e.g. "sql table", "cloud
1688
+ # storage bucket", "file", "Google calendar"; or the type URL of the resource: e.
1689
+ # g. "type.googleapis.com/google.pubsub.v1.Topic".
1690
+ # Corresponds to the JSON property `resourceType`
1691
+ # @return [String]
1692
+ attr_accessor :resource_type
1693
+
1694
+ def initialize(**args)
1695
+ update!(**args)
1696
+ end
1697
+
1698
+ # Update properties of this object
1699
+ def update!(**args)
1700
+ @description = args[:description] if args.key?(:description)
1701
+ @owner = args[:owner] if args.key?(:owner)
1702
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
1703
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
1704
+ end
1705
+ end
1706
+
1231
1707
  # Request message for 'RestartMigrationJob' request.
1232
1708
  class RestartMigrationJobRequest
1233
1709
  include Google::Apis::Core::Hashable
@@ -1254,6 +1730,33 @@ module Google
1254
1730
  end
1255
1731
  end
1256
1732
 
1733
+ # Describes when the clients can retry a failed request. Clients could ignore
1734
+ # the recommendation here or retry when this information is missing from error
1735
+ # responses. It's always recommended that clients should use exponential backoff
1736
+ # when retrying. Clients should wait until `retry_delay` amount of time has
1737
+ # passed since receiving the error response before retrying. If retrying
1738
+ # requests also fail, clients should use an exponential backoff scheme to
1739
+ # gradually increase the delay between retries based on `retry_delay`, until
1740
+ # either a maximum number of retries have been reached or a maximum retry delay
1741
+ # cap has been reached.
1742
+ class RetryInfo
1743
+ include Google::Apis::Core::Hashable
1744
+
1745
+ # Clients should wait at least this long between retrying the same request.
1746
+ # Corresponds to the JSON property `retryDelay`
1747
+ # @return [String]
1748
+ attr_accessor :retry_delay
1749
+
1750
+ def initialize(**args)
1751
+ update!(**args)
1752
+ end
1753
+
1754
+ # Update properties of this object
1755
+ def update!(**args)
1756
+ @retry_delay = args[:retry_delay] if args.key?(:retry_delay)
1757
+ end
1758
+ end
1759
+
1257
1760
  # The details needed to configure a reverse SSH tunnel between the source and
1258
1761
  # destination databases. These details will be used when calling the
1259
1762
  # generateSshScript method (see https://cloud.google.com/database-migration/docs/
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DatamigrationV1beta1
18
18
  # Version of the google-apis-datamigration_v1beta1 gem
19
- GEM_VERSION = "0.38.0"
19
+ GEM_VERSION = "0.39.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 = "20251201"
25
+ REVISION = "20260121"
26
26
  end
27
27
  end
28
28
  end
@@ -34,6 +34,12 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
+ class BadRequest
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
37
43
  class Binding
38
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
45
 
@@ -70,18 +76,36 @@ module Google
70
76
  include Google::Apis::Core::JsonObjectSupport
71
77
  end
72
78
 
79
+ class DebugInfo
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
73
85
  class Empty
74
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
87
 
76
88
  include Google::Apis::Core::JsonObjectSupport
77
89
  end
78
90
 
91
+ class ErrorInfo
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
79
97
  class Expr
80
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
99
 
82
100
  include Google::Apis::Core::JsonObjectSupport
83
101
  end
84
102
 
103
+ class FieldViolation
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
85
109
  class GenerateSshScriptRequest
86
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
111
 
@@ -94,6 +118,18 @@ module Google
94
118
  include Google::Apis::Core::JsonObjectSupport
95
119
  end
96
120
 
121
+ class Help
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class Link
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
97
133
  class ListConnectionProfilesResponse
98
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
135
 
@@ -118,6 +154,12 @@ module Google
118
154
  include Google::Apis::Core::JsonObjectSupport
119
155
  end
120
156
 
157
+ class LocalizedMessage
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
121
163
  class Location
122
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
165
 
@@ -154,12 +196,48 @@ module Google
154
196
  include Google::Apis::Core::JsonObjectSupport
155
197
  end
156
198
 
199
+ class PreconditionFailure
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class PreconditionFailureViolation
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
157
211
  class PromoteMigrationJobRequest
158
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
213
 
160
214
  include Google::Apis::Core::JsonObjectSupport
161
215
  end
162
216
 
217
+ class QuotaFailure
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class QuotaFailureViolation
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class RequestInfo
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class ResourceInfo
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
163
241
  class RestartMigrationJobRequest
164
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
243
 
@@ -172,6 +250,12 @@ module Google
172
250
  include Google::Apis::Core::JsonObjectSupport
173
251
  end
174
252
 
253
+ class RetryInfo
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
175
259
  class ReverseSshConnectivity
176
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
261
 
@@ -285,6 +369,14 @@ module Google
285
369
  end
286
370
  end
287
371
 
372
+ class BadRequest
373
+ # @private
374
+ class Representation < Google::Apis::Core::JsonRepresentation
375
+ collection :field_violations, as: 'fieldViolations', class: Google::Apis::DatamigrationV1beta1::FieldViolation, decorator: Google::Apis::DatamigrationV1beta1::FieldViolation::Representation
376
+
377
+ end
378
+ end
379
+
288
380
  class Binding
289
381
  # @private
290
382
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -360,12 +452,29 @@ module Google
360
452
  end
361
453
  end
362
454
 
455
+ class DebugInfo
456
+ # @private
457
+ class Representation < Google::Apis::Core::JsonRepresentation
458
+ property :detail, as: 'detail'
459
+ collection :stack_entries, as: 'stackEntries'
460
+ end
461
+ end
462
+
363
463
  class Empty
364
464
  # @private
365
465
  class Representation < Google::Apis::Core::JsonRepresentation
366
466
  end
367
467
  end
368
468
 
469
+ class ErrorInfo
470
+ # @private
471
+ class Representation < Google::Apis::Core::JsonRepresentation
472
+ property :domain, as: 'domain'
473
+ hash :metadata, as: 'metadata'
474
+ property :reason, as: 'reason'
475
+ end
476
+ end
477
+
369
478
  class Expr
370
479
  # @private
371
480
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -376,6 +485,17 @@ module Google
376
485
  end
377
486
  end
378
487
 
488
+ class FieldViolation
489
+ # @private
490
+ class Representation < Google::Apis::Core::JsonRepresentation
491
+ property :description, as: 'description'
492
+ property :field, as: 'field'
493
+ property :localized_message, as: 'localizedMessage', class: Google::Apis::DatamigrationV1beta1::LocalizedMessage, decorator: Google::Apis::DatamigrationV1beta1::LocalizedMessage::Representation
494
+
495
+ property :reason, as: 'reason'
496
+ end
497
+ end
498
+
379
499
  class GenerateSshScriptRequest
380
500
  # @private
381
501
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -401,6 +521,22 @@ module Google
401
521
  end
402
522
  end
403
523
 
524
+ class Help
525
+ # @private
526
+ class Representation < Google::Apis::Core::JsonRepresentation
527
+ collection :links, as: 'links', class: Google::Apis::DatamigrationV1beta1::Link, decorator: Google::Apis::DatamigrationV1beta1::Link::Representation
528
+
529
+ end
530
+ end
531
+
532
+ class Link
533
+ # @private
534
+ class Representation < Google::Apis::Core::JsonRepresentation
535
+ property :description, as: 'description'
536
+ property :url, as: 'url'
537
+ end
538
+ end
539
+
404
540
  class ListConnectionProfilesResponse
405
541
  # @private
406
542
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -440,6 +576,14 @@ module Google
440
576
  end
441
577
  end
442
578
 
579
+ class LocalizedMessage
580
+ # @private
581
+ class Representation < Google::Apis::Core::JsonRepresentation
582
+ property :locale, as: 'locale'
583
+ property :message, as: 'message'
584
+ end
585
+ end
586
+
443
587
  class Location
444
588
  # @private
445
589
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -529,12 +673,69 @@ module Google
529
673
  end
530
674
  end
531
675
 
676
+ class PreconditionFailure
677
+ # @private
678
+ class Representation < Google::Apis::Core::JsonRepresentation
679
+ collection :violations, as: 'violations', class: Google::Apis::DatamigrationV1beta1::PreconditionFailureViolation, decorator: Google::Apis::DatamigrationV1beta1::PreconditionFailureViolation::Representation
680
+
681
+ end
682
+ end
683
+
684
+ class PreconditionFailureViolation
685
+ # @private
686
+ class Representation < Google::Apis::Core::JsonRepresentation
687
+ property :description, as: 'description'
688
+ property :subject, as: 'subject'
689
+ property :type, as: 'type'
690
+ end
691
+ end
692
+
532
693
  class PromoteMigrationJobRequest
533
694
  # @private
534
695
  class Representation < Google::Apis::Core::JsonRepresentation
535
696
  end
536
697
  end
537
698
 
699
+ class QuotaFailure
700
+ # @private
701
+ class Representation < Google::Apis::Core::JsonRepresentation
702
+ collection :violations, as: 'violations', class: Google::Apis::DatamigrationV1beta1::QuotaFailureViolation, decorator: Google::Apis::DatamigrationV1beta1::QuotaFailureViolation::Representation
703
+
704
+ end
705
+ end
706
+
707
+ class QuotaFailureViolation
708
+ # @private
709
+ class Representation < Google::Apis::Core::JsonRepresentation
710
+ property :api_service, as: 'apiService'
711
+ property :description, as: 'description'
712
+ property :future_quota_value, :numeric_string => true, as: 'futureQuotaValue'
713
+ hash :quota_dimensions, as: 'quotaDimensions'
714
+ property :quota_id, as: 'quotaId'
715
+ property :quota_metric, as: 'quotaMetric'
716
+ property :quota_value, :numeric_string => true, as: 'quotaValue'
717
+ property :subject, as: 'subject'
718
+ end
719
+ end
720
+
721
+ class RequestInfo
722
+ # @private
723
+ class Representation < Google::Apis::Core::JsonRepresentation
724
+ property :request_id, as: 'requestId'
725
+ property :serving_data, as: 'servingData'
726
+ end
727
+ end
728
+
729
+ class ResourceInfo
730
+ # @private
731
+ class Representation < Google::Apis::Core::JsonRepresentation
732
+ property :description, as: 'description'
733
+ property :owner, as: 'owner'
734
+ property :resource_name, as: 'resourceName'
735
+ property :resource_type, as: 'resourceType'
736
+ end
737
+ end
738
+
538
739
  class RestartMigrationJobRequest
539
740
  # @private
540
741
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -547,6 +748,13 @@ module Google
547
748
  end
548
749
  end
549
750
 
751
+ class RetryInfo
752
+ # @private
753
+ class Representation < Google::Apis::Core::JsonRepresentation
754
+ property :retry_delay, as: 'retryDelay'
755
+ end
756
+ end
757
+
550
758
  class ReverseSshConnectivity
551
759
  # @private
552
760
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-datamigration_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.38.0
4
+ version: 0.39.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-datamigration_v1beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-datamigration_v1beta1/v0.38.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datamigration_v1beta1/v0.39.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datamigration_v1beta1
62
62
  rdoc_options: []
63
63
  require_paths: