Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedBackendUploadMetadataMigratedFromHangoutsMetadataPhotoId

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppsDynamiteSharedBackendUploadMetadataMigratedFromHangoutsMetadataPhotoId

Returns a new instance of AppsDynamiteSharedBackendUploadMetadataMigratedFromHangoutsMetadataPhotoId.



1115
1116
1117
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1115

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

Instance Attribute Details

#photo_idFixnum

Corresponds to the JSON property photoId

Returns:

  • (Fixnum)


1108
1109
1110
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1108

def photo_id
  @photo_id
end

#user_idFixnum

Corresponds to the JSON property userId

Returns:

  • (Fixnum)


1113
1114
1115
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1113

def user_id
  @user_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1120
1121
1122
1123
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1120

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