google-apis-datastream_v1alpha1 0.28.0 → 0.29.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: ff8bc673a4b4bbe74d147ab06a6534e86a24055ddde2e3a54b0b376d8b797441
4
- data.tar.gz: a9823077fd2147ff5077436941a565c68d8337c7f2b078b45b203339fd050890
3
+ metadata.gz: e7492e100d420baa88e7683ad062fafa0b6729265e98e3ab33b5228573561da3
4
+ data.tar.gz: 414d26a5cf185ef26910500866f39bd31d15ffe2113020dc8d9705c0ba63decf
5
5
  SHA512:
6
- metadata.gz: cd8847d0e68a562cd8048e76f473fe96ae868d9c4e070de71919428dd8f36078f3e995fa0d86af42bccde29e96eba69d88a85f3ee8fc32668e461f66461b31bf
7
- data.tar.gz: 79ab68ad56631ce14529587f9964009099cf9141acf935b6bbe905de7af0ea34e6d015d405c342cfe818800f20a25959feecd7cdcdbbb2dbc2662b8e4fb513ad
6
+ metadata.gz: 973b70fb5f36ff2b5bf2d72a4bfc828c4986367f98eff8e8b503ca23c32e8ce559987470bfe23e24f1e33731ad9fd5ca61d8908d9db647c82e1d2fc8a0d13d2c
7
+ data.tar.gz: c16140222d06c444159e94b82aff0292616a05a372ceb8ae20c6e224bffdbbda97a41d259cf01498ba35a40e768d359db9df604f495239a29f780e00f1a55b14
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-datastream_v1alpha1
2
2
 
3
+ ### v0.29.0 (2026-02-15)
4
+
5
+ * Regenerated from discovery document revision 20260204
6
+
3
7
  ### v0.28.0 (2026-02-08)
4
8
 
5
9
  * Regenerated from discovery document revision 20260128
@@ -117,6 +117,26 @@ module Google
117
117
  end
118
118
  end
119
119
 
120
+ # Describes violations in a client request. This error type focuses on the
121
+ # syntactic aspects of the request.
122
+ class BadRequest
123
+ include Google::Apis::Core::Hashable
124
+
125
+ # Describes all violations in a client request.
126
+ # Corresponds to the JSON property `fieldViolations`
127
+ # @return [Array<Google::Apis::DatastreamV1alpha1::FieldViolation>]
128
+ attr_accessor :field_violations
129
+
130
+ def initialize(**args)
131
+ update!(**args)
132
+ end
133
+
134
+ # Update properties of this object
135
+ def update!(**args)
136
+ @field_violations = args[:field_violations] if args.key?(:field_violations)
137
+ end
138
+ end
139
+
120
140
  # The request message for Operations.CancelOperation.
121
141
  class CancelOperationRequest
122
142
  include Google::Apis::Core::Hashable
@@ -215,6 +235,31 @@ module Google
215
235
  end
216
236
  end
217
237
 
238
+ # Describes additional debugging info.
239
+ class DebugInfo
240
+ include Google::Apis::Core::Hashable
241
+
242
+ # Additional debugging information provided by the server.
243
+ # Corresponds to the JSON property `detail`
244
+ # @return [String]
245
+ attr_accessor :detail
246
+
247
+ # The stack trace entries indicating where the error occurred.
248
+ # Corresponds to the JSON property `stackEntries`
249
+ # @return [Array<String>]
250
+ attr_accessor :stack_entries
251
+
252
+ def initialize(**args)
253
+ update!(**args)
254
+ end
255
+
256
+ # Update properties of this object
257
+ def update!(**args)
258
+ @detail = args[:detail] if args.key?(:detail)
259
+ @stack_entries = args[:stack_entries] if args.key?(:stack_entries)
260
+ end
261
+ end
262
+
218
263
  # The configuration of the stream destination.
219
264
  class DestinationConfig
220
265
  include Google::Apis::Core::Hashable
@@ -389,6 +434,58 @@ module Google
389
434
  end
390
435
  end
391
436
 
