Class: Google::Apis::StoragetransferV1::AzureBlobStorageData
- Inherits:
-
Object
- Object
- Google::Apis::StoragetransferV1::AzureBlobStorageData
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/storagetransfer_v1/classes.rb,
generated/google/apis/storagetransfer_v1/representations.rb,
generated/google/apis/storagetransfer_v1/representations.rb
Overview
An AzureBlobStorageData resource can be a data source, but not a data sink. An AzureBlobStorageData resource represents one Azure container. The storage account determines the Azure endpoint. In an AzureBlobStorageData resource, a blobs's name is the Azure Blob Storage blob's key name.
Instance Attribute Summary collapse
-
#azure_credentials ⇒ Google::Apis::StoragetransferV1::AzureCredentials
Azure credentials For information on our data retention policy for user credentials, see User credentials.
-
#container ⇒ String
Required.
-
#path ⇒ String
Root path to transfer objects.
-
#storage_account ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AzureBlobStorageData
constructor
A new instance of AzureBlobStorageData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AzureBlobStorageData
Returns a new instance of AzureBlobStorageData.
124 125 126 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 124 def initialize(**args) update!(**args) end |
Instance Attribute Details
#azure_credentials ⇒ Google::Apis::StoragetransferV1::AzureCredentials
Azure credentials For information on our data retention policy for user
credentials, see User credentials.
Corresponds to the JSON property azureCredentials
105 106 107 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 105 def azure_credentials @azure_credentials end |
#container ⇒ String
Required. The container to transfer from the Azure Storage account.
Corresponds to the JSON property container
110 111 112 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 110 def container @container end |
#path ⇒ String
Root path to transfer objects. Must be an empty string or full path name that
ends with a '/'. This field is treated as an object prefix. As such, it should
generally not begin with a '/'.
Corresponds to the JSON property path
117 118 119 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 117 def path @path end |
#storage_account ⇒ String
Required. The name of the Azure Storage account.
Corresponds to the JSON property storageAccount
122 123 124 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 122 def storage_account @storage_account end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
129 130 131 132 133 134 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 129 def update!(**args) @azure_credentials = args[:azure_credentials] if args.key?(:azure_credentials) @container = args[:container] if args.key?(:container) @path = args[:path] if args.key?(:path) @storage_account = args[:storage_account] if args.key?(:storage_account) end |