Class: Google::Apis::CloudsupportV2beta::ObjectIdProp

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudsupport_v2beta/classes.rb,
lib/google/apis/cloudsupport_v2beta/representations.rb,
lib/google/apis/cloudsupport_v2beta/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.



1191
1192
1193
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1191

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)


1179
1180
1181
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1179

def bucket_name
  @bucket_name
end

#generationFixnum

gdata.* are outside protos with mising documentation

Corresponds to the JSON property generation

Returns:

  • (Fixnum)


1184
1185
1186
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1184

def generation
  @generation
end

#object_nameString

gdata.* are outside protos with mising documentation

Corresponds to the JSON property objectName

Returns:

  • (String)


1189
1190
1191
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1189

def object_name
  @object_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1196
1197
1198
1199
1200
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1196

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