google-apis-datastream_v1 0.63.0 → 0.65.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: 14eb3a37e055181a7863dd62da977cbb756791e7451305754889b525ea6f3792
4
- data.tar.gz: e25979e96109aed04399e19fec48eddf4a8005b0dcb5e28ff60f40ab6590e6c6
3
+ metadata.gz: 6f93d5d7b0f53669cc9ef9a191a99ddbcd7d533dadc70925ed451ede8c09028e
4
+ data.tar.gz: 469e6220ff5474de538f7c120343956ad2a7568b4b06ee0dcd8e6b2638f9731f
5
5
  SHA512:
6
- metadata.gz: 324a6ef72bb9dfaa9b9f6b26a9b8aaa35f7b01f40a758a85dcbd1206bd750af8a69f2e105076f12d8722126028c4f109ff38f016e5e2b6f3b042cbf1d1e1753f
7
- data.tar.gz: 56e068942eec401a2d7a51c36ea866d030140e071a7be8f6085dcbaf0dca73f6ceba28831551eda6a5f891707a94a01f9c09a233301a6f2bc3648c2a1b580fdd
6
+ metadata.gz: f280e753ee4539137aa8363c9b74f119949147cde45b1ce38ca3ed86dad8079a6bd863895cb38d3d19c4253ec81f0dc04157b7e12b312b3ff301e513e7903143
7
+ data.tar.gz: ba4dc9f985db42b2632749ceaaeebfaa59cf3c43c6c5a63474f568fa11e084bb629bbed73bda27457a3fa7ee765703ac72efd374970fb42eeb64ae921d8f5552
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-datastream_v1
2
2
 
3
+ ### v0.65.0 (2026-02-15)
4
+
5
+ * Regenerated from discovery document revision 20260204
6
+
7
+ ### v0.64.0 (2026-02-08)
8
+
9
+ * Regenerated from discovery document revision 20260128
10
+
3
11
  ### v0.63.0 (2026-01-25)
4
12
 
5
13
  * Regenerated from discovery document revision 20260114
@@ -161,6 +161,26 @@ module Google
161
161
  end
162
162
  end
163
163
 
164
+ # Describes violations in a client request. This error type focuses on the
165
+ # syntactic aspects of the request.
166
+ class BadRequest
167
+ include Google::Apis::Core::Hashable
168
+
169
+ # Describes all violations in a client request.
170
+ # Corresponds to the JSON property `fieldViolations`
171
+ # @return [Array<Google::Apis::DatastreamV1::FieldViolation>]
172
+ attr_accessor :field_violations
173
+
174
+ def initialize(**args)
175
+ update!(**args)
176
+ end
177
+
178
+ # Update properties of this object
179
+ def update!(**args)
180
+ @field_violations = args[:field_violations] if args.key?(:field_violations)
181
+ end
182
+ end
183
+
164
184
  # Message to represent the option where Datastream will enforce encryption
165
185
  # without authenticating server identity. Server certificates will be trusted by
166
186
  # default.
@@ -625,6 +645,31 @@ module Google
625
645
  end
626
646
  end
627
647
 
648
+ # Describes additional debugging info.
649
+ class DebugInfo
650
+ include Google::Apis::Core::Hashable
651
+
652
+ # Additional debugging information provided by the server.
653
+ # Corresponds to the JSON property `detail`
654
+ # @return [String]
655
+ attr_accessor :detail
656
+
657
+ # The stack trace entries indicating where the error occurred.
658
+ # Corresponds to the JSON property `stackEntries`
659
+ # @return [Array<String>]
660
+ attr_accessor :stack_entries
661
+
662
+ def initialize(**args)
663
+ update!(**args)
664
+ end
665
+
666
+ # Update properties of this object
667
+ def update!(**args)
668
+ @detail = args[:detail] if args.key?(:detail)
669
+ @stack_entries = args[:stack_entries] if args.key?(:stack_entries)
670
+ end
671
+ end
672
+
628
673
  # The configuration of the stream destination.
629
674
  class DestinationConfig
630
675
  include Google::Apis::Core::Hashable
@@ -916,6 +961,58 @@ module Google
916
961
  end
917
962
  end
918
963
 
