Class: Google::Apis::StoragetransferV1::S3CompatibleMetadata
- Inherits:
-
Object
- Object
- Google::Apis::StoragetransferV1::S3CompatibleMetadata
- 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
S3CompatibleMetadata contains the metadata fields that apply to the basic types of S3-compatible data providers.
Instance Attribute Summary collapse
-
#auth_method ⇒ String
Specifies the authentication and authorization method used by the storage service.
-
#list_api ⇒ String
The Listing API to use for discovering objects.
-
#protocol ⇒ String
Specifies the network protocol of the agent.
-
#request_model ⇒ String
Specifies the API request model used to call the storage service.
Instance Method Summary collapse
-
#initialize(**args) ⇒ S3CompatibleMetadata
constructor
A new instance of S3CompatibleMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ S3CompatibleMetadata
Returns a new instance of S3CompatibleMetadata.
1049 1050 1051 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 1049 def initialize(**args) update!(**args) end |
Instance Attribute Details
#auth_method ⇒ String
Specifies the authentication and authorization method used by the storage
service. When not specified, Transfer Service will attempt to determine right
auth method to use.
Corresponds to the JSON property authMethod
1028 1029 1030 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 1028 def auth_method @auth_method end |
#list_api ⇒ String
The Listing API to use for discovering objects. When not specified, Transfer
Service will attempt to determine the right API to use.
Corresponds to the JSON property listApi
1034 1035 1036 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 1034 def list_api @list_api end |
#protocol ⇒ String
Specifies the network protocol of the agent. When not specified, the default
value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used.
Corresponds to the JSON property protocol
1040 1041 1042 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 1040 def protocol @protocol end |
#request_model ⇒ String
Specifies the API request model used to call the storage service. When not
specified, the default value of RequestModel
REQUEST_MODEL_VIRTUAL_HOSTED_STYLE is used.
Corresponds to the JSON property requestModel
1047 1048 1049 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 1047 def request_model @request_model end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1054 1055 1056 1057 1058 1059 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 1054 def update!(**args) @auth_method = args[:auth_method] if args.key?(:auth_method) @list_api = args[:list_api] if args.key?(:list_api) @protocol = args[:protocol] if args.key?(:protocol) @request_model = args[:request_model] if args.key?(:request_model) end |