437
+ # Describes the cause of the error with structured details. Example of an error
438
+ # when contacting the "pubsub.googleapis.com" API when it is not enabled: ` "
439
+ # reason": "API_DISABLED" "domain": "googleapis.com" "metadata": ` "resource": "
440
+ # projects/123", "service": "pubsub.googleapis.com" ` ` This response indicates
441
+ # that the pubsub.googleapis.com API is not enabled. Example of an error that is
442
+ # returned when attempting to create a Spanner instance in a region that is out
443
+ # of stock: ` "reason": "STOCKOUT" "domain": "spanner.googleapis.com", "metadata"
444
+ # : ` "availableRegions": "us-central1,us-east2" ` `
445
+ class ErrorInfo
446
+ include Google::Apis::Core::Hashable
447
+
448
+ # The logical grouping to which the "reason" belongs. The error domain is
449
+ # typically the registered service name of the tool or product that generates
450
+ # the error. Example: "pubsub.googleapis.com". If the error is generated by some
451
+ # common infrastructure, the error domain must be a globally unique value that
452
+ # identifies the infrastructure. For Google API infrastructure, the error domain
453
+ # is "googleapis.com".
454
+ # Corresponds to the JSON property `domain`
455
+ # @return [String]
456
+ attr_accessor :domain
457
+
458
+ # Additional structured details about this error. Keys must match a regular
459
+ # expression of `a-z+` but should ideally be lowerCamelCase. Also, they must be
460
+ # limited to 64 characters in length. When identifying the current value of an
461
+ # exceeded limit, the units should be contained in the key, not the value. For
462
+ # example, rather than ``"instanceLimit": "100/request"``, should be returned as,
463
+ # ``"instanceLimitPerRequest": "100"``, if the client exceeds the number of
464
+ # instances that can be created in a single (batch) request.
465
+ # Corresponds to the JSON property `metadata`
466
+ # @return [Hash<String,String>]
467
+ attr_accessor :metadata
468
+
469
+ # The reason of the error. This is a constant value that identifies the
470
+ # proximate cause of the error. Error reasons are unique within a particular
471
+ # domain of errors. This should be at most 63 characters and match a regular
472
+ # expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.
473
+ # Corresponds to the JSON property `reason`
474
+ # @return [String]
475
+ attr_accessor :reason
476
+
477
+ def initialize(**args)
478
+ update!(**args)
479
+ end
480
+
481
+ # Update properties of this object
482
+ def update!(**args)
483
+ @domain = args[:domain] if args.key?(:domain)
484
+ @metadata = args[:metadata] if args.key?(:metadata)
485
+ @reason = args[:reason] if args.key?(:reason)
486
+ end
487
+ end
488
+
392
489
  # Request message for 'FetchErrors' request.
393
490
  class FetchErrorsRequest
394
491
  include Google::Apis::Core::Hashable
@@ -447,6 +544,61 @@ module Google
447
544
  end
448
545
  end
449
546
 
547
+ # A message type used to describe a single bad request field.
548
+ class FieldViolation
549
+ include Google::Apis::Core::Hashable
550
+
551
+ # A description of why the request element is bad.
552
+ # Corresponds to the JSON property `description`
553
+ # @return [String]
554
+ attr_accessor :description
555
+
556
+ # A path that leads to a field in the request body. The value will be a sequence
557
+ # of dot-separated identifiers that identify a protocol buffer field. Consider
558
+ # the following: message CreateContactRequest ` message EmailAddress ` enum Type
559
+ # ` TYPE_UNSPECIFIED = 0; HOME = 1; WORK = 2; ` optional string email = 1;
560
+ # repeated EmailType type = 2; ` string full_name = 1; repeated EmailAddress
561
+ # email_addresses = 2; ` In this example, in proto `field` could take one of the
562
+ # following values: * `full_name` for a violation in the `full_name` value * `
563
+ # email_addresses[1].email` for a violation in the `email` field of the first `
564
+ # email_addresses` message * `email_addresses[3].type[2]` for a violation in the
565
+ # second `type` value in the third `email_addresses` message. In JSON, the same
566
+ # values are represented as: * `fullName` for a violation in the `fullName`
567
+ # value * `emailAddresses[1].email` for a violation in the `email` field of the
568
+ # first `emailAddresses` message * `emailAddresses[3].type[2]` for a violation
569
+ # in the second `type` value in the third `emailAddresses` message.
570
+ # Corresponds to the JSON property `field`
571
+ # @return [String]
572
+ attr_accessor :field
573
+
574
+ # Provides a localized error message that is safe to return to the user which
575
+ # can be attached to an RPC error.
576
+ # Corresponds to the JSON property `localizedMessage`
577
+ # @return [Google::Apis::DatastreamV1alpha1::LocalizedMessage]
578
+ attr_accessor :localized_message
579
+
580
+ # The reason of the field-level error. This is a constant value that identifies
581
+ # the proximate cause of the field-level error. It should uniquely identify the
582
+ # type of the FieldViolation within the scope of the google.rpc.ErrorInfo.domain.
583
+ # This should be at most 63 characters and match a regular expression of `A-Z+[
584
+ # A-Z0-9]`, which represents UPPER_SNAKE_CASE.
585
+ # Corresponds to the JSON property `reason`
586
+ # @return [String]
587
+ attr_accessor :reason
588
+
589
+ def initialize(**args)
590
+ update!(**args)
591
+ end
592
+
593
+ # Update properties of this object
594
+ def update!(**args)
595
+ @description = args[:description] if args.key?(:description)
596
+ @field = args[:field] if args.key?(:field)
597
+ @localized_message = args[:localized_message] if args.key?(:localized_message)
598
+ @reason = args[:reason] if args.key?(:reason)
599
+ end
600
+ end
601
+
450
602
  # Forward SSH Tunnel connectivity.