964
+ # Describes the cause of the error with structured details. Example of an error
965
+ # when contacting the "pubsub.googleapis.com" API when it is not enabled: ` "
966
+ # reason": "API_DISABLED" "domain": "googleapis.com" "metadata": ` "resource": "
967
+ # projects/123", "service": "pubsub.googleapis.com" ` ` This response indicates
968
+ # that the pubsub.googleapis.com API is not enabled. Example of an error that is
969
+ # returned when attempting to create a Spanner instance in a region that is out
970
+ # of stock: ` "reason": "STOCKOUT" "domain": "spanner.googleapis.com", "metadata"
971
+ # : ` "availableRegions": "us-central1,us-east2" ` `
972
+ class ErrorInfo
973
+ include Google::Apis::Core::Hashable
974
+
975
+ # The logical grouping to which the "reason" belongs. The error domain is
976
+ # typically the registered service name of the tool or product that generates
977
+ # the error. Example: "pubsub.googleapis.com". If the error is generated by some
978
+ # common infrastructure, the error domain must be a globally unique value that
979
+ # identifies the infrastructure. For Google API infrastructure, the error domain
980
+ # is "googleapis.com".
981
+ # Corresponds to the JSON property `domain`
982
+ # @return [String]
983
+ attr_accessor :domain
984
+
985
+ # Additional structured details about this error. Keys must match a regular
986
+ # expression of `a-z+` but should ideally be lowerCamelCase. Also, they must be
987
+ # limited to 64 characters in length. When identifying the current value of an
988
+ # exceeded limit, the units should be contained in the key, not the value. For
989
+ # example, rather than ``"instanceLimit": "100/request"``, should be returned as,
990
+ # ``"instanceLimitPerRequest": "100"``, if the client exceeds the number of
991
+ # instances that can be created in a single (batch) request.
992
+ # Corresponds to the JSON property `metadata`
993
+ # @return [Hash<String,String>]
994
+ attr_accessor :metadata
995
+
996
+ # The reason of the error. This is a constant value that identifies the
997
+ # proximate cause of the error. Error reasons are unique within a particular
998
+ # domain of errors. This should be at most 63 characters and match a regular
999
+ # expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.
1000
+ # Corresponds to the JSON property `reason`
1001
+ # @return [String]
1002
+ attr_accessor :reason
1003
+
1004
+ def initialize(**args)
1005
+ update!(**args)
1006
+ end
1007
+
1008
+ # Update properties of this object
1009
+ def update!(**args)
1010
+ @domain = args[:domain] if args.key?(:domain)
1011
+ @metadata = args[:metadata] if args.key?(:metadata)
1012
+ @reason = args[:reason] if args.key?(:reason)
1013
+ end
1014
+ end
1015
+
919
1016
  # Represents a filter for included data on a stream object.
920
1017
  class EventFilter
921
1018
  include Google::Apis::Core::Hashable
@@ -962,6 +1059,61 @@ module Google
962
1059
  end
963
1060
  end
964
1061
 
1062
+ # A message type used to describe a single bad request field.
1063
+ class FieldViolation
1064
+ include Google::Apis::Core::Hashable
1065
+
1066
+ # A description of why the request element is bad.
1067
+ # Corresponds to the JSON property `description`
1068
+ # @return [String]
1069
+ attr_accessor :description
1070
+
1071
+ # A path that leads to a field in the request body. The value will be a sequence
1072
+ # of dot-separated identifiers that identify a protocol buffer field. Consider
1073
+ # the following: message CreateContactRequest ` message EmailAddress ` enum Type
1074
+ # ` TYPE_UNSPECIFIED = 0; HOME = 1; WORK = 2; ` optional string email = 1;
1075
+ # repeated EmailType type = 2; ` string full_name = 1; repeated EmailAddress
1076
+ # email_addresses = 2; ` In this example, in proto `field` could take one of the
1077
+ # following values: * `full_name` for a violation in the `full_name` value * `
1078
+ # email_addresses[1].email` for a violation in the `email` field of the first `
1079
+ # email_addresses` message * `email_addresses[3].type[2]` for a violation in the
1080
+ # second `type` value in the third `email_addresses` message. In JSON, the same
1081
+ # values are represented as: * `fullName` for a violation in the `fullName`
1082
+ # value * `emailAddresses[1].email` for a violation in the `email` field of the
1083
+ # first `emailAddresses` message * `emailAddresses[3].type[2]` for a violation
1084
+ # in the second `type` value in the third `emailAddresses` message.
1085
+ # Corresponds to the JSON property `field`
1086
+ # @return [String]
1087
+ attr_accessor :field
1088
+
1089
+ # Provides a localized error message that is safe to return to the user which
1090
+ # can be attached to an RPC error.
1091
+ # Corresponds to the JSON property `localizedMessage`
1092
+ # @return [Google::Apis::DatastreamV1::LocalizedMessage]
1093
+ attr_accessor :localized_message
1094
+
1095
+ # The reason of the field-level error. This is a constant value that identifies
1096
+ # the proximate cause of the field-level error. It should uniquely identify the
1097
+ # type of the FieldViolation within the scope of the google.rpc.ErrorInfo.domain.
1098
+ # This should be at most 63 characters and match a regular expression of `A-Z+[
1099
+ # A-Z0-9]`, which represents UPPER_SNAKE_CASE.
1100
+ # Corresponds to the JSON property `reason`
1101
+ # @return [String]
1102
+ attr_accessor :reason
1103
+
1104
+ def initialize(**args)
1105
+ update!(**args)
1106
+ end
1107
+
1108
+ # Update properties of this object
1109
+ def update!(**args)
1110
+ @description = args[:description] if args.key?(:description)
1111
+ @field = args[:field] if args.key?(:field)
1112
+ @localized_message = args[:localized_message] if args.key?(:localized_message)
1113
+ @reason = args[:reason] if args.key?(:reason)
1114
+ end
1115
+ end
1116
+
965
1117
  # Forward SSH Tunnel connectivity.
