google-apis-storagetransfer_v1 0.12.0 → 0.13.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: 1b56abd94c152ceacd81118a7c94c5f0e18bacd9b89dac3374e973bda7b469f0
4
- data.tar.gz: d449a0385991c9c734fabe907652a1bf986a74874debfcd534503c85ab21e294
3
+ metadata.gz: 4c5579a3481033c95dceaf818a90ba1fc685e7922486c383282b3868c6f0e0ae
4
+ data.tar.gz: b2eb0bee508ffdbd3765763249d47aadf78cb8131b4682f812a0fe90d5ef0e16
5
5
  SHA512:
6
- metadata.gz: f504b61a81ea5cfac5bf19f7685f41f58e64364bbaec2d62ea4f386e21103583e3bd5afa60d927cf7ad2c5dca80a49db8d46295f8ec206dcc7832e9067576df7
7
- data.tar.gz: 3ab1decd9855976d03df38b2b2ad5a97a45d42b200f16424babc6cce0453af5f32891848f611d85052433d4cdbe262c896a72bbdcbd17da3c1d6de879035e424
6
+ metadata.gz: fb9d9c31631bcb647287b1ded7331b8ee13162ac77fae0b7a4d239240587145ab62f7298beb4cea7f830d330b6ec9196ed191db43187dbc8ec19a0e5adc9d7f2
7
+ data.tar.gz: 3e04e2e7dd2925621912153c0595d7f6e7a10851fdc9ea7732c0cb834f08d9784425916eb4579feb6663e68667f6d1874f6956890c2ec542c992b6e7fedcabdb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-storagetransfer_v1
2
2
 
3
+ ### v0.13.0 (2021-07-31)
4
+
5
+ * Regenerated from discovery document revision 20210726
6
+
3
7
  ### v0.12.0 (2021-07-14)
4
8
 
5
9
  * Regenerated from discovery document revision 20210708
@@ -76,13 +76,12 @@ module Google
76
76
  # @return [String]
77
77
  attr_accessor :path
78
78
 
79
- # Input only. The Amazon Resource Name (ARN) of the role to support temporary
80
- # credentials via `AssumeRoleWithWebIdentity`. For more information about ARNs,
81
- # see [IAM ARNs](https://docs.aws.amazon.com/IAM/latest/UserGuide/
82
- # reference_identifiers.html#identifiers-arns). When a role ARN is provided,
83
- # Transfer Service fetches temporary credentials for the session using a `
84
- # AssumeRoleWithWebIdentity` call for the provided role using the
85
- # GoogleServiceAccount for this project.
79
+ # The Amazon Resource Name (ARN) of the role to support temporary credentials
80
+ # via `AssumeRoleWithWebIdentity`. For more information about ARNs, see [IAM
81
+ # ARNs](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.
82
+ # html#identifiers-arns). When a role ARN is provided, Transfer Service fetches
83
+ # temporary credentials for the session using a `AssumeRoleWithWebIdentity` call
84
+ # for the provided role using the GoogleServiceAccount for this project.
86
85
  # Corresponds to the JSON property `roleArn`
87
86
  # @return [String]
88
87
  attr_accessor :role_arn
@@ -450,6 +449,28 @@ module Google
450
449
  end
451
450
  end
452
451
 
452
+ # Logging configure.
453
+ class LoggingConfig
454
+ include Google::Apis::Core::Hashable
455
+
456
+ # Enables the Cloud Storage transfer logs for this transfer. This is only
457
+ # supported for transfer jobs with PosixFilesystem sources. The default is that
458
+ # logs are not generated for this transfer.
459
+ # Corresponds to the JSON property `enableOnpremGcsTransferLogs`
460
+ # @return [Boolean]
461
+ attr_accessor :enable_onprem_gcs_transfer_logs
462
+ alias_method :enable_onprem_gcs_transfer_logs?, :enable_onprem_gcs_transfer_logs
463
+
464
+ def initialize(**args)
465
+ update!(**args)
466
+ end
467
+
468
+ # Update properties of this object
469
+ def update!(**args)
470
+ @enable_onprem_gcs_transfer_logs = args[:enable_onprem_gcs_transfer_logs] if args.key?(:enable_onprem_gcs_transfer_logs)
471
+ end
472
+ end
473
+
453
474
  # Specification to configure notifications published to Pub/Sub. Notifications