451
603
  class ForwardSshTunnelConnectivity
452
604
  include Google::Apis::Core::Hashable
@@ -567,6 +719,28 @@ module Google
567
719
  end
568
720
  end
569
721
 
722
+ # Provides links to documentation or for performing an out of band action. For
723
+ # example, if a quota check failed with an error indicating the calling project
724
+ # hasn't enabled the accessed service, this can contain a URL pointing directly
725
+ # to the right place in the developer console to flip the bit.
726
+ class Help
727
+ include Google::Apis::Core::Hashable
728
+
729
+ # URL(s) pointing to additional information on handling the current error.
730
+ # Corresponds to the JSON property `links`
731
+ # @return [Array<Google::Apis::DatastreamV1alpha1::Link>]
732
+ attr_accessor :links
733
+
734
+ def initialize(**args)
735
+ update!(**args)
736
+ end
737
+
738
+ # Update properties of this object
739
+ def update!(**args)
740
+ @links = args[:links] if args.key?(:links)
741
+ end
742
+ end
743
+
570
744
  # JSON file format configuration.
571
745
  class JsonFileFormat
572
746
  include Google::Apis::Core::Hashable
@@ -592,6 +766,31 @@ module Google
592
766
  end
593
767
  end
594
768
 
769
+ # Describes a URL link.
770
+ class Link
771
+ include Google::Apis::Core::Hashable
772
+
773
+ # Describes what the link offers.
774
+ # Corresponds to the JSON property `description`
775
+ # @return [String]
776
+ attr_accessor :description
777
+
778
+ # The URL of the link.
779
+ # Corresponds to the JSON property `url`
780
+ # @return [String]
781
+ attr_accessor :url
782
+
783
+ def initialize(**args)
784
+ update!(**args)
785
+ end
786
+
787
+ # Update properties of this object
788
+ def update!(**args)
789
+ @description = args[:description] if args.key?(:description)
790
+ @url = args[:url] if args.key?(:url)
791
+ end
792
+ end
793
+
595
794
  #
596
795
  class ListConnectionProfilesResponse
597
796
  include Google::Apis::Core::Hashable
@@ -804,6 +1003,33 @@ module Google
804
1003
  end
805
1004
  end
806
1005
 
1006
+ # Provides a localized error message that is safe to return to the user which
1007
+ # can be attached to an RPC error.
1008
+ class LocalizedMessage
1009
+ include Google::Apis::Core::Hashable
1010
+
1011
+ # The locale used following the specification defined at https://www.rfc-editor.
1012
+ # org/rfc/bcp/bcp47.txt. Examples are: "en-US", "fr-CH", "es-MX"
1013
+ # Corresponds to the JSON property `locale`
1014
+ # @return [String]
1015
+ attr_accessor :locale
1016
+
1017
+ # The localized error message in the above locale.
1018
+ # Corresponds to the JSON property `message`
1019
+ # @return [String]
1020
+ attr_accessor :message
1021
+
1022
+ def initialize(**args)
1023
+ update!(**args)
1024
+ end
1025
+
1026
+ # Update properties of this object
1027
+ def update!(**args)
1028
+ @locale = args[:locale] if args.key?(:locale)
1029
+ @message = args[:message] if args.key?(:message)
1030
+ end
1031
+ end
1032
+
807
1033
  # A resource that represents a Google Cloud location.
808
1034
  class Location
809
1035
  include Google::Apis::Core::Hashable
@@ -1513,6 +1739,64 @@ module Google
1513
1739
  end
1514
1740
  end
1515
1741
 
