Class: Google::Apis::CloudsupportV2::ObjectIdProp

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

Overview

gdata.* are outside protos with mising documentation

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ObjectIdProp

Returns a new instance of ObjectIdProp.



1158
1159
1160
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 1158

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

Instance Attribute Details

#bucket_nameString

gdata.* are outside protos with mising documentation

Corresponds to the JSON property bucketName

Returns:

  • (String)


1146
1147
1148
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 1146

def bucket_name
  @bucket_name
end

#generationFixnum

gdata.* are outside protos with mising documentation

Corresponds to the JSON property generation

Returns:

  • (Fixnum)


1151
1152
1153
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 1151

def generation
  @generation
end

#object_nameString

gdata.* are outside protos with mising documentation

Corresponds to the JSON property objectName

Returns:

  • (String)


1156
1157
1158
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 1156

def object_name
  @object_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1163
1164
1165
1166
1167
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 1163

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