454
475
  # are published to the customer-provided topic using the following `
455
476
  # PubsubMessage.attributes`: * `"eventType"`: one of the EventType values * `"
@@ -664,6 +685,25 @@ module Google
664
685
  end
665
686
  end
666
687
 
688
+ # A POSIX filesystem data source or sink.
689
+ class PosixFilesystem
690
+ include Google::Apis::Core::Hashable
691
+
692
+ # Root directory path to the filesystem.
693
+ # Corresponds to the JSON property `rootDirectory`
694
+ # @return [String]
695
+ attr_accessor :root_directory
696
+
697
+ def initialize(**args)
698
+ update!(**args)
699
+ end
700
+
701
+ # Update properties of this object
702
+ def update!(**args)
703
+ @root_directory = args[:root_directory] if args.key?(:root_directory)
704
+ end
705
+ end
706
+
667
707
  # Request passed to ResumeTransferOperation.
668
708
  class ResumeTransferOperationRequest
669
709
  include Google::Apis::Core::Hashable
@@ -886,6 +926,28 @@ module Google
886
926
  # @return [Fixnum]
887
927
  attr_accessor :bytes_from_source_skipped_by_sync
888
928
 
929
+ # For transfers involving PosixFilesystem only. Number of listing failures for
930
+ # each directory found at the source. Potential failures when listing a
931
+ # directory include permission failure or block failure. If listing a directory
932
+ # fails, no files in the directory are transferred.
933
+ # Corresponds to the JSON property `directoriesFailedToListFromSource`
934
+ # @return [Fixnum]
935
+ attr_accessor :directories_failed_to_list_from_source
936
+
937
+ # For transfers involving PosixFilesystem only. Number of directories found
938
+ # while listing. For example, if the root directory of the transfer is `base/`
939
+ # and there are two other directories, `a/` and `b/` under this directory, the
940
+ # count after listing `base/`, `base/a/` and `base/b/` is 3.
941
+ # Corresponds to the JSON property `directoriesFoundFromSource`
942
+ # @return [Fixnum]
943
+ attr_accessor :directories_found_from_source
944
+
945
+ # For transfers involving PosixFilesystem only. Number of successful listings
946
+ # for each directory found at the source.
947
+ # Corresponds to the JSON property `directoriesSuccessfullyListedFromSource`
948
+ # @return [Fixnum]
949
+ attr_accessor :directories_successfully_listed_from_source
950
+
889
951
  # Objects that are copied to the data sink.
890
952
  # Corresponds to the JSON property `objectsCopiedToSink`
891
953
  # @return [Fixnum]
@@ -944,6 +1006,9 @@ module Google
944
1006
  @bytes_found_only_from_sink = args[:bytes_found_only_from_sink] if args.key?(:bytes_found_only_from_sink)
945
1007
  @bytes_from_source_failed = args[:bytes_from_source_failed] if args.key?(:bytes_from_source_failed)
946
1008
  @bytes_from_source_skipped_by_sync = args[:bytes_from_source_skipped_by_sync] if args.key?(:bytes_from_source_skipped_by_sync)
1009
+ @directories_failed_to_list_from_source = args[:directories_failed_to_list_from_source] if args.key?(:directories_failed_to_list_from_source)
1010
+ @directories_found_from_source = args[:directories_found_from_source] if args.key?(:directories_found_from_source)
1011
+ @directories_successfully_listed_from_source = args[:directories_successfully_listed_from_source] if args.key?(:directories_successfully_listed_from_source)
947
1012
  @objects_copied_to_sink = args[:objects_copied_to_sink] if args.key?(:objects_copied_to_sink)
948
1013
  @objects_deleted_from_sink = args[:objects_deleted_from_sink] if args.key?(:objects_deleted_from_sink)
949
1014
  @objects_deleted_from_source = args[:objects_deleted_from_source] if args.key?(:objects_deleted_from_source)
@@ -987,6 +1052,11 @@ module Google
987
1052
  # @return [String]
988
1053
  attr_accessor :latest_operation_name
989
1054
 
1055
+ # Logging configure.
1056
+ # Corresponds to the JSON property `loggingConfig`
1057
+ # @return [Google::Apis::StoragetransferV1::LoggingConfig]
1058
+ attr_accessor :logging_config
1059
+
990
1060
  # A unique name (within the transfer project) assigned when the job is created.
991
1061
  # If this field is empty in a CreateTransferJobRequest, Storage Transfer Service
992
1062
  # assigns a unique name. Otherwise, the specified name is used as the unique
@@ -1053,6 +1123,7 @@ module Google
1053
1123
  @description = args[:description] if args.key?(:description)
1054
1124
  @last_modification_time = args[:last_modification_time] if args.key?(:last_modification_time)
1055
1125
  @latest_operation_name = args[:latest_operation_name] if args.key?(:latest_operation_name)
1126
+ @logging_config = args[:logging_config] if args.key?(:logging_config)
1056
1127
  @name = args[:name] if args.key?(:name)
1057
1128
  @notification_config = args[:notification_config] if args.key?(:notification_config)
1058
1129
  @project_id = args[:project_id] if args.key?(:project_id)
@@ -1255,6 +1326,11 @@ module Google
1255
1326
  # @return [Google::Apis::StoragetransferV1::ObjectConditions]
1256
1327
  attr_accessor :object_conditions
1257
1328
 
1329
+ # A POSIX filesystem data source or sink.
1330
+ # Corresponds to the JSON property `posixDataSource`
1331
+ # @return [Google::Apis::StoragetransferV1::PosixFilesystem]
1332
+ attr_accessor :posix_data_source
1333
+
1258
1334
  # TransferOptions define the actions to be performed on objects in a transfer.
1259
1335
  # Corresponds to the JSON property `transferOptions`
1260
1336
  # @return [Google::Apis::StoragetransferV1::TransferOptions]
@@ -1272,6 +1348,7 @@ module Google
1272
1348
  @gcs_data_source = args[:gcs_data_source] if args.key?(:gcs_data_source)
1273
1349
  @http_data_source = args[:http_data_source] if args.key?(:http_data_source)
1274
1350
  @object_conditions = args[:object_conditions] if args.key?(:object_conditions)
1351
+ @posix_data_source = args[:posix_data_source] if args.key?(:posix_data_source)
1275
1352
  @transfer_options = args[:transfer_options] if args.key?(:transfer_options)
1276
1353
  end
1277
1354
  end
@@ -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.12.0"
19
+ GEM_VERSION = "0.13.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210708"
25
+ REVISION = "20210726"
26
26
  end
27
27
  end
28
28
  end
@@ -106,6 +106,12 @@ module Google
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
+ class LoggingConfig
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
109
115
  class NotificationConfig
110
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
117
 
@@ -130,6 +136,12 @@ module Google
130
136
  include Google::Apis::Core::JsonObjectSupport
131
137
  end
132
138
 
139
+ class PosixFilesystem
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
133
145
  class ResumeTransferOperationRequest
134
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
147
 
@@ -313,6 +325,13 @@ module Google
313
325
  end
314
326
  end
315
327
 
328
+ class LoggingConfig
329
+ # @private
330
+ class Representation < Google::Apis::Core::JsonRepresentation
331
+ property :enable_onprem_gcs_transfer_logs, as: 'enableOnpremGcsTransferLogs'
332
+ end
333
+ end
334
+
316
335
  class NotificationConfig
317
336
  # @private
318
337
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -352,6 +371,13 @@ module Google
352
371
  end
353
372
  end
354
373
 
374
+ class PosixFilesystem
375
+ # @private
376
+ class Representation < Google::Apis::Core::JsonRepresentation
377
+ property :root_directory, as: 'rootDirectory'
378
+ end
379
+ end
380
+
355
381
  class ResumeTransferOperationRequest
356
382
  # @private
357
383
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -410,6 +436,9 @@ module Google
410
436
  property :bytes_found_only_from_sink, :numeric_string => true, as: 'bytesFoundOnlyFromSink'
411
437
  property :bytes_from_source_failed, :numeric_string => true, as: 'bytesFromSourceFailed'
412
438
  property :bytes_from_source_skipped_by_sync, :numeric_string => true, as: 'bytesFromSourceSkippedBySync'
439
+ property :directories_failed_to_list_from_source, :numeric_string => true, as: 'directoriesFailedToListFromSource'
440
+ property :directories_found_from_source, :numeric_string => true, as: 'directoriesFoundFromSource'
441
+ property :directories_successfully_listed_from_source, :numeric_string => true, as: 'directoriesSuccessfullyListedFromSource'
413
442
  property :objects_copied_to_sink, :numeric_string => true, as: 'objectsCopiedToSink'
414
443
  property :objects_deleted_from_sink, :numeric_string => true, as: 'objectsDeletedFromSink'
415
444
  property :objects_deleted_from_source, :numeric_string => true, as: 'objectsDeletedFromSource'
@@ -429,6 +458,8 @@ module Google
429
458
  property :description, as: 'description'
430
459
  property :last_modification_time, as: 'lastModificationTime'
431
460
  property :latest_operation_name, as: 'latestOperationName'
461
+ property :logging_config, as: 'loggingConfig', class: Google::Apis::StoragetransferV1::LoggingConfig, decorator: Google::Apis::StoragetransferV1::LoggingConfig::Representation
462
+
432
463
  property :name, as: 'name'
433
464
  property :notification_config, as: 'notificationConfig', class: Google::Apis::StoragetransferV1::NotificationConfig, decorator: Google::Apis::StoragetransferV1::NotificationConfig::Representation
434
465
 
@@ -485,6 +516,8 @@ module Google
485
516
 
486
517
  property :object_conditions, as: 'objectConditions', class: Google::Apis::StoragetransferV1::ObjectConditions, decorator: Google::Apis::StoragetransferV1::ObjectConditions::Representation
487
518
 
519
+ property :posix_data_source, as: 'posixDataSource', class: Google::Apis::StoragetransferV1::PosixFilesystem, decorator: Google::Apis::StoragetransferV1::PosixFilesystem::Representation
520
+
488
521
  property :transfer_options, as: 'transferOptions', class: Google::Apis::StoragetransferV1::TransferOptions, decorator: Google::Apis::StoragetransferV1::TransferOptions::Representation
489
522
 
490
523
  end
@@ -119,7 +119,7 @@ module Google
119
119
 
120
120
  # Gets a transfer job.
121
121
  # @param [String] job_name
122
- # Required. " The job to get.
122
+ # Required. The job to get.
123
123
  # @param [String] project_id
124
124
  # Required. The ID of the Google Cloud Platform Console project that owns the
125
125
  # job.
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.12.0
4
+ version: 0.13.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: 2021-07-19 00:00:00.000000000 Z
11
+ date: 2021-08-02 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/master/generated/google-apis-storagetransfer_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-storagetransfer_v1/v0.12.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-storagetransfer_v1/v0.13.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-storagetransfer_v1
63
63
  post_install_message:
64
64
  rdoc_options: []