google-apis-storagetransfer_v1 0.19.0 → 0.23.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 +4 -4
- data/CHANGELOG.md +17 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/storagetransfer_v1/classes.rb +71 -30
- data/lib/google/apis/storagetransfer_v1/gem_version.rb +3 -3
- data/lib/google/apis/storagetransfer_v1/representations.rb +5 -0
- data/lib/google/apis/storagetransfer_v1/service.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 66bad821cbafac73874973f4747a6c1e0e6f80d89f8dce6e5b32460fb6548c04
|
4
|
+
data.tar.gz: 7edc452e0e79ea0ae97809854db54eb57a88b4b854c3e1e8a9a6c9301bb7ffa6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b6e795fc5df4274b927147a5142ca756a3d54f79a84d68e928af20af8fa9b998194afcedaf0cef6169dc88eca3e9206ec9ef2414691f2414bf1bbd6b35a3b54
|
7
|
+
data.tar.gz: c8fcbfd139db8f2ce9c25c4c1937a1e2f102b557eb1bf8240bfd98557b858ff1bd5fc7fe6bf8e5c321b025d72fe3c9867dc9efccbc996cb68bcf9413ef0d2657
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-storagetransfer_v1
|
2
2
|
|
3
|
+
### v0.23.0 (2022-02-15)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220210
|
6
|
+
|
7
|
+
### v0.22.0 (2022-02-08)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220203
|
10
|
+
|
11
|
+
### v0.21.0 (2022-02-01)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220127
|
14
|
+
* Regenerated using generator version 0.4.1
|
15
|
+
|
16
|
+
### v0.20.0 (2021-12-14)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20211211
|
19
|
+
|
3
20
|
### v0.19.0 (2021-12-11)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20211210
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/storagetransfer_v1"
|
|
51
51
|
client = Google::Apis::StoragetransferV1::StoragetransferService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -245,10 +245,10 @@ module Google
|
|
245
245
|
# day and time zone are either specified elsewhere or are insignificant. The
|
246
246
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
247
247
|
# following: * A full date, with non-zero year, month, and day values * A month
|
248
|
-
# and day
|
249
|
-
#
|
250
|
-
#
|
251
|
-
# google.protobuf.Timestamp
|
248
|
+
# and day, with a zero year (e.g., an anniversary) * A year on its own, with a
|
249
|
+
# zero month and a zero day * A year and month, with a zero day (e.g., a credit
|
250
|
+
# card expiration date) Related types: * google.type.TimeOfDay * google.type.
|
251
|
+
# DateTime * google.protobuf.Timestamp
|
252
252
|
class Date
|
253
253
|
include Google::Apis::Core::Hashable
|
254
254
|
|
@@ -573,34 +573,68 @@ module Google
|
|
573
573
|
end
|
574
574
|
end
|
575
575
|
|
576
|
-
# Specifies the metadata options for running a transfer.
|
576
|
+
# Specifies the metadata options for running a transfer. These options only
|
577
|
+
# apply to transfers involving a POSIX filesystem and are ignored for other
|
578
|
+
# transfers.
|
577
579
|
class MetadataOptions
|
578
580
|
include Google::Apis::Core::Hashable
|
579
581
|
|
580
|
-
# Specifies how each
|
581
|
-
# unspecified, the default behavior is the same
|
582
|
-
#
|
582
|
+
# Specifies how each object's ACLs should be preserved for transfers between
|
583
|
+
# Google Cloud Storage buckets. If unspecified, the default behavior is the same
|
584
|
+
# as ACL_DESTINATION_BUCKET_DEFAULT.
|
585
|
+
# Corresponds to the JSON property `acl`
|
586
|
+
# @return [String]
|
587
|
+
attr_accessor :acl
|
588
|
+
|
589
|
+
# Specifies how each file's POSIX group ID (GID) attribute should be handled by
|
590
|
+
# the transfer. By default, GID is not preserved.
|
583
591
|
# Corresponds to the JSON property `gid`
|
584
592
|
# @return [String]
|
585
593
|
attr_accessor :gid
|
586
594
|
|
587
|
-
# Specifies how each
|
588
|
-
#
|
589
|
-
#
|
595
|
+
# Specifies how each object's Cloud KMS customer-managed encryption key (CMEK)
|
596
|
+
# is preserved for transfers between Google Cloud Storage buckets. If
|
597
|
+
# unspecified, the default behavior is the same as
|
598
|
+
# KMS_KEY_DESTINATION_BUCKET_DEFAULT.
|
599
|
+
# Corresponds to the JSON property `kmsKey`
|
600
|
+
# @return [String]
|
601
|
+
attr_accessor :kms_key
|
602
|
+
|
603
|
+
# Specifies how each file's mode attribute should be handled by the transfer. By
|
604
|
+
# default, mode is not preserved.
|
590
605
|
# Corresponds to the JSON property `mode`
|
591
606
|
# @return [String]
|
592
607
|
attr_accessor :mode
|
593
608
|
|
594
|
-
# Specifies
|
595
|
-
#
|
596
|
-
#
|
609
|
+
# Specifies the storage class to set on objects being transferred to Google
|
610
|
+
# Cloud Storage buckets. If unspecified, the default behavior is the same as
|
611
|
+
# STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT.
|
612
|
+
# Corresponds to the JSON property `storageClass`
|
613
|
+
# @return [String]
|
614
|
+
attr_accessor :storage_class
|
615
|
+
|
616
|
+
# Specifies how symlinks should be handled by the transfer. By default, symlinks
|
617
|
+
# are not preserved.
|
597
618
|
# Corresponds to the JSON property `symlink`
|
598
619
|
# @return [String]
|
599
620
|
attr_accessor :symlink
|
600
621
|
|
601
|
-
# Specifies how each
|
602
|
-
#
|
603
|
-
#
|
622
|
+
# Specifies how each object's temporary hold status should be preserved for
|
623
|
+
# transfers between Google Cloud Storage buckets. If unspecified, the default
|
624
|
+
# behavior is the same as TEMPORARY_HOLD_PRESERVE.
|
625
|
+
# Corresponds to the JSON property `temporaryHold`
|
626
|
+
# @return [String]
|
627
|
+
attr_accessor :temporary_hold
|
628
|
+
|
629
|
+
# Specifies how each object's `timeCreated` metadata is preserved for transfers
|
630
|
+
# between Google Cloud Storage buckets. If unspecified, the default behavior is
|
631
|
+
# the same as TIME_CREATED_SKIP.
|
632
|
+
# Corresponds to the JSON property `timeCreated`
|
633
|
+
# @return [String]
|
634
|
+
attr_accessor :time_created
|
635
|
+
|
636
|
+
# Specifies how each file's POSIX user ID (UID) attribute should be handled by
|
637
|
+
# the transfer. By default, UID is not preserved.
|
604
638
|
# Corresponds to the JSON property `uid`
|
605
639
|
# @return [String]
|
606
640
|
attr_accessor :uid
|
@@ -611,9 +645,14 @@ module Google
|
|
611
645
|
|
612
646
|
# Update properties of this object
|
613
647
|
def update!(**args)
|
648
|
+
@acl = args[:acl] if args.key?(:acl)
|
614
649
|
@gid = args[:gid] if args.key?(:gid)
|
650
|
+
@kms_key = args[:kms_key] if args.key?(:kms_key)
|
615
651
|
@mode = args[:mode] if args.key?(:mode)
|
652
|
+
@storage_class = args[:storage_class] if args.key?(:storage_class)
|
616
653
|
@symlink = args[:symlink] if args.key?(:symlink)
|
654
|
+
@temporary_hold = args[:temporary_hold] if args.key?(:temporary_hold)
|
655
|
+
@time_created = args[:time_created] if args.key?(:time_created)
|
617
656
|
@uid = args[:uid] if args.key?(:uid)
|
618
657
|
end
|
619
658
|
end
|
@@ -911,10 +950,10 @@ module Google
|
|
911
950
|
# day and time zone are either specified elsewhere or are insignificant. The
|
912
951
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
913
952
|
# following: * A full date, with non-zero year, month, and day values * A month
|
914
|
-
# and day
|
915
|
-
#
|
916
|
-
#
|
917
|
-
# google.protobuf.Timestamp
|
953
|
+
# and day, with a zero year (e.g., an anniversary) * A year on its own, with a
|
954
|
+
# zero month and a zero day * A year and month, with a zero day (e.g., a credit
|
955
|
+
# card expiration date) Related types: * google.type.TimeOfDay * google.type.
|
956
|
+
# DateTime * google.protobuf.Timestamp
|
918
957
|
# Corresponds to the JSON property `scheduleEndDate`
|
919
958
|
# @return [Google::Apis::StoragetransferV1::Date]
|
920
959
|
attr_accessor :schedule_end_date
|
@@ -923,10 +962,10 @@ module Google
|
|
923
962
|
# day and time zone are either specified elsewhere or are insignificant. The
|
924
963
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
925
964
|
# following: * A full date, with non-zero year, month, and day values * A month
|
926
|
-
# and day
|
927
|
-
#
|
928
|
-
#
|
929
|
-
# google.protobuf.Timestamp
|
965
|
+
# and day, with a zero year (e.g., an anniversary) * A year on its own, with a
|
966
|
+
# zero month and a zero day * A year and month, with a zero day (e.g., a credit
|
967
|
+
# card expiration date) Related types: * google.type.TimeOfDay * google.type.
|
968
|
+
# DateTime * google.protobuf.Timestamp
|
930
969
|
# Corresponds to the JSON property `scheduleStartDate`
|
931
970
|
# @return [Google::Apis::StoragetransferV1::Date]
|
932
971
|
attr_accessor :schedule_start_date
|
@@ -1424,7 +1463,9 @@ module Google
|
|
1424
1463
|
attr_accessor :delete_objects_unique_in_sink
|
1425
1464
|
alias_method :delete_objects_unique_in_sink?, :delete_objects_unique_in_sink
|
1426
1465
|
|
1427
|
-
# Specifies the metadata options for running a transfer.
|
1466
|
+
# Specifies the metadata options for running a transfer. These options only
|
1467
|
+
# apply to transfers involving a POSIX filesystem and are ignored for other
|
1468
|
+
# transfers.
|
1428
1469
|
# Corresponds to the JSON property `metadataOptions`
|
1429
1470
|
# @return [Google::Apis::StoragetransferV1::MetadataOptions]
|
1430
1471
|
attr_accessor :metadata_options
|
@@ -1603,10 +1644,10 @@ module Google
|
|
1603
1644
|
|
1604
1645
|
# The field mask of the fields in `transferJob` that are to be updated in this
|
1605
1646
|
# request. Fields in `transferJob` that can be updated are: description,
|
1606
|
-
# transfer_spec, notification_config, and status. To update the `
|
1607
|
-
# of the job, a complete transfer specification must be provided.
|
1608
|
-
# specification missing any required fields is rejected with the
|
1609
|
-
# INVALID_ARGUMENT.
|
1647
|
+
# transfer_spec, notification_config, logging_config, and status. To update the `
|
1648
|
+
# transfer_spec` of the job, a complete transfer specification must be provided.
|
1649
|
+
# An incomplete specification missing any required fields is rejected with the
|
1650
|
+
# error INVALID_ARGUMENT.
|
1610
1651
|
# Corresponds to the JSON property `updateTransferJobFieldMask`
|
1611
1652
|
# @return [String]
|
1612
1653
|
attr_accessor :update_transfer_job_field_mask
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module StoragetransferV1
|
18
18
|
# Version of the google-apis-storagetransfer_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.23.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220210"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -394,9 +394,14 @@ module Google
|
|
394
394
|
class MetadataOptions
|
395
395
|
# @private
|
396
396
|
class Representation < Google::Apis::Core::JsonRepresentation
|
397
|
+
property :acl, as: 'acl'
|
397
398
|
property :gid, as: 'gid'
|
399
|
+
property :kms_key, as: 'kmsKey'
|
398
400
|
property :mode, as: 'mode'
|
401
|
+
property :storage_class, as: 'storageClass'
|
399
402
|
property :symlink, as: 'symlink'
|
403
|
+
property :temporary_hold, as: 'temporaryHold'
|
404
|
+
property :time_created, as: 'timeCreated'
|
400
405
|
property :uid, as: 'uid'
|
401
406
|
end
|
402
407
|
end
|
@@ -414,7 +414,7 @@ module Google
|
|
414
414
|
|
415
415
|
# Attempts to start a new TransferOperation for the current TransferJob. A
|
416
416
|
# TransferJob has a maximum of one active TransferOperation. If this method is
|
417
|
-
# called while a TransferOperation is active, an error
|
417
|
+
# called while a TransferOperation is active, an error will be returned.
|
418
418
|
# @param [String] job_name
|
419
419
|
# Required. The name of the transfer job.
|
420
420
|
# @param [Google::Apis::StoragetransferV1::RunTransferJobRequest] run_transfer_job_request_object
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-storagetransfer_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.23.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-storagetransfer_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-storagetransfer_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-storagetransfer_v1/v0.23.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-storagetransfer_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Storage Transfer API V1
|