Class: Google::Apis::StoragetransferV1::AzureCredentials
- Inherits:
-
Object
- Object
- Google::Apis::StoragetransferV1::AzureCredentials
- 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
-
#sas_token ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AzureCredentials
constructor
A new instance of AzureCredentials.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AzureCredentials
Returns a new instance of AzureCredentials.
319 320 321 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 319 def initialize(**args) update!(**args) end |
Instance Attribute Details
#sas_token ⇒ String
Required. Azure shared access signature (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
317 318 319 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 317 def sas_token @sas_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
324 325 326 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 324 def update!(**args) @sas_token = args[:sas_token] if args.key?(:sas_token) end |