google-apis-gkebackup_v1 0.54.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6f39b46a41875f2350a23f06591caef53d7782eda5090653e070ae0f32f59a8b
|
|
4
|
+
data.tar.gz: 70007db5febb91e850ff87986212983047850aec4bbbf1e32689b5182451c8ff
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6520a02036608cc287bceff4ca44f8b2be9916718f361ea594fee59aef9bd3c56a1ab124853236c50c5d8318ed19c707ea0ae11f1de24abaca9237970d7f7e6b
|
|
7
|
+
data.tar.gz: 1483d0202c4e590d36a19cb0389f0d32ce2722cb8e4a543301d8e52d401b58c9c33e1b8e87faffda71d02f0a0b5231155644044816e2b0da949f0fee669c282a
|
data/CHANGELOG.md
CHANGED
|
@@ -1312,6 +1312,40 @@ 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
|
+
|
|
1315
1349
|
# The request message for Operations.CancelOperation.
|
|
1316
1350
|
class GoogleLongrunningCancelOperationRequest
|
|
1317
1351
|
include Google::Apis::Core::Hashable
|
|
@@ -3046,6 +3080,75 @@ module Google
|
|
|
3046
3080
|
end
|
|
3047
3081
|
end
|
|
3048
3082
|
|
|
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
|
+
|
|
3049
3152
|
# A transformation rule to be applied against Kubernetes resources as they are
|
|
3050
3153
|
# selected for restoration from a Backup. A rule contains both filtering logic (
|
|
3051
3154
|
# 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.55.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 = "20260107"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -142,6 +142,12 @@ 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
|
+
|
|
145
151
|
class GoogleLongrunningCancelOperationRequest
|
|
146
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
147
153
|
|
|
@@ -370,6 +376,18 @@ module Google
|
|
|
370
376
|
include Google::Apis::Core::JsonObjectSupport
|
|
371
377
|
end
|
|
372
378
|
|
|
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
|
+
|
|
373
391
|
class SubstitutionRule
|
|
374
392
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
375
393
|
|
|
@@ -707,6 +725,15 @@ module Google
|
|
|
707
725
|
end
|
|
708
726
|
end
|
|
709
727
|
|
|
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
|
+
|
|
710
737
|
class GoogleLongrunningCancelOperationRequest
|
|
711
738
|
# @private
|
|
712
739
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1124,6 +1151,24 @@ module Google
|
|
|
1124
1151
|
end
|
|
1125
1152
|
end
|
|
1126
1153
|
|
|
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
|
+
|
|
1127
1172
|
class SubstitutionRule
|
|
1128
1173
|
# @private
|
|
1129
1174
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -569,6 +569,36 @@ 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
|
+
|
|
572
602
|
# Lists BackupPlans in a given location.
|
|
573
603
|
# @param [String] parent
|
|
574
604
|
# Required. The location that contains the BackupPlans to list. Format: `
|
|
@@ -700,6 +730,39 @@ module Google
|
|
|
700
730
|
execute_or_queue_command(command, &block)
|
|
701
731
|
end
|
|
702
732
|
|
|
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
|
+
|
|
703
766
|
# Returns permissions that a caller has on the specified resource. If the
|
|
704
767
|
# resource does not exist, this will return an empty set of permissions, not a `
|
|
705
768
|
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
|
@@ -1895,6 +1958,36 @@ module Google
|
|
|
1895
1958
|
execute_or_queue_command(command, &block)
|
|
1896
1959
|
end
|
|
1897
1960
|
|
|
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
|
+
|
|
1898
1991
|
# Lists RestorePlans in a given location.
|
|
1899
1992
|
# @param [String] parent
|
|
1900
1993
|
# Required. The location that contains the RestorePlans to list. Format: `
|
|
@@ -2025,6 +2118,39 @@ module Google
|
|
|
2025
2118
|
execute_or_queue_command(command, &block)
|
|
2026
2119
|
end
|
|
2027
2120
|
|
|
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
|
+
|
|
2028
2154
|
# Returns permissions that a caller has on the specified resource. If the
|
|
2029
2155
|
# resource does not exist, this will return an empty set of permissions, not a `
|
|
2030
2156
|
# 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.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-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.55.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:
|