google-apis-bigqueryreservation_v1 0.53.0 → 0.55.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: 4dd9bfb55e085259f4cb0f49bd00145d00ab9cce11161454b6570bfb49c25091
4
- data.tar.gz: 00a5a021389beb6ff8cc2fe6a84eac3d2a5eacaf4527bb4373cc037824f50cf2
3
+ metadata.gz: 205e73c6dc103cd225ee97cdff1467d4cb97e4b9c14614a33bcc7c778be0ad59
4
+ data.tar.gz: 47cf508616c9a48b1b8c229f1442bded884bc25f9faaf296227ef9ef474d6ac1
5
5
  SHA512:
6
- metadata.gz: 7e3a57c9dc3e47801e50925cb3db4efbd3affe435df7e6792a495cac1d8bd217832007b13d51413e295ec45da0e578c971955929e5788cf9fd0ff147e713fb6f
7
- data.tar.gz: 65ecc313a26b174a2000ef5ae95e6d3232bae8bbeeea3521ca49a3e089f138a9d4a61c6c830e5b267e43ff1309891670e5813414eab3d3bcd0243abc06e66e9e
6
+ metadata.gz: 66224d339b047ecdcb766f8d1cf1781d37c65c7253bc2b6e84232af2035ddd736fdf24189c54273924c38cc5f8511739bf6303147fbc23ba0975ef79222f111b
7
+ data.tar.gz: bd5d95bf94eb05bb8e7ffe36c657c65035456fec58bd2e4b116dee5e14cb4a0c56476d5a604e08a099b8594fe069076f947f7b3ea4aa9b2b31956f08e67fd8a0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-bigqueryreservation_v1
2
2
 
3
+ ### v0.55.0 (2026-07-26)
4
+
5
+ * Regenerated from discovery document revision 20260717
6
+
7
+ ### v0.54.0 (2026-07-12)
8
+
9
+ * Regenerated from discovery document revision 20260629
10
+
3
11
  ### v0.53.0 (2026-06-14)
4
12
 
5
13
  * Regenerated using generator version 0.19.0
@@ -973,6 +973,15 @@ module Google
973
973
  # @return [String]
974
974
  attr_accessor :reservation_group
975
975
 
976
+ # Output only. The reservation group path of the reservation from root to leaf.
977
+ # The order of elements matters: the first element is the top level group and
978
+ # the last element is the direct parent reservation group. For example, if a
979
+ # reservation is under group-1 -> group-2 -> group-3, then the reservation group
980
+ # path is ["group-1", "group-2", "group-3"].
981
+ # Corresponds to the JSON property `reservationGroupPath`
982
+ # @return [Array<String>]
983
+ attr_accessor :reservation_group_path
984
+
976
985
  # Optional. The scaling mode for the reservation. If the field is present but
977
986
  # max_slots is not present, requests will be rejected with error code `google.
978
987
  # rpc.Code.INVALID_ARGUMENT`.
@@ -1033,6 +1042,7 @@ module Google
1033
1042
  @primary_location = args[:primary_location] if args.key?(:primary_location)
1034
1043
  @replication_status = args[:replication_status] if args.key?(:replication_status)
1035
1044
  @reservation_group = args[:reservation_group] if args.key?(:reservation_group)
1045
+ @reservation_group_path = args[:reservation_group_path] if args.key?(:reservation_group_path)
1036
1046
  @scaling_mode = args[:scaling_mode] if args.key?(:scaling_mode)
1037
1047
  @scheduling_policy = args[:scheduling_policy] if args.key?(:scheduling_policy)
1038
1048
  @secondary_location = args[:secondary_location] if args.key?(:secondary_location)
@@ -1053,6 +1063,13 @@ module Google
1053
1063
  # @return [String]
1054
1064
  attr_accessor :name
1055
1065
 
1066
+ # Optional. The parent reservation group of the reservation group. Format: `
1067
+ # projects/*/locations/*/reservationGroups/team1-prod` for non-root reservation
1068
+ # groups, or `projects/*/locations/*` for root reservation groups.
1069
+ # Corresponds to the JSON property `parentGroup`
1070
+ # @return [String]
1071
+ attr_accessor :parent_group
1072
+
1056
1073
  def initialize(**args)
1057
1074
  update!(**args)
1058
1075
  end