966
1118
  class ForwardSshTunnelConnectivity
967
1119
  include Google::Apis::Core::Hashable
@@ -1088,6 +1240,28 @@ module Google
1088
1240
  end
1089
1241
  end
1090
1242
 
1243
+ # Provides links to documentation or for performing an out of band action. For
1244
+ # example, if a quota check failed with an error indicating the calling project
1245
+ # hasn't enabled the accessed service, this can contain a URL pointing directly
1246
+ # to the right place in the developer console to flip the bit.
1247
+ class Help
1248
+ include Google::Apis::Core::Hashable
1249
+
1250
+ # URL(s) pointing to additional information on handling the current error.
1251
+ # Corresponds to the JSON property `links`
1252
+ # @return [Array<Google::Apis::DatastreamV1::Link>]
1253
+ attr_accessor :links
1254
+
1255
+ def initialize(**args)
1256
+ update!(**args)
1257
+ end
1258
+
1259
+ # Update properties of this object
1260
+ def update!(**args)
1261
+ @links = args[:links] if args.key?(:links)
1262
+ end
1263
+ end
1264
+
1091
1265
  # A HostAddress represents a transport end point, which is the combination of an
1092
1266
  # IP address or hostname and a port number.
1093
1267
  class HostAddress
@@ -1197,6 +1371,31 @@ module Google
1197
1371
  end
1198
1372
  end
1199
1373
 
1374
+ # Describes a URL link.
1375
+ class Link
1376
+ include Google::Apis::Core::Hashable
1377
+
1378
+ # Describes what the link offers.
1379
+ # Corresponds to the JSON property `description`
1380
+ # @return [String]
1381
+ attr_accessor :description
1382
+
1383
+ # The URL of the link.
1384
+ # Corresponds to the JSON property `url`
1385
+ # @return [String]
1386
+ attr_accessor :url
1387
+
1388
+ def initialize(**args)
1389
+ update!(**args)
1390
+ end
1391
+
1392
+ # Update properties of this object
1393
+ def update!(**args)
1394
+ @description = args[:description] if args.key?(:description)
1395
+ @url = args[:url] if args.key?(:url)
1396
+ end
1397
+ end
1398
+
1200
1399
  # Response message for listing connection profiles.
1201
1400
  class ListConnectionProfilesResponse
1202
1401
  include Google::Apis::Core::Hashable
@@ -1409,6 +1608,33 @@ module Google
1409
1608
  end
1410
1609
  end
1411
1610
 
1611
+ # Provides a localized error message that is safe to return to the user which
1612
+ # can be attached to an RPC error.
1613
+ class LocalizedMessage
1614
+ include Google::Apis::Core::Hashable
1615
+
1616
+ # The locale used following the specification defined at https://www.rfc-editor.
1617
+ # org/rfc/bcp/bcp47.txt. Examples are: "en-US", "fr-CH", "es-MX"
1618
+ # Corresponds to the JSON property `locale`
1619
+ # @return [String]
1620
+ attr_accessor :locale
1621
+
1622
+ # The localized error message in the above locale.
1623
+ # Corresponds to the JSON property `message`
1624
+ # @return [String]
1625
+ attr_accessor :message
1626
+
1627
+ def initialize(**args)
1628
+ update!(**args)
1629
+ end
1630
+
1631
+ # Update properties of this object
1632
+ def update!(**args)
1633
+ @locale = args[:locale] if args.key?(:locale)
1634
+ @message = args[:message] if args.key?(:message)
1635
+ end
1636
+ end
1637
+
1412
1638
  # A resource that represents a Google Cloud location.
1413
1639
  class Location
1414
1640
  include Google::Apis::Core::Hashable
@@ -3138,6 +3364,64 @@ module Google
3138
3364
  end
3139
3365
  end
3140
3366
 
