Class: Google::Apis::StoragebatchoperationsV1::PrefixList

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

Overview

Describes prefixes of objects to be transformed.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PrefixList

Returns a new instance of PrefixList.



941
942
943
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 941

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

Instance Attribute Details

#included_object_prefixesArray<String>

Optional. Include prefixes of the objects to be transformed. * Supports full object name * Supports prefix of the object name * Wildcards are not supported

  • Supports empty string for all objects in a bucket. Corresponds to the JSON property includedObjectPrefixes

Returns:

  • (Array<String>)


939
940
941
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 939

def included_object_prefixes
  @included_object_prefixes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



946
947
948
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 946

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