@@ -1060,6 +1077,7 @@ module Google
1060
1077
  # Update properties of this object
1061
1078
  def update!(**args)
1062
1079
  @name = args[:name] if args.key?(:name)
1080
+ @parent_group = args[:parent_group] if args.key?(:parent_group)
1063
1081
  end
1064
1082
  end
1065
1083
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module BigqueryreservationV1
18
18
  # Version of the google-apis-bigqueryreservation_v1 gem
19
- GEM_VERSION = "0.53.0"
19
+ GEM_VERSION = "0.55.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260410"
25
+ REVISION = "20260717"
26
26
  end
27
27
  end
28
28
  end
@@ -396,6 +396,7 @@ module Google
396
396
  property :replication_status, as: 'replicationStatus', class: Google::Apis::BigqueryreservationV1::ReplicationStatus, decorator: Google::Apis::BigqueryreservationV1::ReplicationStatus::Representation
397
397
 
398
398
  property :reservation_group, as: 'reservationGroup'
399
+ collection :reservation_group_path, as: 'reservationGroupPath'
399
400
  property :scaling_mode, as: 'scalingMode'
400
401
  property :scheduling_policy, as: 'schedulingPolicy', class: Google::Apis::BigqueryreservationV1::SchedulingPolicy, decorator: Google::Apis::BigqueryreservationV1::SchedulingPolicy::Representation
401
402
 
@@ -409,6 +410,7 @@ module Google
409
410
  # @private
410
411
  class Representation < Google::Apis::Core::JsonRepresentation
411
412
  property :name, as: 'name'
413
+ property :parent_group, as: 'parentGroup'
412
414
  end
413
415
  end
414
416
 
@@ -633,6 +633,45 @@ module Google
633
633
  execute_or_queue_command(command, &block)
634
634
  end
635
635
 
636
+ # Updates an existing reservation group resource.
637
+ # @param [String] name
638
+ # Identifier. The resource name of the reservation group, e.g., `projects/*/
639
+ # locations/*/reservationGroups/team1-prod`. The reservation_group_id must only
640
+ # contain lower case alphanumeric characters or dashes. It must start with a
641
+ # letter and must not end with a dash. Its maximum length is 64 characters.
642
+ # @param [Google::Apis::BigqueryreservationV1::ReservationGroup] reservation_group_object
643
+ # @param [String] update_mask
644
+ # Optional. Standard field mask for the set of fields to be updated.
645
+ # @param [String] fields
646
+ # Selector specifying which fields to include in a partial response.
647
+ # @param [String] quota_user
648
+ # Available to use for quota purposes for server-side applications. Can be any
649
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
650
+ # @param [Google::Apis::RequestOptions] options
651
+ # Request-specific options
652
+ #
653
+ # @yield [result, err] Result & error if block supplied
654
+ # @yieldparam result [Google::Apis::BigqueryreservationV1::ReservationGroup] parsed result object
655
+ # @yieldparam err [StandardError] error object if request failed
656
+ #
657
+ # @return [Google::Apis::BigqueryreservationV1::ReservationGroup]
658
+ #
659
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
660
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
661
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
662
+ def patch_project_location_reservation_group(name, reservation_group_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
663
+ command = make_simple_command(:patch, 'v1/{+name}', options)
664
+ command.request_representation = Google::Apis::BigqueryreservationV1::ReservationGroup::Representation
665
+ command.request_object = reservation_group_object
666
+ command.response_representation = Google::Apis::BigqueryreservationV1::ReservationGroup::Representation
667
+ command.response_class = Google::Apis::BigqueryreservationV1::ReservationGroup
668
+ command.params['name'] = name unless name.nil?
669
+ command.query['updateMask'] = update_mask unless update_mask.nil?
670
+ command.query['fields'] = fields unless fields.nil?
671
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
672
+ execute_or_queue_command(command, &block)
673
+ end
674
+
636
675
  # Creates a new reservation resource.
637
676
  # @param [String] parent
638
677
  # Required. Project, location. E.g., `projects/myproject/locations/US`
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-bigqueryreservation_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.53.0
4
+ version: 0.55.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-bigqueryreservation_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-bigqueryreservation_v1/v0.53.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigqueryreservation_v1/v0.55.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigqueryreservation_v1
62
62
  rdoc_options: []
63
63
  require_paths: