google-apis-storagetransfer_v1 0.48.0 → 0.49.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f7f3c5852aac4b476ec6dc9bda603b91f191a173597b7b78341b41b87ac7e5a
4
- data.tar.gz: 3bbac6f46e4da93641fa3b6909c5d90d844778df5b0ea432f9b92e4456f51a83
3
+ metadata.gz: 0c23777b72a6caf5826d16a5acead7803344573415ac71096236cf456d08e2cb
4
+ data.tar.gz: 8c4d3420be9605d0e59e66ed4a07d8d3eca23c959bd7bebc3d7c81de6287b790
5
5
  SHA512:
6
- metadata.gz: 4130efb2f5b5840c18d11a73eece283b3a2e3af6ae9e43eab0a467f973dc63851c8955a46692e82a542d84959fd675b984a108ea18f48c0998872ab5f5d3a3a9
7
- data.tar.gz: cdb9c31f37ade85a9bbc1ab87f0b4f0b2296bbb731ed066305620b7a1d9ea7a0a32eab62ba6e8a002780bd29cefbf9ef4c5d9c677dce5f20129b96654014b056
6
+ metadata.gz: e9d66999724c38c99e30e9d498e61bd371bb1ffa2d2f762dc9e414246e4cf80d5b25e92d228febdf17f1c1c01bde71ded73bfbe92ad0fd89346d13e1fbd7fede
7
+ data.tar.gz: f31d2fd2745909a40967f312c2aced1469617544eb353ba72115ddf515ee04f8b934e4c5f689ef0639084c0daef424437e8bd0a59c9b29f938f1344ef13b15a0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-storagetransfer_v1
2
2
 
3
+ ### v0.49.0 (2024-03-17)
4
+
5
+ * Regenerated from discovery document revision 20240311
6
+
3
7
  ### v0.48.0 (2024-03-10)
4
8
 
5
9
  * Regenerated from discovery document revision 20240302
@@ -1051,6 +1051,55 @@ module Google
1051
1051
  end
1052
1052
  end
1053
1053
 
1054
+ # Specifies the configuration for running a replication job.
1055
+ class ReplicationSpec
1056
+ include Google::Apis::Core::Hashable
1057
+
1058
+ # In a GcsData resource, an object's name is the Cloud Storage object's name and
1059
+ # its "last modification time" refers to the object's `updated` property of
1060
+ # Cloud Storage objects, which changes when the content or the metadata of the
1061
+ # object is updated.
1062
+ # Corresponds to the JSON property `gcsDataSink`
1063
+ # @return [Google::Apis::StoragetransferV1::GcsData]
1064
+ attr_accessor :gcs_data_sink
1065
+
1066
+ # In a GcsData resource, an object's name is the Cloud Storage object's name and
1067
+ # its "last modification time" refers to the object's `updated` property of
1068
+ # Cloud Storage objects, which changes when the content or the metadata of the
1069
+ # object is updated.
1070
+ # Corresponds to the JSON property `gcsDataSource`
1071
+ # @return [Google::Apis::StoragetransferV1::GcsData]
1072
+ attr_accessor :gcs_data_source
1073
+
1074
+ # Conditions that determine which objects are transferred. Applies only to Cloud
1075
+ # Data Sources such as S3, Azure, and Cloud Storage. The "last modification time"
1076
+ # refers to the time of the last change to the object's content or metadata —
1077
+ # specifically, this is the `updated` property of Cloud Storage objects, the `
1078
+ # LastModified` field of S3 objects, and the `Last-Modified` header of Azure
1079
+ # blobs. Transfers with a PosixFilesystem source or destination don't support `
1080
+ # ObjectConditions`.
1081
+ # Corresponds to the JSON property `objectConditions`
1082
+ # @return [Google::Apis::StoragetransferV1::ObjectConditions]
1083
+ attr_accessor :object_conditions
1084
+
1085
+ # TransferOptions define the actions to be performed on objects in a transfer.
1086
+ # Corresponds to the JSON property `transferOptions`
1087
+ # @return [Google::Apis::StoragetransferV1::TransferOptions]
1088
+ attr_accessor :transfer_options
1089
+
1090
+ def initialize(**args)
1091
+ update!(**args)
1092
+ end
1093
+
1094
+ # Update properties of this object
1095
+ def update!(**args)
1096
+ @gcs_data_sink = args[:gcs_data_sink] if args.key?(:gcs_data_sink)
1097
+ @gcs_data_source = args[:gcs_data_source] if args.key?(:gcs_data_source)
1098
+ @object_conditions = args[:object_conditions] if args.key?(:object_conditions)
1099
+ @transfer_options = args[:transfer_options] if args.key?(:transfer_options)
1100
+ end
1101
+ end
1102
+
1054
1103
  # Request passed to ResumeTransferOperation.
