Class: Google::Apis::CloudsearchV1::Reference
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::Reference
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Overview
All fields in this proto are now columns in spanner see google3/storage/slice/ production/gmail/user_data_tables.pi for documentation.
Instance Attribute Summary collapse
-
#blob_id ⇒ String
Corresponds to the JSON property
blobId
. -
#content_type ⇒ String
Corresponds to the JSON property
contentType
. -
#hash_prop ⇒ String
Corresponds to the JSON property
hash
. -
#key ⇒ String
LINT.IfChange Corresponds to the JSON property
key
. -
#name ⇒ String
LINT.ThenChange(//depot/google3/storage/slice/production/gmail/ user_data_tables.pi) Corresponds to the JSON property
name
. -
#size ⇒ Fixnum
Corresponds to the JSON property
size
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Reference
constructor
A new instance of Reference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Reference
Returns a new instance of Reference.
17179 17180 17181 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17179 def initialize(**args) update!(**args) end |
Instance Attribute Details
#blob_id ⇒ String
Corresponds to the JSON property blobId
17151 17152 17153 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17151 def blob_id @blob_id end |
#content_type ⇒ String
Corresponds to the JSON property contentType
17156 17157 17158 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17156 def content_type @content_type end |
#hash_prop ⇒ String
Corresponds to the JSON property hash
17161 17162 17163 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17161 def hash_prop @hash_prop end |
#key ⇒ String
LINT.IfChange
Corresponds to the JSON property key
17166 17167 17168 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17166 def key @key end |
#name ⇒ String
LINT.ThenChange(//depot/google3/storage/slice/production/gmail/
user_data_tables.pi)
Corresponds to the JSON property name
17172 17173 17174 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17172 def name @name end |
#size ⇒ Fixnum
Corresponds to the JSON property size
17177 17178 17179 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17177 def size @size end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17184 17185 17186 17187 17188 17189 17190 17191 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17184 def update!(**args) @blob_id = args[:blob_id] if args.key?(:blob_id) @content_type = args[:content_type] if args.key?(:content_type) @hash_prop = args[:hash_prop] if args.key?(:hash_prop) @key = args[:key] if args.key?(:key) @name = args[:name] if args.key?(:name) @size = args[:size] if args.key?(:size) end |