Class: Google::Apis::StoragetransferV1::AwsS3Data
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::StoragetransferV1::AwsS3Data
 
- 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 AwsS3Data resource can be a data source, but not a data sink. In an AwsS3Data resource, an object's name is the S3 object's key name.
Instance Attribute Summary collapse
- 
  
    
      #aws_access_key  ⇒ Google::Apis::StoragetransferV1::AwsAccessKey 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    AWS access key (see AWS Security Credentials). 
- 
  
    
      #bucket_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    S3 Bucket name (see Creating a bucket). 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ AwsS3Data 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of AwsS3Data. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AwsS3Data
Returns a new instance of AwsS3Data
| 74 75 76 | # File 'generated/google/apis/storagetransfer_v1/classes.rb', line 74 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#aws_access_key ⇒ Google::Apis::StoragetransferV1::AwsAccessKey
AWS access key (see
AWS Security Credentials).
Corresponds to the JSON property awsAccessKey
| 64 65 66 | # File 'generated/google/apis/storagetransfer_v1/classes.rb', line 64 def aws_access_key @aws_access_key end | 
#bucket_name ⇒ String
S3 Bucket name (see
Creating a bucket).
Required.
Corresponds to the JSON property bucketName
| 72 73 74 | # File 'generated/google/apis/storagetransfer_v1/classes.rb', line 72 def bucket_name @bucket_name end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 79 80 81 82 | # File 'generated/google/apis/storagetransfer_v1/classes.rb', line 79 def update!(**args) @aws_access_key = args[:aws_access_key] if args.key?(:aws_access_key) @bucket_name = args[:bucket_name] if args.key?(:bucket_name) end |