1742
+ # Describes what preconditions have failed. For example, if an RPC failed
1743
+ # because it required the Terms of Service to be acknowledged, it could list the
1744
+ # terms of service violation in the PreconditionFailure message.
1745
+ class PreconditionFailure
1746
+ include Google::Apis::Core::Hashable
1747
+
1748
+ # Describes all precondition violations.
1749
+ # Corresponds to the JSON property `violations`
1750
+ # @return [Array<Google::Apis::DatastreamV1alpha1::PreconditionFailureViolation>]
1751
+ attr_accessor :violations
1752
+
1753
+ def initialize(**args)
1754
+ update!(**args)
1755
+ end
1756
+
1757
+ # Update properties of this object
1758
+ def update!(**args)
1759
+ @violations = args[:violations] if args.key?(:violations)
1760
+ end
1761
+ end
1762
+
1763
+ # A message type used to describe a single precondition failure.
1764
+ class PreconditionFailureViolation
1765
+ include Google::Apis::Core::Hashable
1766
+
1767
+ # A description of how the precondition failed. Developers can use this
1768
+ # description to understand how to fix the failure. For example: "Terms of
1769
+ # service not accepted".
1770
+ # Corresponds to the JSON property `description`
1771
+ # @return [String]
1772
+ attr_accessor :description
1773
+
1774
+ # The subject, relative to the type, that failed. For example, "google.com/cloud"
1775
+ # relative to the "TOS" type would indicate which terms of service is being
1776
+ # referenced.
1777
+ # Corresponds to the JSON property `subject`
1778
+ # @return [String]
1779
+ attr_accessor :subject
1780
+
1781
+ # The type of PreconditionFailure. We recommend using a service-specific enum
1782
+ # type to define the supported precondition violation subjects. For example, "
1783
+ # TOS" for "Terms of Service violation".
1784
+ # Corresponds to the JSON property `type`
1785
+ # @return [String]
1786
+ attr_accessor :type
1787
+
1788
+ def initialize(**args)
1789
+ update!(**args)
1790
+ end
1791
+
1792
+ # Update properties of this object
1793
+ def update!(**args)
1794
+ @description = args[:description] if args.key?(:description)
1795
+ @subject = args[:subject] if args.key?(:subject)
1796
+ @type = args[:type] if args.key?(:type)
1797
+ end
1798
+ end
1799
+
1516
1800
  # The PrivateConnection resource is used to establish private connectivity
1517
1801
  # between Datastream and a customer's network.
1518
1802
  class PrivateConnection
@@ -1595,6 +1879,225 @@ module Google
1595
1879
  end
1596
1880
  end
1597
1881
 