3367
+ # Describes what preconditions have failed. For example, if an RPC failed
3368
+ # because it required the Terms of Service to be acknowledged, it could list the
3369
+ # terms of service violation in the PreconditionFailure message.
3370
+ class PreconditionFailure
3371
+ include Google::Apis::Core::Hashable
3372
+
3373
+ # Describes all precondition violations.
3374
+ # Corresponds to the JSON property `violations`
3375
+ # @return [Array<Google::Apis::DatastreamV1::PreconditionFailureViolation>]
3376
+ attr_accessor :violations
3377
+
3378
+ def initialize(**args)
3379
+ update!(**args)
3380
+ end
3381
+
3382
+ # Update properties of this object
3383
+ def update!(**args)
3384
+ @violations = args[:violations] if args.key?(:violations)
3385
+ end
3386
+ end
3387
+
3388
+ # A message type used to describe a single precondition failure.
3389
+ class PreconditionFailureViolation
3390
+ include Google::Apis::Core::Hashable
3391
+
3392
+ # A description of how the precondition failed. Developers can use this
3393
+ # description to understand how to fix the failure. For example: "Terms of
3394
+ # service not accepted".
3395
+ # Corresponds to the JSON property `description`
3396
+ # @return [String]
3397
+ attr_accessor :description
3398
+
3399
+ # The subject, relative to the type, that failed. For example, "google.com/cloud"
3400
+ # relative to the "TOS" type would indicate which terms of service is being
3401
+ # referenced.
3402
+ # Corresponds to the JSON property `subject`
3403
+ # @return [String]
3404
+ attr_accessor :subject
3405
+
3406
+ # The type of PreconditionFailure. We recommend using a service-specific enum
3407
+ # type to define the supported precondition violation subjects. For example, "
3408
+ # TOS" for "Terms of Service violation".
3409
+ # Corresponds to the JSON property `type`
3410
+ # @return [String]
3411
+ attr_accessor :type
3412
+
3413
+ def initialize(**args)
3414
+ update!(**args)
3415
+ end
3416
+
3417
+ # Update properties of this object
3418
+ def update!(**args)
3419
+ @description = args[:description] if args.key?(:description)
3420
+ @subject = args[:subject] if args.key?(:subject)
3421
+ @type = args[:type] if args.key?(:type)
3422
+ end
3423
+ end
3424
+
3141
3425
  # The PrivateConnection resource is used to establish private connectivity
3142
3426
  # between Datastream and a customer's network.
3143
3427
  class PrivateConnection
@@ -3264,6 +3548,225 @@ module Google
3264
3548
  end
3265
3549
  end
3266
3550
 
