Class: Google::Apis::StoragetransferV1::AzureCredentials

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/storagetransfer_v1/classes.rb,
lib/google/apis/storagetransfer_v1/representations.rb,
lib/google/apis/storagetransfer_v1/representations.rb

Overview

Azure credentials For information on our data retention policy for user credentials, see User credentials.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AzureCredentials

Returns a new instance of AzureCredentials.



204
205
206
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 204

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

Instance Attribute Details

#sas_tokenString

Required. Azure shared access signature (SAS). *Note:*Copying data from Azure Data Lake Storage (ADLS) Gen 2 is in Preview. During Preview, if you are copying data from ADLS Gen 2, you must use an account SAS. For more information about SAS, see Grant limited access to Azure Storage resources using shared access signatures (SAS). Corresponds to the JSON property sasToken

Returns:

  • (String)


202
203
204
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 202

def sas_token
  @sas_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



209
210
211
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 209

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