1882
+ # Describes how a quota check failed. For example if a daily limit was exceeded
1883
+ # for the calling project, a service could respond with a QuotaFailure detail
1884
+ # containing the project id and the description of the quota limit that was
1885
+ # exceeded. If the calling project hasn't enabled the service in the developer
1886
+ # console, then a service could respond with the project id and set `
1887
+ # service_disabled` to true. Also see RetryInfo and Help types for other details
1888
+ # about handling a quota failure.
1889
+ class QuotaFailure
1890
+ include Google::Apis::Core::Hashable
1891
+
1892
+ # Describes all quota violations.
1893
+ # Corresponds to the JSON property `violations`
1894
+ # @return [Array<Google::Apis::DatastreamV1alpha1::QuotaFailureViolation>]
1895
+ attr_accessor :violations
1896
+
1897
+ def initialize(**args)
1898
+ update!(**args)
1899
+ end
1900
+
1901
+ # Update properties of this object
1902
+ def update!(**args)
1903
+ @violations = args[:violations] if args.key?(:violations)
1904
+ end
1905
+ end
1906
+
1907
+ # A message type used to describe a single quota violation. For example, a daily
1908
+ # quota or a custom quota that was exceeded.
1909
+ class QuotaFailureViolation
1910
+ include Google::Apis::Core::Hashable
1911
+
1912
+ # The API Service from which the `QuotaFailure.Violation` orginates. In some
1913
+ # cases, Quota issues originate from an API Service other than the one that was
1914
+ # called. In other words, a dependency of the called API Service could be the
1915
+ # cause of the `QuotaFailure`, and this field would have the dependency API
1916
+ # service name. For example, if the called API is Kubernetes Engine API (
1917
+ # container.googleapis.com), and a quota violation occurs in the Kubernetes
1918
+ # Engine API itself, this field would be "container.googleapis.com". On the
1919
+ # other hand, if the quota violation occurs when the Kubernetes Engine API
1920
+ # creates VMs in the Compute Engine API (compute.googleapis.com), this field
1921
+ # would be "compute.googleapis.com".
1922
+ # Corresponds to the JSON property `apiService`
1923
+ # @return [String]
1924
+ attr_accessor :api_service
1925
+
1926
+ # A description of how the quota check failed. Clients can use this description
1927
+ # to find more about the quota configuration in the service's public
1928
+ # documentation, or find the relevant quota limit to adjust through developer
1929
+ # console. For example: "Service disabled" or "Daily Limit for read operations
1930
+ # exceeded".
1931
+ # Corresponds to the JSON property `description`
1932
+ # @return [String]
1933
+ attr_accessor :description
1934
+
1935
+ # The new quota value being rolled out at the time of the violation. At the
1936
+ # completion of the rollout, this value will be enforced in place of quota_value.
1937
+ # If no rollout is in progress at the time of the violation, this field is not
1938
+ # set. For example, if at the time of the violation a rollout is in progress
1939
+ # changing the number of CPUs quota from 10 to 20, 20 would be the value of this
1940
+ # field.
1941
+ # Corresponds to the JSON property `futureQuotaValue`
1942
+ # @return [Fixnum]
1943
+ attr_accessor :future_quota_value
1944
+
1945
+ # The dimensions of the violated quota. Every non-global quota is enforced on a
1946
+ # set of dimensions. While quota metric defines what to count, the dimensions
1947
+ # specify for what aspects the counter should be increased. For example, the
1948
+ # quota "CPUs per region per VM family" enforces a limit on the metric "compute.
1949
+ # googleapis.com/cpus_per_vm_family" on dimensions "region" and "vm_family". And
1950
+ # if the violation occurred in region "us-central1" and for VM family "n1", the
1951
+ # quota_dimensions would be, ` "region": "us-central1", "vm_family": "n1", `
1952
+ # When a quota is enforced globally, the quota_dimensions would always be empty.
1953
+ # Corresponds to the JSON property `quotaDimensions`
1954
+ # @return [Hash<String,String>]
1955
+ attr_accessor :quota_dimensions
1956
+
1957
+ # The id of the violated quota. Also know as "limit name", this is the unique
1958
+ # identifier of a quota in the context of an API service. For example, "CPUS-PER-
1959
+ # VM-FAMILY-per-project-region".
1960
+ # Corresponds to the JSON property `quotaId`
1961
+ # @return [String]
1962
+ attr_accessor :quota_id
1963
+
1964
+ # The metric of the violated quota. A quota metric is a named counter to measure
1965
+ # usage, such as API requests or CPUs. When an activity occurs in a service,
1966
+ # such as Virtual Machine allocation, one or more quota metrics may be affected.
1967
+ # For example, "compute.googleapis.com/cpus_per_vm_family", "storage.googleapis.
1968
+ # com/internet_egress_bandwidth".
1969
+ # Corresponds to the JSON property `quotaMetric`
1970
+ # @return [String]
1971
+ attr_accessor :quota_metric
1972
+
1973
+ # The enforced quota value at the time of the `QuotaFailure`. For example, if
1974
+ # the enforced quota value at the time of the `QuotaFailure` on the number of
1975
+ # CPUs is "10", then the value of this field would reflect this quantity.
1976
+ # Corresponds to the JSON property `quotaValue`
1977
+ # @return [Fixnum]
1978
+ attr_accessor :quota_value
1979
+
1980
+ # The subject on which the quota check failed. For example, "clientip:" or "
1981
+ # project:".
1982
+ # Corresponds to the JSON property `subject`
1983
+ # @return [String]
1984
+ attr_accessor :subject
1985
+
1986
+ def initialize(**args)
1987
+ update!(**args)
1988
+ end
1989
+
1990
+ # Update properties of this object
1991
+ def update!(**args)
1992
+ @api_service = args[:api_service] if args.key?(:api_service)
1993
+ @description = args[:description] if args.key?(:description)
1994
+ @future_quota_value = args[:future_quota_value] if args.key?(:future_quota_value)
1995
+ @quota_dimensions = args[:quota_dimensions] if args.key?(:quota_dimensions)
1996
+ @quota_id = args[:quota_id] if args.key?(:quota_id)
1997
+ @quota_metric = args[:quota_metric] if args.key?(:quota_metric)
1998
+ @quota_value = args[:quota_value] if args.key?(:quota_value)
1999
+ @subject = args[:subject] if args.key?(:subject)
2000
+ end
2001
+ end
2002
+
2003
+ # Contains metadata about the request that clients can attach when filing a bug
2004
+ # or providing other forms of feedback.
2005
+ class RequestInfo
2006
+ include Google::Apis::Core::Hashable
2007
+
2008
+ # An opaque string that should only be interpreted by the service generating it.
2009
+ # For example, it can be used to identify requests in the service's logs.
2010
+ # Corresponds to the JSON property `requestId`
2011
+ # @return [String]
2012
+ attr_accessor :request_id
2013
+
2014
+ # Any data that was used to serve this request. For example, an encrypted stack
2015
+ # trace that can be sent back to the service provider for debugging.
2016
+ # Corresponds to the JSON property `servingData`
2017
+ # @return [String]
2018
+ attr_accessor :serving_data
2019
+
2020
+ def initialize(**args)
2021
+ update!(**args)
2022
+ end
2023
+
2024
+ # Update properties of this object
2025
+ def update!(**args)
2026
+ @request_id = args[:request_id] if args.key?(:request_id)
2027
+ @serving_data = args[:serving_data] if args.key?(:serving_data)
2028
+ end
2029
+ end
2030
+
2031
+ # Describes the resource that is being accessed.
2032
+ class ResourceInfo
2033
+ include Google::Apis::Core::Hashable
2034
+
2035
+ # Describes what error is encountered when accessing this resource. For example,
2036
+ # updating a cloud project may require the `writer` permission on the developer
2037
+ # console project.
2038
+ # Corresponds to the JSON property `description`
2039
+ # @return [String]
2040
+ attr_accessor :description
2041
+
2042
+ # The owner of the resource (optional). For example, "user:" or "project:".
2043
+ # Corresponds to the JSON property `owner`
2044
+ # @return [String]
2045
+ attr_accessor :owner
2046
+
2047
+ # The name of the resource being accessed. For example, a shared calendar name: "
2048
+ # example.com_4fghdhgsrgh@group.calendar.google.com", if the current error is
2049
+ # google.rpc.Code.PERMISSION_DENIED.
2050
+ # Corresponds to the JSON property `resourceName`
2051
+ # @return [String]
2052
+ attr_accessor :resource_name
2053
+
2054
+ # A name for the type of resource being accessed, e.g. "sql table", "cloud
2055
+ # storage bucket", "file", "Google calendar"; or the type URL of the resource: e.
2056
+ # g. "type.googleapis.com/google.pubsub.v1.Topic".
2057
+ # Corresponds to the JSON property `resourceType`
2058
+ # @return [String]
2059
+ attr_accessor :resource_type
2060
+
2061
+ def initialize(**args)
2062
+ update!(**args)
2063
+ end
2064
+
2065
+ # Update properties of this object
2066
+ def update!(**args)
2067
+ @description = args[:description] if args.key?(:description)
2068
+ @owner = args[:owner] if args.key?(:owner)
2069
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
2070
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
2071
+ end
2072
+ end
2073
+
2074
+ # Describes when the clients can retry a failed request. Clients could ignore
2075
+ # the recommendation here or retry when this information is missing from error
2076
+ # responses. It's always recommended that clients should use exponential backoff
2077
+ # when retrying. Clients should wait until `retry_delay` amount of time has
2078
+ # passed since receiving the error response before retrying. If retrying
2079
+ # requests also fail, clients should use an exponential backoff scheme to
2080
+ # gradually increase the delay between retries based on `retry_delay`, until
2081
+ # either a maximum number of retries have been reached or a maximum retry delay
2082
+ # cap has been reached.
2083
+ class RetryInfo
2084
+ include Google::Apis::Core::Hashable
2085
+
2086
+ # Clients should wait at least this long between retrying the same request.
2087
+ # Corresponds to the JSON property `retryDelay`
2088
+ # @return [String]
2089
+ attr_accessor :retry_delay
2090
+
2091
+ def initialize(**args)
2092
+ update!(**args)
2093
+ end
2094
+
2095
+ # Update properties of this object
2096
+ def update!(**args)
2097
+ @retry_delay = args[:retry_delay] if args.key?(:retry_delay)
2098
+ end
2099
+ end
2100
+
1598
2101
  # The Route resource is the child of the PrivateConnection resource. It used to