3551
+ # Describes how a quota check failed. For example if a daily limit was exceeded
3552
+ # for the calling project, a service could respond with a QuotaFailure detail
3553
+ # containing the project id and the description of the quota limit that was
3554
+ # exceeded. If the calling project hasn't enabled the service in the developer
3555
+ # console, then a service could respond with the project id and set `
3556
+ # service_disabled` to true. Also see RetryInfo and Help types for other details
3557
+ # about handling a quota failure.
3558
+ class QuotaFailure
3559
+ include Google::Apis::Core::Hashable
3560
+
3561
+ # Describes all quota violations.
3562
+ # Corresponds to the JSON property `violations`
3563
+ # @return [Array<Google::Apis::DatastreamV1::QuotaFailureViolation>]
3564
+ attr_accessor :violations
3565
+
3566
+ def initialize(**args)
3567
+ update!(**args)
3568
+ end
3569
+
3570
+ # Update properties of this object
3571
+ def update!(**args)
3572
+ @violations = args[:violations] if args.key?(:violations)
3573
+ end
3574
+ end
3575
+
3576
+ # A message type used to describe a single quota violation. For example, a daily
3577
+ # quota or a custom quota that was exceeded.
3578
+ class QuotaFailureViolation
3579
+ include Google::Apis::Core::Hashable
3580
+
3581
+ # The API Service from which the `QuotaFailure.Violation` orginates. In some
3582
+ # cases, Quota issues originate from an API Service other than the one that was
3583
+ # called. In other words, a dependency of the called API Service could be the
3584
+ # cause of the `QuotaFailure`, and this field would have the dependency API
3585
+ # service name. For example, if the called API is Kubernetes Engine API (
3586
+ # container.googleapis.com), and a quota violation occurs in the Kubernetes
3587
+ # Engine API itself, this field would be "container.googleapis.com". On the
3588
+ # other hand, if the quota violation occurs when the Kubernetes Engine API
3589
+ # creates VMs in the Compute Engine API (compute.googleapis.com), this field
3590
+ # would be "compute.googleapis.com".
3591
+ # Corresponds to the JSON property `apiService`
3592
+ # @return [String]
3593
+ attr_accessor :api_service
3594
+
3595
+ # A description of how the quota check failed. Clients can use this description
3596
+ # to find more about the quota configuration in the service's public
3597
+ # documentation, or find the relevant quota limit to adjust through developer
3598
+ # console. For example: "Service disabled" or "Daily Limit for read operations
3599
+ # exceeded".
3600
+ # Corresponds to the JSON property `description`
3601
+ # @return [String]
3602
+ attr_accessor :description
3603
+
3604
+ # The new quota value being rolled out at the time of the violation. At the
3605
+ # completion of the rollout, this value will be enforced in place of quota_value.
3606
+ # If no rollout is in progress at the time of the violation, this field is not
3607
+ # set. For example, if at the time of the violation a rollout is in progress
3608
+ # changing the number of CPUs quota from 10 to 20, 20 would be the value of this
3609
+ # field.
3610
+ # Corresponds to the JSON property `futureQuotaValue`
3611
+ # @return [Fixnum]
3612
+ attr_accessor :future_quota_value
3613
+
3614
+ # The dimensions of the violated quota. Every non-global quota is enforced on a
3615
+ # set of dimensions. While quota metric defines what to count, the dimensions
3616
+ # specify for what aspects the counter should be increased. For example, the
3617
+ # quota "CPUs per region per VM family" enforces a limit on the metric "compute.
3618
+ # googleapis.com/cpus_per_vm_family" on dimensions "region" and "vm_family". And
3619
+ # if the violation occurred in region "us-central1" and for VM family "n1", the
3620
+ # quota_dimensions would be, ` "region": "us-central1", "vm_family": "n1", `
3621
+ # When a quota is enforced globally, the quota_dimensions would always be empty.
3622
+ # Corresponds to the JSON property `quotaDimensions`
3623
+ # @return [Hash<String,String>]
3624
+ attr_accessor :quota_dimensions
3625
+
3626
+ # The id of the violated quota. Also know as "limit name", this is the unique
3627
+ # identifier of a quota in the context of an API service. For example, "CPUS-PER-
3628
+ # VM-FAMILY-per-project-region".
3629
+ # Corresponds to the JSON property `quotaId`
3630
+ # @return [String]
3631
+ attr_accessor :quota_id
3632
+
3633
+ # The metric of the violated quota. A quota metric is a named counter to measure
3634
+ # usage, such as API requests or CPUs. When an activity occurs in a service,
3635
+ # such as Virtual Machine allocation, one or more quota metrics may be affected.
3636
+ # For example, "compute.googleapis.com/cpus_per_vm_family", "storage.googleapis.
3637
+ # com/internet_egress_bandwidth".
3638
+ # Corresponds to the JSON property `quotaMetric`
3639
+ # @return [String]
3640
+ attr_accessor :quota_metric
3641
+
3642
+ # The enforced quota value at the time of the `QuotaFailure`. For example, if
3643
+ # the enforced quota value at the time of the `QuotaFailure` on the number of
3644
+ # CPUs is "10", then the value of this field would reflect this quantity.
3645
+ # Corresponds to the JSON property `quotaValue`
3646
+ # @return [Fixnum]
3647
+ attr_accessor :quota_value
3648
+
3649
+ # The subject on which the quota check failed. For example, "clientip:" or "
3650
+ # project:".
3651
+ # Corresponds to the JSON property `subject`
3652
+ # @return [String]
3653
+ attr_accessor :subject
3654
+
3655
+ def initialize(**args)
3656
+ update!(**args)
3657
+ end
3658
+
3659
+ # Update properties of this object
3660
+ def update!(**args)
3661
+ @api_service = args[:api_service] if args.key?(:api_service)
3662
+ @description = args[:description] if args.key?(:description)
3663
+ @future_quota_value = args[:future_quota_value] if args.key?(:future_quota_value)
3664
+ @quota_dimensions = args[:quota_dimensions] if args.key?(:quota_dimensions)
3665
+ @quota_id = args[:quota_id] if args.key?(:quota_id)
3666
+ @quota_metric = args[:quota_metric] if args.key?(:quota_metric)
3667
+ @quota_value = args[:quota_value] if args.key?(:quota_value)
3668
+ @subject = args[:subject] if args.key?(:subject)
3669
+ end
3670
+ end
3671
+
3672
+ # Contains metadata about the request that clients can attach when filing a bug
3673
+ # or providing other forms of feedback.
3674
+ class RequestInfo
3675
+ include Google::Apis::Core::Hashable
3676
+
3677
+ # An opaque string that should only be interpreted by the service generating it.
3678
+ # For example, it can be used to identify requests in the service's logs.
3679
+ # Corresponds to the JSON property `requestId`
3680
+ # @return [String]
3681
+ attr_accessor :request_id
3682
+
3683
+ # Any data that was used to serve this request. For example, an encrypted stack
3684
+ # trace that can be sent back to the service provider for debugging.
3685
+ # Corresponds to the JSON property `servingData`
3686
+ # @return [String]
3687
+ attr_accessor :serving_data
3688
+
3689
+ def initialize(**args)
3690
+ update!(**args)
3691
+ end
3692
+
3693
+ # Update properties of this object
3694
+ def update!(**args)
3695
+ @request_id = args[:request_id] if args.key?(:request_id)
3696
+ @serving_data = args[:serving_data] if args.key?(:serving_data)
3697
+ end
3698
+ end
3699
+
3700
+ # Describes the resource that is being accessed.
3701
+ class ResourceInfo
3702
+ include Google::Apis::Core::Hashable
3703
+
3704
+ # Describes what error is encountered when accessing this resource. For example,
3705
+ # updating a cloud project may require the `writer` permission on the developer
3706
+ # console project.
3707
+ # Corresponds to the JSON property `description`
3708
+ # @return [String]
3709
+ attr_accessor :description
3710
+
3711
+ # The owner of the resource (optional). For example, "user:" or "project:".
3712
+ # Corresponds to the JSON property `owner`
3713
+ # @return [String]
3714
+ attr_accessor :owner
3715
+
3716
+ # The name of the resource being accessed. For example, a shared calendar name: "
3717
+ # example.com_4fghdhgsrgh@group.calendar.google.com", if the current error is
3718
+ # google.rpc.Code.PERMISSION_DENIED.
3719
+ # Corresponds to the JSON property `resourceName`
3720
+ # @return [String]
3721
+ attr_accessor :resource_name
3722
+
3723
+ # A name for the type of resource being accessed, e.g. "sql table", "cloud
3724
+ # storage bucket", "file", "Google calendar"; or the type URL of the resource: e.
3725
+ # g. "type.googleapis.com/google.pubsub.v1.Topic".
3726
+ # Corresponds to the JSON property `resourceType`
3727
+ # @return [String]
3728
+ attr_accessor :resource_type
3729
+
3730
+ def initialize(**args)
3731
+ update!(**args)
3732
+ end
3733
+
3734
+ # Update properties of this object
3735
+ def update!(**args)
3736
+ @description = args[:description] if args.key?(:description)
3737
+ @owner = args[:owner] if args.key?(:owner)
3738
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
3739
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
3740
+ end
3741
+ end
3742
+
3743
+ # Describes when the clients can retry a failed request. Clients could ignore
3744
+ # the recommendation here or retry when this information is missing from error
3745
+ # responses. It's always recommended that clients should use exponential backoff
3746
+ # when retrying. Clients should wait until `retry_delay` amount of time has
3747
+ # passed since receiving the error response before retrying. If retrying
3748
+ # requests also fail, clients should use an exponential backoff scheme to
3749
+ # gradually increase the delay between retries based on `retry_delay`, until
3750
+ # either a maximum number of retries have been reached or a maximum retry delay
3751
+ # cap has been reached.
3752
+ class RetryInfo
3753
+ include Google::Apis::Core::Hashable
3754
+
3755
+ # Clients should wait at least this long between retrying the same request.
3756
+ # Corresponds to the JSON property `retryDelay`
3757
+ # @return [String]
3758
+ attr_accessor :retry_delay
3759
+
3760
+ def initialize(**args)
3761
+ update!(**args)
3762
+ end
3763
+
3764
+ # Update properties of this object
3765
+ def update!(**args)
3766
+ @retry_delay = args[:retry_delay] if args.key?(:retry_delay)
3767
+ end
3768
+ end
3769
+
3267
3770
  # The route resource is the child of the private connection resource, used for
