google-apis-storagetransfer_v1 0.56.0 → 0.58.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: 15813386077dd5e00843d77b46c9f642d104debcc58c64976de7e375c871403c
4
- data.tar.gz: 7e1399c404e129cc3adebf9133c3f3828a3c4880d06f448646612b5676486201
3
+ metadata.gz: be1f1672fc0cad40987cdf68953964995a0f57353f723c4324c965311b806bd2
4
+ data.tar.gz: 4878d284c385415e83b29f886b499f684a02c36dfd01fb195dd1cf7b235322eb
5
5
  SHA512:
6
- metadata.gz: 4e65c9ff28f36bd743613912e1254f83bc98a9468cbd2747cd4af8cfa25af71377a045dcb29f97439b7ec58643ef26762b5a924f3d96a7addd98ae7012e5b133
7
- data.tar.gz: 07cc7e3d5a66e80f89ca9611b18246d91e821c5e608ce506cd509fb383d124e7e360f12505bc505072c2fd12725f4c444a2ecde01c5f98ff2bb0147164c35c16
6
+ metadata.gz: 3393887e61329842768f9f2eeb39532e558cbcc90945dd721e09f56143a2e4b9227cff0506a2b0bf7a842a72b79dbbe668dacf0a84388bb08babd362f87e51b3
7
+ data.tar.gz: 7aa2ddcda2c9761be402799e1aadb95b18049f50d75d927a4b07644d18b7dd3b9875f6fcec1fe8d7b95bcc3b6fa121744ea2279f1d4f625db2ccace6d70e7d9d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-storagetransfer_v1
2
2
 
3
+ ### v0.58.0 (2025-06-01)
4
+
5
+ * Regenerated from discovery document revision 20250523
6
+ * Regenerated using generator version 0.18.0
7
+
8
+ ### v0.57.0 (2025-05-18)
9
+
10
+ * Regenerated from discovery document revision 20250510
11
+
3
12
  ### v0.56.0 (2025-05-11)
4
13
 
5
14
  * Regenerated from discovery document revision 20250503
@@ -248,6 +248,17 @@ module Google
248
248
  # @return [String]
249
249
  attr_accessor :credentials_secret
250
250
 
251
+ # The identity of an Azure application through which Storage Transfer Service
252
+ # can authenticate requests using Azure workload identity federation. Storage
253
+ # Transfer Service can issue requests to Azure Storage through registered Azure
254
+ # applications, eliminating the need to pass credentials to Storage Transfer
255
+ # Service directly. To configure federated identity, see [Configure access to
256
+ # Microsoft Azure Storage](https://cloud.google.com/storage-transfer/docs/source-
257
+ # microsoft-azure#option_3_authenticate_using_federated_identity).
258
+ # Corresponds to the JSON property `federatedIdentityConfig`
259
+ # @return [Google::Apis::StoragetransferV1::FederatedIdentityConfig]
260
+ attr_accessor :federated_identity_config
261
+
251
262
  # Root path to transfer objects. Must be an empty string or full path name that
252
263
  # ends with a '/'. This field is treated as an object prefix. As such, it should
253
264
  # generally not begin with a '/'.
@@ -269,6 +280,7 @@ module Google
269
280
  @azure_credentials = args[:azure_credentials] if args.key?(:azure_credentials)
270
281
  @container = args[:container] if args.key?(:container)
271
282
  @credentials_secret = args[:credentials_secret] if args.key?(:credentials_secret)
283
+ @federated_identity_config = args[:federated_identity_config] if args.key?(:federated_identity_config)
272
284
  @path = args[:path] if args.key?(:path)
273
285
  @storage_account = args[:storage_account] if args.key?(:storage_account)
274
286
  end
@@ -484,6 +496,39 @@ module Google
484
496
  end
485
497
  end
486
498
 
499
+ # The identity of an Azure application through which Storage Transfer Service
500
+ # can authenticate requests using Azure workload identity federation. Storage
501
+ # Transfer Service can issue requests to Azure Storage through registered Azure
502
+ # applications, eliminating the need to pass credentials to Storage Transfer
503
+ # Service directly. To configure federated identity, see [Configure access to
504
+ # Microsoft Azure Storage](https://cloud.google.com/storage-transfer/docs/source-
505
+ # microsoft-azure#option_3_authenticate_using_federated_identity).
506
+ class FederatedIdentityConfig
507
+ include Google::Apis::Core::Hashable
508
+
509
+ # Required. The client (application) ID of the application with federated
510
+ # credentials.
511
+ # Corresponds to the JSON property `clientId`
512
+ # @return [String]
513
+ attr_accessor :client_id
514
+
515
+ # Required. The tenant (directory) ID of the application with federated
516
+ # credentials.
517
+ # Corresponds to the JSON property `tenantId`
518
+ # @return [String]
519
+ attr_accessor :tenant_id
520
+
521
+ def initialize(**args)
522
+ update!(**args)
523
+ end
524
+
525
+ # Update properties of this object
526
+ def update!(**args)
527
+ @client_id = args[:client_id] if args.key?(:client_id)
528
+ @tenant_id = args[:tenant_id] if args.key?(:tenant_id)
529
+ end
530
+ end
531
+
487
532
  # In a GcsData resource, an object's name is the Cloud Storage object's name and
488
533
  # its "last modification time" refers to the object's `updated` property of
489
534
  # Cloud Storage objects, which changes when the content or the metadata of the
@@ -1587,16 +1632,15 @@ module Google
1587
1632
  # @return [Google::Apis::StoragetransferV1::Schedule]
1588
1633
  attr_accessor :schedule
1589
1634
 
1590
- # Optional. The service account to be used to access resources in the consumer
1591
- # project in the transfer job. We accept `email` or `uniqueId` for the service
1592
- # account. Service account format is projects/-/serviceAccounts/`
1593
- # ACCOUNT_EMAIL_OR_UNIQUEID` See https://cloud.google.com/iam/docs/reference/
1594
- # credentials/rest/v1/projects.serviceAccounts/generateAccessToken#path-
1595
- # parameters for details. Caller requires the following IAM permission on the
1596
- # specified service account: `iam.serviceAccounts.actAs`. project-PROJECT_NUMBER@
1597
- # storage-transfer-service.iam.gserviceaccount.com requires the following IAM
1598
- # permission on the specified service account: `iam.serviceAccounts.
1599
- # getAccessToken`
1635
+ # Optional. The user-managed service account to which to delegate service agent
1636
+ # permissions. You can grant Cloud Storage bucket permissions to this service
1637
+ # account instead of to the Transfer Service service agent. Format is `projects/-
1638
+ # /serviceAccounts/ACCOUNT_EMAIL_OR_UNIQUEID` Either the service account email (`
1639
+ # SERVICE_ACCOUNT_NAME@PROJECT_ID.iam.gserviceaccount.com`) or the unique ID (`
1640
+ # 123456789012345678901`) are accepted in the string. The `-` wildcard character
1641
+ # is required; replacing it with a project ID is invalid. See https://cloud.
1642
+ # google.com//storage-transfer/docs/delegate-service-agent-permissions for
1643
+ # required permissions.
1600
1644
  # Corresponds to the JSON property `serviceAccount`
1601
1645
  # @return [String]
1602
1646
  attr_accessor :service_account
@@ -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.56.0"
19
+ GEM_VERSION = "0.58.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250503"
25
+ REVISION = "20250523"
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-storagetransfer_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.56.0
4
+ version: 0.58.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-storagetransfer_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-storagetransfer_v1/v0.56.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-storagetransfer_v1/v0.58.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:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.8
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Storage Transfer API V1
79
79
  test_files: []