1599
2102
  # define a route for a PrivateConnection setup.
1600
2103
  class Route
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DatastreamV1alpha1
18
18
  # Version of the google-apis-datastream_v1alpha1 gem
19
- GEM_VERSION = "0.28.0"
19
+ GEM_VERSION = "0.29.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 = "20260128"
25
+ REVISION = "20260204"
26
26
  end
27
27
  end
28
28
  end
@@ -46,6 +46,12 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
+ class BadRequest
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
49
55
  class CancelOperationRequest
50
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
57
 
@@ -58,6 +64,12 @@ module Google
58
64
  include Google::Apis::Core::JsonObjectSupport
59
65
  end
60
66
 
67
+ class DebugInfo
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
61
73
  class DestinationConfig
62
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
75
 
@@ -94,6 +106,12 @@ module Google
94
106
  include Google::Apis::Core::JsonObjectSupport
95
107
  end
96
108
 
109
+ class ErrorInfo
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
97
115
  class FetchErrorsRequest
98
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
117
 
@@ -112,6 +130,12 @@ module Google
112
130
  include Google::Apis::Core::JsonObjectSupport
113
131
  end
114
132
 
133
+ class FieldViolation
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
115
139
  class ForwardSshTunnelConnectivity
116
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
141
 
@@ -130,12 +154,24 @@ module Google
130
154
  include Google::Apis::Core::JsonObjectSupport
131
155
  end
132
156
 
157
+ class Help
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
133
163
  class JsonFileFormat
134
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
165
 
136
166
  include Google::Apis::Core::JsonObjectSupport
137
167
  end
138
168
 
169
+ class Link
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
139
175
  class ListConnectionProfilesResponse
140
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
177
 
@@ -178,6 +214,12 @@ module Google
178
214
  include Google::Apis::Core::JsonObjectSupport
179
215
  end
180
216
 
217
+ class LocalizedMessage
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
181
223
  class Location
182
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
225
 
@@ -292,6 +334,18 @@ module Google
292
334
  include Google::Apis::Core::JsonObjectSupport
293
335
  end
294
336
 
337
+ class PreconditionFailure
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class PreconditionFailureViolation
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
295
349
  class PrivateConnection
296
350
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
351
 
@@ -304,6 +358,36 @@ module Google
304
358
  include Google::Apis::Core::JsonObjectSupport
305
359
  end
306
360
 
361
+ class QuotaFailure
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
367
+ class QuotaFailureViolation
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class RequestInfo
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class ResourceInfo
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class RetryInfo
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
307
391
  class Route
308
392
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
393
 
@@ -416,6 +500,14 @@ module Google
416
500
  end
417
501
  end
418
502
 
503
+ class BadRequest
504
+ # @private
505
+ class Representation < Google::Apis::Core::JsonRepresentation
506
+ collection :field_violations, as: 'fieldViolations', class: Google::Apis::DatastreamV1alpha1::FieldViolation, decorator: Google::Apis::DatastreamV1alpha1::FieldViolation::Representation
507
+
508
+ end
509
+ end
510
+
419
511
  class CancelOperationRequest
420
512
  # @private
421
513
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -447,6 +539,14 @@ module Google
447
539
  end
448
540
  end
449
541
 
542
+ class DebugInfo
543
+ # @private
544
+ class Representation < Google::Apis::Core::JsonRepresentation
545
+ property :detail, as: 'detail'
546
+ collection :stack_entries, as: 'stackEntries'
547
+ end
548
+ end
549
+
450
550
  class DestinationConfig
451
551
  # @private
452
552
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -504,6 +604,15 @@ module Google
504
604
  end
505
605
  end
506
606
 
607
+ class ErrorInfo
608
+ # @private
609
+ class Representation < Google::Apis::Core::JsonRepresentation
610
+ property :domain, as: 'domain'
611
+ hash :metadata, as: 'metadata'
612
+ property :reason, as: 'reason'
613
+ end
614
+ end
615
+
507
616
  class FetchErrorsRequest
508
617
  # @private
509
618
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -526,6 +635,17 @@ module Google
526
635
  end
527
636
  end
528
637
 
638
+ class FieldViolation
639
+ # @private
640
+ class Representation < Google::Apis::Core::JsonRepresentation
641
+ property :description, as: 'description'
642
+ property :field, as: 'field'
643
+ property :localized_message, as: 'localizedMessage', class: Google::Apis::DatastreamV1alpha1::LocalizedMessage, decorator: Google::Apis::DatastreamV1alpha1::LocalizedMessage::Representation
644
+
645
+ property :reason, as: 'reason'
646
+ end
647
+ end
648
+
529
649
  class ForwardSshTunnelConnectivity
530
650
  # @private
531
651
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -559,6 +679,14 @@ module Google
559
679
  end
560
680
  end