3268
3771
  # defining a route for a private connection.
3269
3772
  class Route
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DatastreamV1
18
18
  # Version of the google-apis-datastream_v1 gem
19
- GEM_VERSION = "0.63.0"
19
+ GEM_VERSION = "0.65.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 = "20260114"
25
+ REVISION = "20260204"
26
26
  end
27
27
  end
28
28
  end
@@ -52,6 +52,12 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class BadRequest
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
55
61
  class BasicEncryption
56
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
63
 
@@ -130,6 +136,12 @@ module Google
130
136
  include Google::Apis::Core::JsonObjectSupport
131
137
  end
132
138
 
139
+ class DebugInfo
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
133
145
  class DestinationConfig
134
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
147
 
@@ -178,6 +190,12 @@ module Google
178
190
  include Google::Apis::Core::JsonObjectSupport
179
191
  end
180
192
 
193
+ class ErrorInfo
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
181
199
  class EventFilter
182
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
201
 
@@ -190,6 +208,12 @@ module Google
190
208
  include Google::Apis::Core::JsonObjectSupport
191
209
  end
192
210
 
211
+ class FieldViolation
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
193
217
  class ForwardSshTunnelConnectivity
194
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
219
 
@@ -214,6 +238,12 @@ module Google
214
238
  include Google::Apis::Core::JsonObjectSupport
215
239
  end
216
240
 
241
+ class Help
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
217
247
  class HostAddress
218
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
249
 
@@ -238,6 +268,12 @@ module Google
238
268
  include Google::Apis::Core::JsonObjectSupport
239
269
  end
240
270
 
271
+ class Link
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
241
277
  class ListConnectionProfilesResponse
242
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
279
 
@@ -280,6 +316,12 @@ module Google
280
316
  include Google::Apis::Core::JsonObjectSupport
281
317
  end
282
318
 
319
+ class LocalizedMessage
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
283
325
  class Location
