Class: Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStoragePath

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

Overview

Message representing a single file or path in Cloud Storage.

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

Returns a new instance of GooglePrivacyDlpV2CloudStoragePath.



794
795
796
# File 'generated/google/apis/dlp_v2/classes.rb', line 794

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

Instance Attribute Details

#pathString

A url representing a file or path (no wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt Corresponds to the JSON property path

Returns:

  • (String)


792
793
794
# File 'generated/google/apis/dlp_v2/classes.rb', line 792

def path
  @path
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



799
800
801
# File 'generated/google/apis/dlp_v2/classes.rb', line 799

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