google-apis-gkebackup_v1 0.53.0 → 0.54.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2a346da2a00d07693d41f29d01a43b0e8538f7552647bba79b1ee503373b8df1
|
|
4
|
+
data.tar.gz: c6553137fb059a8ad4466be54b6c23bc0bafcf17a20704ccf75a49526a53bb31
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6bf4e12afbd208880b347ab998258c236efcc79318c3a7461f23e266c8fc42f1c9532da593b036d2d55b58961d13d457b709923e122b1a6f29f25a70f6bb82e4
|
|
7
|
+
data.tar.gz: fc357b588fc6355adb76dc8a228ca792616725723cce4e3417e4ed9b9a85472b306b8e5dbdef4bb9344061a1c877b48324397b89ee3a04b0b2385ed2d96d43ce
|
data/CHANGELOG.md
CHANGED
|
@@ -1312,40 +1312,6 @@ module Google
|
|
|
1312
1312
|
end
|
|
1313
1313
|
end
|
|
1314
1314
|
|
|
1315
|
-
# Response message for GetTags.
|
|
1316
|
-
class GetTagsResponse
|
|
1317
|
-
include Google::Apis::Core::Hashable
|
|
1318
|
-
|
|
1319
|
-
# A checksum based on the current bindings. This field is always set in server
|
|
1320
|
-
# responses.
|
|
1321
|
-
# Corresponds to the JSON property `etag`
|
|
1322
|
-
# @return [String]
|
|
1323
|
-
attr_accessor :etag
|
|
1324
|
-
|
|
1325
|
-
# Required. The full resource name of the service resource.
|
|
1326
|
-
# Corresponds to the JSON property `name`
|
|
1327
|
-
# @return [String]
|
|
1328
|
-
attr_accessor :name
|
|
1329
|
-
|
|
1330
|
-
# Required. Tag keys/values directly bound to this resource. Each item in the
|
|
1331
|
-
# map must be expressed as " : ". For example: "123/environment" : "production",
|
|
1332
|
-
# "123/costCenter" : "marketing"
|
|
1333
|
-
# Corresponds to the JSON property `tags`
|
|
1334
|
-
# @return [Hash<String,String>]
|
|
1335
|
-
attr_accessor :tags
|
|
1336
|
-
|
|
1337
|
-
def initialize(**args)
|
|
1338
|
-
update!(**args)
|
|
1339
|
-
end
|
|
1340
|
-
|
|
1341
|
-
# Update properties of this object
|
|
1342
|
-
def update!(**args)
|
|
1343
|
-
@etag = args[:etag] if args.key?(:etag)
|
|
1344
|
-
@name = args[:name] if args.key?(:name)
|
|
1345
|
-
@tags = args[:tags] if args.key?(:tags)
|
|
1346
|
-
end
|
|
1347
|
-
end
|
|
1348
|
-
|
|
1349
1315
|
# The request message for Operations.CancelOperation.
|
|
1350
1316
|
class GoogleLongrunningCancelOperationRequest
|
|
1351
1317
|
include Google::Apis::Core::Hashable
|
|
@@ -3080,75 +3046,6 @@ module Google
|
|
|
3080
3046
|
end
|
|
3081
3047
|
end
|
|
3082
3048
|
|
|
3083
|
-
# Request message for SetTags.
|
|
3084
|
-
class SetTagsRequest
|
|
3085
|
-
include Google::Apis::Core::Hashable
|
|
3086
|
-
|
|
3087
|
-
# Optional. A checksum based on the current bindings which can be passed to
|
|
3088
|
-
# prevent race conditions. If not passed, etag check would be skipped.
|
|
3089
|
-
# Corresponds to the JSON property `etag`
|
|
3090
|
-
# @return [String]
|
|
3091
|
-
attr_accessor :etag
|
|
3092
|
-
|
|
3093
|
-
# Optional. A unique identifier for this request. Must be a valid UUID. This
|
|
3094
|
-
# request is only idempotent if a `request_id` is provided.
|
|
3095
|
-
# Corresponds to the JSON property `requestId`
|
|
3096
|
-
# @return [String]
|
|
3097
|
-
attr_accessor :request_id
|
|
3098
|
-
|
|
3099
|
-
# Required. These bindings will override any bindings previously set and will be
|
|
3100
|
-
# effective immediately. Each item in the map must be expressed as " : ". For
|
|
3101
|
-
# example: "123/environment" : "production", "123/costCenter" : "marketing"
|
|
3102
|
-
# Corresponds to the JSON property `tags`
|
|
3103
|
-
# @return [Hash<String,String>]
|
|
3104
|
-
attr_accessor :tags
|
|
3105
|
-
|
|
3106
|
-
def initialize(**args)
|
|
3107
|
-
update!(**args)
|
|
3108
|
-
end
|
|
3109
|
-
|
|
3110
|
-
# Update properties of this object
|
|
3111
|
-
def update!(**args)
|
|
3112
|
-
@etag = args[:etag] if args.key?(:etag)
|
|
3113
|
-
@request_id = args[:request_id] if args.key?(:request_id)
|
|
3114
|
-
@tags = args[:tags] if args.key?(:tags)
|
|
3115
|
-
end
|
|
3116
|
-
end
|
|
3117
|
-
|
|
3118
|
-
# Response message for SetTags.
|
|
3119
|
-
class SetTagsResponse
|
|
3120
|
-
include Google::Apis::Core::Hashable
|
|
3121
|
-
|
|
3122
|
-
# A checksum based on the current bindings. This field is always set in server
|
|
3123
|
-
# responses.
|
|
3124
|
-
# Corresponds to the JSON property `etag`
|
|
3125
|
-
# @return [String]
|
|
3126
|
-
attr_accessor :etag
|
|
3127
|
-
|
|
3128
|
-
# Required. The full resource name of the service resource.
|
|
3129
|
-
# Corresponds to the JSON property `name`
|
|
3130
|
-
# @return [String]
|
|
3131
|
-
attr_accessor :name
|
|
3132
|
-
|
|
3133
|
-
# Required. Tag keys/values directly bound to this resource. Each item in the
|
|
3134
|
-
# map must be expressed as " : ". For example: "123/environment" : "production",
|
|
3135
|
-
# "123/costCenter" : "marketing"
|
|
3136
|
-
# Corresponds to the JSON property `tags`
|
|
3137
|
-
# @return [Hash<String,String>]
|
|
3138
|
-
attr_accessor :tags
|
|
3139
|
-
|
|
3140
|
-
def initialize(**args)
|
|
3141
|
-
update!(**args)
|
|
3142
|
-
end
|
|
3143
|
-
|
|
3144
|
-
# Update properties of this object
|
|
3145
|
-
def update!(**args)
|
|
3146
|
-
@etag = args[:etag] if args.key?(:etag)
|
|
3147
|
-
@name = args[:name] if args.key?(:name)
|
|
3148
|
-
@tags = args[:tags] if args.key?(:tags)
|
|
3149
|
-
end
|
|
3150
|
-
end
|
|
3151
|
-
|
|
3152
3049
|
# A transformation rule to be applied against Kubernetes resources as they are
|
|
3153
3050
|
# selected for restoration from a Backup. A rule contains both filtering logic (
|
|
3154
3051
|
# which resources are subject to substitution) and substitution logic.
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module GkebackupV1
|
|
18
18
|
# Version of the google-apis-gkebackup_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.54.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 = "
|
|
25
|
+
REVISION = "20251209"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -142,12 +142,6 @@ module Google
|
|
|
142
142
|
include Google::Apis::Core::JsonObjectSupport
|
|
143
143
|
end
|
|
144
144
|
|
|
145
|
-
class GetTagsResponse
|
|
146
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
147
|
-
|
|
148
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
149
|
-
end
|
|
150
|
-
|
|
151
145
|
class GoogleLongrunningCancelOperationRequest
|
|
152
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
153
147
|
|
|
@@ -376,18 +370,6 @@ module Google
|
|
|
376
370
|
include Google::Apis::Core::JsonObjectSupport
|
|
377
371
|
end
|
|
378
372
|
|
|
379
|
-
class SetTagsRequest
|
|
380
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
381
|
-
|
|
382
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
383
|
-
end
|
|
384
|
-
|
|
385
|
-
class SetTagsResponse
|
|
386
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
387
|
-
|
|
388
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
389
|
-
end
|
|
390
|
-
|
|
391
373
|
class SubstitutionRule
|
|
392
374
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
393
375
|
|
|
@@ -725,15 +707,6 @@ module Google
|
|
|
725
707
|
end
|
|
726
708
|
end
|
|
727
709
|
|
|
728
|
-
class GetTagsResponse
|
|
729
|
-
# @private
|
|
730
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
731
|
-
property :etag, as: 'etag'
|
|
732
|
-
property :name, as: 'name'
|
|
733
|
-
hash :tags, as: 'tags'
|
|
734
|
-
end
|
|
735
|
-
end
|
|
736
|
-
|
|
737
710
|
class GoogleLongrunningCancelOperationRequest
|
|
738
711
|
# @private
|
|
739
712
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1151,24 +1124,6 @@ module Google
|
|
|
1151
1124
|
end
|
|
1152
1125
|
end
|
|
1153
1126
|
|
|
1154
|
-
class SetTagsRequest
|
|
1155
|
-
# @private
|
|
1156
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1157
|
-
property :etag, as: 'etag'
|
|
1158
|
-
property :request_id, as: 'requestId'
|
|
1159
|
-
hash :tags, as: 'tags'
|
|
1160
|
-
end
|
|
1161
|
-
end
|
|
1162
|
-
|
|
1163
|
-
class SetTagsResponse
|
|
1164
|
-
# @private
|
|
1165
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1166
|
-
property :etag, as: 'etag'
|
|
1167
|
-
property :name, as: 'name'
|
|
1168
|
-
hash :tags, as: 'tags'
|
|
1169
|
-
end
|
|
1170
|
-
end
|
|
1171
|
-
|
|
1172
1127
|
class SubstitutionRule
|
|
1173
1128
|
# @private
|
|
1174
1129
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -569,36 +569,6 @@ module Google
|
|
|
569
569
|
execute_or_queue_command(command, &block)
|
|
570
570
|
end
|
|
571
571
|
|
|
572
|
-
# Returns tags directly bound to a GCP resource.
|
|
573
|
-
# @param [String] name
|
|
574
|
-
# Required. The full resource name of the service resource.
|
|
575
|
-
# @param [String] fields
|
|
576
|
-
# Selector specifying which fields to include in a partial response.
|
|
577
|
-
# @param [String] quota_user
|
|
578
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
579
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
580
|
-
# @param [Google::Apis::RequestOptions] options
|
|
581
|
-
# Request-specific options
|
|
582
|
-
#
|
|
583
|
-
# @yield [result, err] Result & error if block supplied
|
|
584
|
-
# @yieldparam result [Google::Apis::GkebackupV1::GetTagsResponse] parsed result object
|
|
585
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
586
|
-
#
|
|
587
|
-
# @return [Google::Apis::GkebackupV1::GetTagsResponse]
|
|
588
|
-
#
|
|
589
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
590
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
591
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
592
|
-
def get_project_location_backup_plan_tags(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
593
|
-
command = make_simple_command(:get, 'v1/{+name}:getTags', options)
|
|
594
|
-
command.response_representation = Google::Apis::GkebackupV1::GetTagsResponse::Representation
|
|
595
|
-
command.response_class = Google::Apis::GkebackupV1::GetTagsResponse
|
|
596
|
-
command.params['name'] = name unless name.nil?
|
|
597
|
-
command.query['fields'] = fields unless fields.nil?
|
|
598
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
599
|
-
execute_or_queue_command(command, &block)
|
|
600
|
-
end
|
|
601
|
-
|
|
602
572
|
# Lists BackupPlans in a given location.
|
|
603
573
|
# @param [String] parent
|
|
604
574
|
# Required. The location that contains the BackupPlans to list. Format: `
|
|
@@ -730,39 +700,6 @@ module Google
|
|
|
730
700
|
execute_or_queue_command(command, &block)
|
|
731
701
|
end
|
|
732
702
|
|
|
733
|
-
# Updates tags directly bound to a GCP resource.
|
|
734
|
-
# @param [String] name
|
|
735
|
-
# Required. The full resource name of the service resource.
|
|
736
|
-
# @param [Google::Apis::GkebackupV1::SetTagsRequest] set_tags_request_object
|
|
737
|
-
# @param [String] fields
|
|
738
|
-
# Selector specifying which fields to include in a partial response.
|
|
739
|
-
# @param [String] quota_user
|
|
740
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
741
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
742
|
-
# @param [Google::Apis::RequestOptions] options
|
|
743
|
-
# Request-specific options
|
|
744
|
-
#
|
|
745
|
-
# @yield [result, err] Result & error if block supplied
|
|
746
|
-
# @yieldparam result [Google::Apis::GkebackupV1::SetTagsResponse] parsed result object
|
|
747
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
748
|
-
#
|
|
749
|
-
# @return [Google::Apis::GkebackupV1::SetTagsResponse]
|
|
750
|
-
#
|
|
751
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
752
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
753
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
754
|
-
def set_backup_plan_tags(name, set_tags_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
755
|
-
command = make_simple_command(:post, 'v1/{+name}:setTags', options)
|
|
756
|
-
command.request_representation = Google::Apis::GkebackupV1::SetTagsRequest::Representation
|
|
757
|
-
command.request_object = set_tags_request_object
|
|
758
|
-
command.response_representation = Google::Apis::GkebackupV1::SetTagsResponse::Representation
|
|
759
|
-
command.response_class = Google::Apis::GkebackupV1::SetTagsResponse
|
|
760
|
-
command.params['name'] = name unless name.nil?
|
|
761
|
-
command.query['fields'] = fields unless fields.nil?
|
|
762
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
763
|
-
execute_or_queue_command(command, &block)
|
|
764
|
-
end
|
|
765
|
-
|
|
766
703
|
# Returns permissions that a caller has on the specified resource. If the
|
|
767
704
|
# resource does not exist, this will return an empty set of permissions, not a `
|
|
768
705
|
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
|
@@ -1958,36 +1895,6 @@ module Google
|
|
|
1958
1895
|
execute_or_queue_command(command, &block)
|
|
1959
1896
|
end
|
|
1960
1897
|
|
|
1961
|
-
# Returns tags directly bound to a GCP resource.
|
|
1962
|
-
# @param [String] name
|
|
1963
|
-
# Required. The full resource name of the service resource.
|
|
1964
|
-
# @param [String] fields
|
|
1965
|
-
# Selector specifying which fields to include in a partial response.
|
|
1966
|
-
# @param [String] quota_user
|
|
1967
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
1968
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1969
|
-
# @param [Google::Apis::RequestOptions] options
|
|
1970
|
-
# Request-specific options
|
|
1971
|
-
#
|
|
1972
|
-
# @yield [result, err] Result & error if block supplied
|
|
1973
|
-
# @yieldparam result [Google::Apis::GkebackupV1::GetTagsResponse] parsed result object
|
|
1974
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
1975
|
-
#
|
|
1976
|
-
# @return [Google::Apis::GkebackupV1::GetTagsResponse]
|
|
1977
|
-
#
|
|
1978
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1979
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1980
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1981
|
-
def get_project_location_restore_plan_tags(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1982
|
-
command = make_simple_command(:get, 'v1/{+name}:getTags', options)
|
|
1983
|
-
command.response_representation = Google::Apis::GkebackupV1::GetTagsResponse::Representation
|
|
1984
|
-
command.response_class = Google::Apis::GkebackupV1::GetTagsResponse
|
|
1985
|
-
command.params['name'] = name unless name.nil?
|
|
1986
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1987
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1988
|
-
execute_or_queue_command(command, &block)
|
|
1989
|
-
end
|
|
1990
|
-
|
|
1991
1898
|
# Lists RestorePlans in a given location.
|
|
1992
1899
|
# @param [String] parent
|
|
1993
1900
|
# Required. The location that contains the RestorePlans to list. Format: `
|
|
@@ -2118,39 +2025,6 @@ module Google
|
|
|
2118
2025
|
execute_or_queue_command(command, &block)
|
|
2119
2026
|
end
|
|
2120
2027
|
|
|
2121
|
-
# Updates tags directly bound to a GCP resource.
|
|
2122
|
-
# @param [String] name
|
|
2123
|
-
# Required. The full resource name of the service resource.
|
|
2124
|
-
# @param [Google::Apis::GkebackupV1::SetTagsRequest] set_tags_request_object
|
|
2125
|
-
# @param [String] fields
|
|
2126
|
-
# Selector specifying which fields to include in a partial response.
|
|
2127
|
-
# @param [String] quota_user
|
|
2128
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
2129
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2130
|
-
# @param [Google::Apis::RequestOptions] options
|
|
2131
|
-
# Request-specific options
|
|
2132
|
-
#
|
|
2133
|
-
# @yield [result, err] Result & error if block supplied
|
|
2134
|
-
# @yieldparam result [Google::Apis::GkebackupV1::SetTagsResponse] parsed result object
|
|
2135
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
2136
|
-
#
|
|
2137
|
-
# @return [Google::Apis::GkebackupV1::SetTagsResponse]
|
|
2138
|
-
#
|
|
2139
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2140
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2141
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2142
|
-
def set_restore_plan_tags(name, set_tags_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2143
|
-
command = make_simple_command(:post, 'v1/{+name}:setTags', options)
|
|
2144
|
-
command.request_representation = Google::Apis::GkebackupV1::SetTagsRequest::Representation
|
|
2145
|
-
command.request_object = set_tags_request_object
|
|
2146
|
-
command.response_representation = Google::Apis::GkebackupV1::SetTagsResponse::Representation
|
|
2147
|
-
command.response_class = Google::Apis::GkebackupV1::SetTagsResponse
|
|
2148
|
-
command.params['name'] = name unless name.nil?
|
|
2149
|
-
command.query['fields'] = fields unless fields.nil?
|
|
2150
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2151
|
-
execute_or_queue_command(command, &block)
|
|
2152
|
-
end
|
|
2153
|
-
|
|
2154
2028
|
# Returns permissions that a caller has on the specified resource. If the
|
|
2155
2029
|
# resource does not exist, this will return an empty set of permissions, not a `
|
|
2156
2030
|
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-gkebackup_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.54.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-gkebackup_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-gkebackup_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkebackup_v1/v0.54.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkebackup_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|