google-apis-storagetransfer_v1 0.55.0 → 0.57.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: 5eb70834d3d32c803c70331889bc8e2a9cfa2f0b3d1b878082c103be634aba6e
|
4
|
+
data.tar.gz: cd631895d403fc42173ab7357098b8a1fbb5e9c4800885039734fc2ed3a226f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2318e0ea4f847cc6a4c3e0817d8c642177531542e43f817bc04f5ec778b92deea1b3728c18235d1ccd36f8beb8dce7611366e3451071b262bc6945fed89585f1
|
7
|
+
data.tar.gz: 55756a97866d846a4dd989b48664a63e1266f9e44ca5686fe71ef2716d2e1f2d8e9c82ad23126920c11a758352e46ca18f343122a9bf89e883d61d4564afa7bf
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-storagetransfer_v1
|
2
2
|
|
3
|
+
### v0.57.0 (2025-05-18)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250510
|
6
|
+
|
7
|
+
### v0.56.0 (2025-05-11)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250503
|
10
|
+
* Regenerated using generator version 0.17.0
|
11
|
+
|
3
12
|
### v0.55.0 (2025-02-26)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20250208
|
data/OVERVIEW.md
CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/storage-transfer/docs) may
|
|
83
83
|
|
84
84
|
## Supported Ruby versions
|
85
85
|
|
86
|
-
This library is supported on Ruby
|
86
|
+
This library is supported on Ruby 3.1+.
|
87
87
|
|
88
88
|
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
89
89
|
|
@@ -248,6 +248,20 @@ module Google
|
|
248
248
|
# @return [String]
|
249
249
|
attr_accessor :credentials_secret
|
250
250
|
|
251
|
+
# Identities of a user registered Azure application that enables identity
|
252
|
+
# federation to trust tokens issued by the user's Google service account. For
|
253
|
+
# more information about Azure application and identity federation, see [
|
254
|
+
# Register an application with the Microsoft identity platform] (https://learn.
|
255
|
+
# microsoft.com/en-us/entra/identity-platform/quickstart-register-app) Azure
|
256
|
+
# RBAC roles then need be assigned to the Azure application to authorize access
|
257
|
+
# to the user's Azure data source. For more information about Azure RBAC roles
|
258
|
+
# for blobs, see [Manage Access Rights with RBAC] (https://learn.microsoft.com/
|
259
|
+
# en-us/rest/api/storageservices/authorize-with-azure-active-directory#manage-
|
260
|
+
# access-rights-with-rbac)
|
261
|
+
# Corresponds to the JSON property `federatedIdentityConfig`
|
262
|
+
# @return [Google::Apis::StoragetransferV1::FederatedIdentityConfig]
|
263
|
+
attr_accessor :federated_identity_config
|
264
|
+
|
251
265
|
# Root path to transfer objects. Must be an empty string or full path name that
|
252
266
|
# ends with a '/'. This field is treated as an object prefix. As such, it should
|
253
267
|
# generally not begin with a '/'.
|
@@ -269,6 +283,7 @@ module Google
|
|
269
283
|
@azure_credentials = args[:azure_credentials] if args.key?(:azure_credentials)
|
270
284
|
@container = args[:container] if args.key?(:container)
|
271
285
|
@credentials_secret = args[:credentials_secret] if args.key?(:credentials_secret)
|
286
|
+
@federated_identity_config = args[:federated_identity_config] if args.key?(:federated_identity_config)
|
272
287
|
@path = args[:path] if args.key?(:path)
|
273
288
|
@storage_account = args[:storage_account] if args.key?(:storage_account)
|
274
289
|
end
|
@@ -484,6 +499,41 @@ module Google
|
|
484
499
|
end
|
485
500
|
end
|
486
501
|
|
502
|
+
# Identities of a user registered Azure application that enables identity
|
503
|
+
# federation to trust tokens issued by the user's Google service account. For
|
504
|
+
# more information about Azure application and identity federation, see [
|
505
|
+
# Register an application with the Microsoft identity platform] (https://learn.
|
506
|
+
# microsoft.com/en-us/entra/identity-platform/quickstart-register-app) Azure
|
507
|
+
# RBAC roles then need be assigned to the Azure application to authorize access
|
508
|
+
# to the user's Azure data source. For more information about Azure RBAC roles
|
509
|
+
# for blobs, see [Manage Access Rights with RBAC] (https://learn.microsoft.com/
|
510
|
+
# en-us/rest/api/storageservices/authorize-with-azure-active-directory#manage-
|
511
|
+
# access-rights-with-rbac)
|
512
|
+
class FederatedIdentityConfig
|
513
|
+
include Google::Apis::Core::Hashable
|
514
|
+
|
515
|
+
# Required. Client (application) ID of the application with federated
|
516
|
+
# credentials.
|
517
|
+
# Corresponds to the JSON property `clientId`
|
518
|
+
# @return [String]
|
519
|
+
attr_accessor :client_id
|
520
|
+
|
521
|
+
# Required. Tenant (directory) ID of the application with federated credentials.
|
522
|
+
# Corresponds to the JSON property `tenantId`
|
523
|
+
# @return [String]
|
524
|
+
attr_accessor :tenant_id
|
525
|
+
|
526
|
+
def initialize(**args)
|
527
|
+
update!(**args)
|
528
|
+
end
|
529
|
+
|
530
|
+
# Update properties of this object
|
531
|
+
def update!(**args)
|
532
|
+
@client_id = args[:client_id] if args.key?(:client_id)
|
533
|
+
@tenant_id = args[:tenant_id] if args.key?(:tenant_id)
|
534
|
+
end
|
535
|
+
end
|
536
|
+
|
487
537
|
# In a GcsData resource, an object's name is the Cloud Storage object's name and
|
488
538
|
# its "last modification time" refers to the object's `updated` property of
|
489
539
|
# Cloud Storage objects, which changes when the content or the metadata of the
|
@@ -600,8 +650,9 @@ module Google
|
|
600
650
|
include Google::Apis::Core::Hashable
|
601
651
|
|
602
652
|
# Required. The URL that points to the file that stores the object list entries.
|
603
|
-
# This file must allow public access.
|
604
|
-
#
|
653
|
+
# This file must allow public access. The URL is either an HTTP/HTTPS address (e.
|
654
|
+
# g. `https://example.com/urllist.tsv`) or a Cloud Storage path (e.g. `gs://my-
|
655
|
+
# bucket/urllist.tsv`).
|
605
656
|
# Corresponds to the JSON property `listUrl`
|
606
657
|
# @return [String]
|
607
658
|
attr_accessor :list_url
|
@@ -863,7 +914,12 @@ module Google
|
|
863
914
|
# refers to the time of the last change to the object's content or metadata —
|
864
915
|
# specifically, this is the `updated` property of Cloud Storage objects, the `
|
865
916
|
# LastModified` field of S3 objects, and the `Last-Modified` header of Azure
|
866
|
-
# blobs.
|
917
|
+
# blobs. For S3 objects, the `LastModified` value is the time the object begins
|
918
|
+
# uploading. If the object meets your "last modification time" criteria, but has
|
919
|
+
# not finished uploading, the object is not transferred. See [Transfer from
|
920
|
+
# Amazon S3 to Cloud Storage](https://cloud.google.com/storage-transfer/docs/
|
921
|
+
# create-transfers/agentless/s3#transfer_options) for more information.
|
922
|
+
# Transfers with a PosixFilesystem source or destination don't support `
|
867
923
|
# ObjectConditions`.
|
868
924
|
class ObjectConditions
|
869
925
|
include Google::Apis::Core::Hashable
|
@@ -1084,7 +1140,12 @@ module Google
|
|
1084
1140
|
# refers to the time of the last change to the object's content or metadata —
|
1085
1141
|
# specifically, this is the `updated` property of Cloud Storage objects, the `
|
1086
1142
|
# LastModified` field of S3 objects, and the `Last-Modified` header of Azure
|
1087
|
-
# blobs.
|
1143
|
+
# blobs. For S3 objects, the `LastModified` value is the time the object begins
|
1144
|
+
# uploading. If the object meets your "last modification time" criteria, but has
|
1145
|
+
# not finished uploading, the object is not transferred. See [Transfer from
|
1146
|
+
# Amazon S3 to Cloud Storage](https://cloud.google.com/storage-transfer/docs/
|
1147
|
+
# create-transfers/agentless/s3#transfer_options) for more information.
|
1148
|
+
# Transfers with a PosixFilesystem source or destination don't support `
|
1088
1149
|
# ObjectConditions`.
|
1089
1150
|
# Corresponds to the JSON property `objectConditions`
|
1090
1151
|
# @return [Google::Apis::StoragetransferV1::ObjectConditions]
|
@@ -1576,6 +1637,20 @@ module Google
|
|
1576
1637
|
# @return [Google::Apis::StoragetransferV1::Schedule]
|
1577
1638
|
attr_accessor :schedule
|
1578
1639
|
|
1640
|
+
# Optional. The service account to be used to access resources in the consumer
|
1641
|
+
# project in the transfer job. We accept `email` or `uniqueId` for the service
|
1642
|
+
# account. Service account format is projects/-/serviceAccounts/`
|
1643
|
+
# ACCOUNT_EMAIL_OR_UNIQUEID` See https://cloud.google.com/iam/docs/reference/
|
1644
|
+
# credentials/rest/v1/projects.serviceAccounts/generateAccessToken#path-
|
1645
|
+
# parameters for details. Caller requires the following IAM permission on the
|
1646
|
+
# specified service account: `iam.serviceAccounts.actAs`. project-PROJECT_NUMBER@
|
1647
|
+
# storage-transfer-service.iam.gserviceaccount.com requires the following IAM
|
1648
|
+
# permission on the specified service account: `iam.serviceAccounts.
|
1649
|
+
# getAccessToken`
|
1650
|
+
# Corresponds to the JSON property `serviceAccount`
|
1651
|
+
# @return [String]
|
1652
|
+
attr_accessor :service_account
|
1653
|
+
|
1579
1654
|
# Status of the job. This value MUST be specified for `CreateTransferJobRequests`
|
1580
1655
|
# . **Note:** The effect of the new job status takes place during a subsequent
|
1581
1656
|
# job run. For example, if you change the job status from ENABLED to DISABLED,
|
@@ -1608,6 +1683,7 @@ module Google
|
|
1608
1683
|
@project_id = args[:project_id] if args.key?(:project_id)
|
1609
1684
|
@replication_spec = args[:replication_spec] if args.key?(:replication_spec)
|
1610
1685
|
@schedule = args[:schedule] if args.key?(:schedule)
|
1686
|
+
@service_account = args[:service_account] if args.key?(:service_account)
|
1611
1687
|
@status = args[:status] if args.key?(:status)
|
1612
1688
|
@transfer_spec = args[:transfer_spec] if args.key?(:transfer_spec)
|
1613
1689
|
end
|
@@ -1864,7 +1940,12 @@ module Google
|
|
1864
1940
|
# refers to the time of the last change to the object's content or metadata —
|
1865
1941
|
# specifically, this is the `updated` property of Cloud Storage objects, the `
|
1866
1942
|
# LastModified` field of S3 objects, and the `Last-Modified` header of Azure
|
1867
|
-
# blobs.
|
1943
|
+
# blobs. For S3 objects, the `LastModified` value is the time the object begins
|
1944
|
+
# uploading. If the object meets your "last modification time" criteria, but has
|
1945
|
+
# not finished uploading, the object is not transferred. See [Transfer from
|
1946
|
+
# Amazon S3 to Cloud Storage](https://cloud.google.com/storage-transfer/docs/
|
1947
|
+
# create-transfers/agentless/s3#transfer_options) for more information.
|
1948
|
+
# Transfers with a PosixFilesystem source or destination don't support `
|
1868
1949
|
# ObjectConditions`.
|
1869
1950
|
# Corresponds to the JSON property `objectConditions`
|
1870
1951
|
# @return [Google::Apis::StoragetransferV1::ObjectConditions]
|
@@ -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.57.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.17.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250510"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -100,6 +100,12 @@ module Google
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
+
class FederatedIdentityConfig
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
103
109
|
class GcsData
|
104
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
111
|
|
@@ -320,6 +326,8 @@ module Google
|
|
320
326
|
|
321
327
|
property :container, as: 'container'
|
322
328
|
property :credentials_secret, as: 'credentialsSecret'
|
329
|
+
property :federated_identity_config, as: 'federatedIdentityConfig', class: Google::Apis::StoragetransferV1::FederatedIdentityConfig, decorator: Google::Apis::StoragetransferV1::FederatedIdentityConfig::Representation
|
330
|
+
|
323
331
|
property :path, as: 'path'
|
324
332
|
property :storage_account, as: 'storageAccount'
|
325
333
|
end
|
@@ -387,6 +395,14 @@ module Google
|
|
387
395
|
end
|
388
396
|
end
|
389
397
|
|
398
|
+
class FederatedIdentityConfig
|
399
|
+
# @private
|
400
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
401
|
+
property :client_id, as: 'clientId'
|
402
|
+
property :tenant_id, as: 'tenantId'
|
403
|
+
end
|
404
|
+
end
|
405
|
+
|
390
406
|
class GcsData
|
391
407
|
# @private
|
392
408
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -633,6 +649,7 @@ module Google
|
|
633
649
|
|
634
650
|
property :schedule, as: 'schedule', class: Google::Apis::StoragetransferV1::Schedule, decorator: Google::Apis::StoragetransferV1::Schedule::Representation
|
635
651
|
|
652
|
+
property :service_account, as: 'serviceAccount'
|
636
653
|
property :status, as: 'status'
|
637
654
|
property :transfer_spec, as: 'transferSpec', class: Google::Apis::StoragetransferV1::TransferSpec, decorator: Google::Apis::StoragetransferV1::TransferSpec::Representation
|
638
655
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
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.57.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -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-storagetransfer_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-storagetransfer_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-storagetransfer_v1/v0.57.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-storagetransfer_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|
@@ -66,14 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
66
66
|
requirements:
|
67
67
|
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: '
|
69
|
+
version: '3.1'
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
|
-
rubygems_version: 3.6.
|
76
|
+
rubygems_version: 3.6.8
|
77
77
|
specification_version: 4
|
78
78
|
summary: Simple REST client for Storage Transfer API V1
|
79
79
|
test_files: []
|