284
326
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
327
 
@@ -574,6 +616,18 @@ module Google
574
616
  include Google::Apis::Core::JsonObjectSupport
575
617
  end
576
618
 
619
+ class PreconditionFailure
620
+ class Representation < Google::Apis::Core::JsonRepresentation; end
621
+
622
+ include Google::Apis::Core::JsonObjectSupport
623
+ end
624
+
625
+ class PreconditionFailureViolation
626
+ class Representation < Google::Apis::Core::JsonRepresentation; end
627
+
628
+ include Google::Apis::Core::JsonObjectSupport
629
+ end
630
+
577
631
  class PrivateConnection
578
632
  class Representation < Google::Apis::Core::JsonRepresentation; end
579
633
 
@@ -592,6 +646,36 @@ module Google
592
646
  include Google::Apis::Core::JsonObjectSupport
593
647
  end
594
648
 
649
+ class QuotaFailure
650
+ class Representation < Google::Apis::Core::JsonRepresentation; end
651
+
652
+ include Google::Apis::Core::JsonObjectSupport
653
+ end
654
+
655
+ class QuotaFailureViolation
656
+ class Representation < Google::Apis::Core::JsonRepresentation; end
657
+
658
+ include Google::Apis::Core::JsonObjectSupport
659
+ end
660
+
661
+ class RequestInfo
662
+ class Representation < Google::Apis::Core::JsonRepresentation; end
663
+
664
+ include Google::Apis::Core::JsonObjectSupport
665
+ end
666
+
667
+ class ResourceInfo
668
+ class Representation < Google::Apis::Core::JsonRepresentation; end
669
+
670
+ include Google::Apis::Core::JsonObjectSupport
671
+ end
672
+
673
+ class RetryInfo
674
+ class Representation < Google::Apis::Core::JsonRepresentation; end
675
+
676
+ include Google::Apis::Core::JsonObjectSupport
677
+ end
678
+
595
679
  class Route
596
680
  class Representation < Google::Apis::Core::JsonRepresentation; end
597
681
 
@@ -948,6 +1032,14 @@ module Google
948
1032
  end
949
1033
  end
950
1034
 
1035
+ class BadRequest
1036
+ # @private
1037
+ class Representation < Google::Apis::Core::JsonRepresentation
1038
+ collection :field_violations, as: 'fieldViolations', class: Google::Apis::DatastreamV1::FieldViolation, decorator: Google::Apis::DatastreamV1::FieldViolation::Representation
1039
+
1040
+ end
1041
+ end
1042
+
951
1043
  class BasicEncryption
952
1044
  # @private
953
1045
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1098,6 +1190,14 @@ module Google
1098
1190
  end
1099
1191
  end
1100
1192
 
1193
+ class DebugInfo
1194
+ # @private
1195
+ class Representation < Google::Apis::Core::JsonRepresentation
1196
+ property :detail, as: 'detail'
1197
+ collection :stack_entries, as: 'stackEntries'
1198
+ end
1199
+ end
1200
+
1101
1201
  class DestinationConfig
1102
1202
  # @private
1103
1203
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1191,6 +1291,15 @@ module Google
1191
1291
  end
1192
1292
  end
1193
1293
 
1294
+ class ErrorInfo
1295
+ # @private
1296
+ class Representation < Google::Apis::Core::JsonRepresentation
1297
+ property :domain, as: 'domain'
1298
+ hash :metadata, as: 'metadata'
1299
+ property :reason, as: 'reason'
1300
+ end
1301
+ end
1302
+
1194
1303
  class EventFilter
1195
1304
  # @private
1196
1305
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1206,6 +1315,17 @@ module Google
1206
1315
  end
1207
1316
  end
1208
1317
 
1318
+ class FieldViolation
1319
+ # @private
1320
+ class Representation < Google::Apis::Core::JsonRepresentation
1321
+ property :description, as: 'description'
1322
+ property :field, as: 'field'
1323
+ property :localized_message, as: 'localizedMessage', class: Google::Apis::DatastreamV1::LocalizedMessage, decorator: Google::Apis::DatastreamV1::LocalizedMessage::Representation
1324
+
1325
+ property :reason, as: 'reason'
1326
+ end
1327
+ end
1328
+
1209
1329
  class ForwardSshTunnelConnectivity
1210
1330
  # @private
1211
1331
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1244,6 +1364,14 @@ module Google
1244
1364
  end
1245
1365
  end
1246
1366
 
1367
+ class Help
1368
+ # @private
1369
+ class Representation < Google::Apis::Core::JsonRepresentation
1370
+ collection :links, as: 'links', class: Google::Apis::DatastreamV1::Link, decorator: Google::Apis::DatastreamV1::Link::Representation
1371
+
1372
+ end
1373
+ end
1374
+
1247
1375
  class HostAddress
1248
1376
  # @private
