Class: Google::Apis::StoragetransferV1::AzureBlobStorageData

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AzureBlobStorageData

Returns a new instance of AzureBlobStorageData.



113
114
115
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 113

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#azure_credentialsGoogle::Apis::StoragetransferV1::AzureCredentials

Azure credentials Corresponds to the JSON property azureCredentials



101
102
103
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 101

def azure_credentials
  @azure_credentials
end

#containerString

Required. The container to transfer from the Azure Storage account. Corresponds to the JSON property container

Returns:

  • (String)


106
107
108
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 106

def container
  @container
end

#storage_accountString

Required. The name of the Azure Storage account. Corresponds to the JSON property storageAccount

Returns:

  • (String)


111
112
113
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 111

def 
  @storage_account
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



118
119
120
121
122
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 118

def update!(**args)
  @azure_credentials = args[:azure_credentials] if args.key?(:azure_credentials)
  @container = args[:container] if args.key?(:container)
  @storage_account = args[:storage_account] if args.key?(:storage_account)
end