561
681
 
682
+ class Help
683
+ # @private
684
+ class Representation < Google::Apis::Core::JsonRepresentation
685
+ collection :links, as: 'links', class: Google::Apis::DatastreamV1alpha1::Link, decorator: Google::Apis::DatastreamV1alpha1::Link::Representation
686
+
687
+ end
688
+ end
689
+
562
690
  class JsonFileFormat
563
691
  # @private
564
692
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -567,6 +695,14 @@ module Google
567
695
  end
568
696
  end
569
697
 
698
+ class Link
699
+ # @private
700
+ class Representation < Google::Apis::Core::JsonRepresentation
701
+ property :description, as: 'description'
702
+ property :url, as: 'url'
703
+ end
704
+ end
705
+
570
706
  class ListConnectionProfilesResponse
571
707
  # @private
572
708
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -635,6 +771,14 @@ module Google
635
771
  end
636
772
  end
637
773
 
774
+ class LocalizedMessage
775
+ # @private
776
+ class Representation < Google::Apis::Core::JsonRepresentation
777
+ property :locale, as: 'locale'
778
+ property :message, as: 'message'
779
+ end
780
+ end
781
+
638
782
  class Location
639
783
  # @private
640
784
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -833,6 +977,23 @@ module Google
833
977
  end
834
978
  end
835
979
 
980
+ class PreconditionFailure
981
+ # @private
982
+ class Representation < Google::Apis::Core::JsonRepresentation
983
+ collection :violations, as: 'violations', class: Google::Apis::DatastreamV1alpha1::PreconditionFailureViolation, decorator: Google::Apis::DatastreamV1alpha1::PreconditionFailureViolation::Representation
984
+
985
+ end
986
+ end
987
+
988
+ class PreconditionFailureViolation
989
+ # @private
990
+ class Representation < Google::Apis::Core::JsonRepresentation
991
+ property :description, as: 'description'
992
+ property :subject, as: 'subject'
993
+ property :type, as: 'type'
994
+ end
995
+ end
996
+
836
997
  class PrivateConnection
837
998
  # @private
838
999
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -856,6 +1017,53 @@ module Google
856
1017
  end
857
1018
  end
858
1019
 
1020
+ class QuotaFailure
1021
+ # @private
1022
+ class Representation < Google::Apis::Core::JsonRepresentation
1023
+ collection :violations, as: 'violations', class: Google::Apis::DatastreamV1alpha1::QuotaFailureViolation, decorator: Google::Apis::DatastreamV1alpha1::QuotaFailureViolation::Representation
1024
+
1025
+ end
1026
+ end
1027
+
1028
+ class QuotaFailureViolation
1029
+ # @private
1030
+ class Representation < Google::Apis::Core::JsonRepresentation
1031
+ property :api_service, as: 'apiService'
1032
+ property :description, as: 'description'
1033
+ property :future_quota_value, :numeric_string => true, as: 'futureQuotaValue'
1034
+ hash :quota_dimensions, as: 'quotaDimensions'
1035
+ property :quota_id, as: 'quotaId'
1036
+ property :quota_metric, as: 'quotaMetric'
1037
+ property :quota_value, :numeric_string => true, as: 'quotaValue'
1038
+ property :subject, as: 'subject'
1039
+ end
1040
+ end
1041
+
1042
+ class RequestInfo
1043
+ # @private
1044
+ class Representation < Google::Apis::Core::JsonRepresentation
1045
+ property :request_id, as: 'requestId'
1046
+ property :serving_data, as: 'servingData'
1047
+ end
1048
+ end
1049
+
1050
+ class ResourceInfo
1051
+ # @private
1052
+ class Representation < Google::Apis::Core::JsonRepresentation
1053
+ property :description, as: 'description'
1054
+ property :owner, as: 'owner'
1055
+ property :resource_name, as: 'resourceName'
1056
+ property :resource_type, as: 'resourceType'
1057
+ end
1058
+ end
1059
+
1060
+ class RetryInfo
1061
+ # @private
1062
+ class Representation < Google::Apis::Core::JsonRepresentation
1063
+ property :retry_delay, as: 'retryDelay'
1064
+ end
1065
+ end
1066
+
859
1067
  class Route
860
1068
  # @private
861
1069
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-datastream_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.28.0
4
+ version: 0.29.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-datastream_v1alpha1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-datastream_v1alpha1/v0.28.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datastream_v1alpha1/v0.29.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datastream_v1alpha1
62
62
  rdoc_options: []
63
63
  require_paths: