Class: Google::Apis::VmwareengineV1::ListAnnouncementsResponse

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

Overview

Response message for VmwareEngine.ListAnnouncements

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListAnnouncementsResponse

Returns a new instance of ListAnnouncementsResponse.



1416
1417
1418
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1416

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

Instance Attribute Details

#announcementsArray<Google::Apis::VmwareengineV1::Announcement>

A list of announcement runs. Corresponds to the JSON property announcements



1403
1404
1405
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1403

def announcements
  @announcements
end

#next_page_tokenString

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1409
1410
1411
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1409

def next_page_token
  @next_page_token
end

#unreachableArray<String>

list of unreachable locations Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


1414
1415
1416
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1414

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1421
1422
1423
1424
1425
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1421

def update!(**args)
  @announcements = args[:announcements] if args.key?(:announcements)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @unreachable = args[:unreachable] if args.key?(:unreachable)
end