Class: Google::Apis::CloudsearchV1::Reference

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Reference

Returns a new instance of Reference.



17083
17084
17085
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17083

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

Instance Attribute Details

#blob_idString

Corresponds to the JSON property blobId

Returns:

  • (String)


17055
17056
17057
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17055

def blob_id
  @blob_id
end

#content_typeString

Corresponds to the JSON property contentType

Returns:

  • (String)


17060
17061
17062
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17060

def content_type
  @content_type
end

#hash_propString

Corresponds to the JSON property hash

Returns:

  • (String)


17065
17066
17067
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17065

def hash_prop
  @hash_prop
end

#keyString

LINT.IfChange Corresponds to the JSON property key

Returns:

  • (String)


17070
17071
17072
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17070

def key
  @key
end

#nameString

LINT.ThenChange(//depot/google3/storage/slice/production/gmail/ user_data_tables.pi) Corresponds to the JSON property name

Returns:

  • (String)


17076
17077
17078
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17076

def name
  @name
end

#sizeFixnum

Corresponds to the JSON property size

Returns:

  • (Fixnum)


17081
17082
17083
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17081

def size
  @size
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17088
17089
17090
17091
17092
17093
17094
17095
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17088

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