1055
1104
  class ResumeTransferOperationRequest
1056
1105
  include Google::Apis::Core::Hashable
@@ -1506,6 +1555,11 @@ module Google
1506
1555
  # @return [String]
1507
1556
  attr_accessor :project_id
1508
1557
 
1558
+ # Specifies the configuration for running a replication job.
1559
+ # Corresponds to the JSON property `replicationSpec`
1560
+ # @return [Google::Apis::StoragetransferV1::ReplicationSpec]
1561
+ attr_accessor :replication_spec
1562
+
1509
1563
  # Transfers can be scheduled to recur or to run just once.
1510
1564
  # Corresponds to the JSON property `schedule`
1511
1565
  # @return [Google::Apis::StoragetransferV1::Schedule]
@@ -1541,6 +1595,7 @@ module Google
1541
1595
  @name = args[:name] if args.key?(:name)
1542
1596
  @notification_config = args[:notification_config] if args.key?(:notification_config)
1543
1597
  @project_id = args[:project_id] if args.key?(:project_id)
1598
+ @replication_spec = args[:replication_spec] if args.key?(:replication_spec)
1544
1599
  @schedule = args[:schedule] if args.key?(:schedule)
1545
1600
  @status = args[:status] if args.key?(:status)
1546
1601
  @transfer_spec = args[:transfer_spec] if args.key?(:transfer_spec)
@@ -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.48.0"
19
+ GEM_VERSION = "0.49.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240302"
25
+ REVISION = "20240311"
26
26
  end
27
27
  end
28
28
  end
@@ -184,6 +184,12 @@ module Google
184
184
  include Google::Apis::Core::JsonObjectSupport
185
185
  end
186
186
 
187
+ class ReplicationSpec
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
187
193
  class ResumeTransferOperationRequest
188
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
195
 
@@ -508,6 +514,20 @@ module Google
508
514
  end
509
515
  end
510
516
 
517
+ class ReplicationSpec
518
+ # @private
519
+ class Representation < Google::Apis::Core::JsonRepresentation
520
+ property :gcs_data_sink, as: 'gcsDataSink', class: Google::Apis::StoragetransferV1::GcsData, decorator: Google::Apis::StoragetransferV1::GcsData::Representation
521
+
522
+ property :gcs_data_source, as: 'gcsDataSource', class: Google::Apis::StoragetransferV1::GcsData, decorator: Google::Apis::StoragetransferV1::GcsData::Representation
523
+
524
+ property :object_conditions, as: 'objectConditions', class: Google::Apis::StoragetransferV1::ObjectConditions, decorator: Google::Apis::StoragetransferV1::ObjectConditions::Representation
525
+
526
+ property :transfer_options, as: 'transferOptions', class: Google::Apis::StoragetransferV1::TransferOptions, decorator: Google::Apis::StoragetransferV1::TransferOptions::Representation
527
+
528
+ end
529
+ end
530
+
511
531
  class ResumeTransferOperationRequest
512
532
  # @private
513
533
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -608,6 +628,8 @@ module Google
608
628
  property :notification_config, as: 'notificationConfig', class: Google::Apis::StoragetransferV1::NotificationConfig, decorator: Google::Apis::StoragetransferV1::NotificationConfig::Representation
609
629
 
610
630
  property :project_id, as: 'projectId'
631
+ property :replication_spec, as: 'replicationSpec', class: Google::Apis::StoragetransferV1::ReplicationSpec, decorator: Google::Apis::StoragetransferV1::ReplicationSpec::Representation
632
+
611
633
  property :schedule, as: 'schedule', class: Google::Apis::StoragetransferV1::Schedule, decorator: Google::Apis::StoragetransferV1::Schedule::Representation
612
634
 
613
635
  property :status, as: 'status'
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.48.0
4
+ version: 0.49.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: 2024-03-10 00:00:00.000000000 Z
11
+ date: 2024-03-17 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.48.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-storagetransfer_v1/v0.49.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: []