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

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

Azure credentials

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) ⇒ AzureCredentials

Returns a new instance of AzureCredentials.



138
139
140
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 138

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

Instance Attribute Details

#sas_tokenString

Required. Azure shared access signature. (see Grant limited access to Azure Storage resources using shared access signatures (SAS)). Corresponds to the JSON property sasToken

Returns:

  • (String)


136
137
138
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 136

def sas_token
  @sas_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



143
144
145
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 143

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