Skip to main content

announcements

Creates, updates, deletes, gets or lists an announcements resource.

Overview

Nameannouncements
TypeResource
Idgoogle.vmwareengine.announcements

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringOutput only. The resource name of the announcement. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-west1-a/announcements/my-announcement-id
activityTypestringOptional. Activity type of the announcement There can be only one active announcement for a given activity type and target resource.
clusterstringA Cluster resource name.
codestringRequired. Code of the announcement. Indicates the presence of a VMware Engine related announcement and corresponds to a related message in the description field.
createTimestring (google-datetime)Output only. Creation time of this resource. It also serves as start time of notification.
descriptionstringOutput only. Description of the announcement.
metadataobjectOutput only. Additional structured details about this announcement.
privateCloudstringA Private Cloud resource name.
statestringOutput only. State of the resource. New values may be added to this enum when appropriate.
targetResourceTypestringOutput only. Target Resource Type defines the type of the target for the announcement
updateTimestring (google-datetime)Output only. Last update time of this resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectprojectsId, locationsId, announcementsIdRetrieves a Announcement by its resource name.
listselectprojectsId, locationsIdpageSize, pageToken, filter, orderByLists Announcements for a given region and project

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
announcementsIdstring
locationsIdstring
projectsIdstring
filterstring
orderBystring
pageSizeinteger (int32)
pageTokenstring

SELECT examples

Retrieves a Announcement by its resource name.

SELECT
name,
activityType,
cluster,
code,
createTime,
description,
metadata,
privateCloud,
state,
targetResourceType,
updateTime
FROM google.vmwareengine.announcements
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND announcementsId = '{{ announcementsId }}' -- required;