1249
1377
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1277,6 +1405,14 @@ module Google
1277
1405
  end
1278
1406
  end
1279
1407
 
1408
+ class Link
1409
+ # @private
1410
+ class Representation < Google::Apis::Core::JsonRepresentation
1411
+ property :description, as: 'description'
1412
+ property :url, as: 'url'
1413
+ end
1414
+ end
1415
+
1280
1416
  class ListConnectionProfilesResponse
1281
1417
  # @private
1282
1418
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1345,6 +1481,14 @@ module Google
1345
1481
  end
1346
1482
  end
1347
1483
 
1484
+ class LocalizedMessage
1485
+ # @private
1486
+ class Representation < Google::Apis::Core::JsonRepresentation
1487
+ property :locale, as: 'locale'
1488
+ property :message, as: 'message'
1489
+ end
1490
+ end
1491
+
1348
1492
  class Location
1349
1493
  # @private
1350
1494
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1845,6 +1989,23 @@ module Google
1845
1989
  end
1846
1990
  end
1847
1991
 
1992
+ class PreconditionFailure
1993
+ # @private
1994
+ class Representation < Google::Apis::Core::JsonRepresentation
1995
+ collection :violations, as: 'violations', class: Google::Apis::DatastreamV1::PreconditionFailureViolation, decorator: Google::Apis::DatastreamV1::PreconditionFailureViolation::Representation
1996
+
1997
+ end
1998
+ end
1999
+
2000
+ class PreconditionFailureViolation
2001
+ # @private
2002
+ class Representation < Google::Apis::Core::JsonRepresentation
2003
+ property :description, as: 'description'
2004
+ property :subject, as: 'subject'
2005
+ property :type, as: 'type'
2006
+ end
2007
+ end
2008
+
1848
2009
  class PrivateConnection
1849
2010
  # @private
1850
2011
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1879,6 +2040,53 @@ module Google
1879
2040
  end
1880
2041
  end
1881
2042
 
2043
+ class QuotaFailure
2044
+ # @private
2045
+ class Representation < Google::Apis::Core::JsonRepresentation
2046
+ collection :violations, as: 'violations', class: Google::Apis::DatastreamV1::QuotaFailureViolation, decorator: Google::Apis::DatastreamV1::QuotaFailureViolation::Representation
2047
+
2048
+ end
2049
+ end
2050
+
2051
+ class QuotaFailureViolation
2052
+ # @private
2053
+ class Representation < Google::Apis::Core::JsonRepresentation
2054
+ property :api_service, as: 'apiService'
2055
+ property :description, as: 'description'
2056
+ property :future_quota_value, :numeric_string => true, as: 'futureQuotaValue'
2057
+ hash :quota_dimensions, as: 'quotaDimensions'
2058
+ property :quota_id, as: 'quotaId'
2059
+ property :quota_metric, as: 'quotaMetric'
2060
+ property :quota_value, :numeric_string => true, as: 'quotaValue'
2061
+ property :subject, as: 'subject'
2062
+ end
2063
+ end
2064
+
2065
+ class RequestInfo
2066
+ # @private
2067
+ class Representation < Google::Apis::Core::JsonRepresentation
2068
+ property :request_id, as: 'requestId'
2069
+ property :serving_data, as: 'servingData'
2070
+ end
2071
+ end
2072
+
2073
+ class ResourceInfo
2074
+ # @private
2075
+ class Representation < Google::Apis::Core::JsonRepresentation
2076
+ property :description, as: 'description'
2077
+ property :owner, as: 'owner'
2078
+ property :resource_name, as: 'resourceName'
2079
+ property :resource_type, as: 'resourceType'
2080
+ end
2081
+ end
2082
+
2083
+ class RetryInfo
2084
+ # @private
2085
+ class Representation < Google::Apis::Core::JsonRepresentation
2086
+ property :retry_delay, as: 'retryDelay'
2087
+ end
2088
+ end
2089
+
1882
2090
  class Route
1883
2091
  # @private
1884
2092
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -119,7 +119,11 @@ module Google
119
119
  execute_or_queue_command(command, &block)
120
120
  end
121
121
 
122
- # Lists information about the supported locations for this service.
122
+ # Lists information about the supported locations for this service. This method
123
+ # can be called in two ways: * **List all public locations:** Use the path `GET /
124
+ # v1/locations`. * **List project-visible locations:** Use the path `GET /v1/
125
+ # projects/`project_id`/locations`. This may include public locations as well as
126
+ # private or other locations specifically visible to the project.
123
127
  # @param [String] name
124
128
  # The resource that owns the locations collection, if applicable.
125
129
  # @param [Array<String>, String] extra_location_types
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-datastream_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.63.0
4
+ version: 0.65.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_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-datastream_v1/v0.63.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datastream_v1/v0.65.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datastream_v1
62
62
  rdoc_options: []
63
63
  require_paths: