diff --git a/backupdr/v1/backupdr-api.json b/backupdr/v1/backupdr-api.json index 8130e497c52..2d4af03cd63 100644 --- a/backupdr/v1/backupdr-api.json +++ b/backupdr/v1/backupdr-api.json @@ -177,38 +177,6 @@ } }, "resources": { - "backupVaults": { - "methods": { - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupVaults/{backupVaultsId}:testIamPermissions", - "httpMethod": "POST", - "id": "backupdr.projects.locations.backupVaults.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/backupVaults/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, "managementServers": { "methods": { "create": { @@ -567,7 +535,7 @@ } } }, - "revision": "20240410", + "revision": "20240508", "rootUrl": "https://backupdr.googleapis.com/", "schemas": { "AuditConfig": { diff --git a/backupdr/v1/backupdr-gen.go b/backupdr/v1/backupdr-gen.go index 4505fd627f3..73109198ced 100644 --- a/backupdr/v1/backupdr-gen.go +++ b/backupdr/v1/backupdr-gen.go @@ -168,7 +168,6 @@ type ProjectsService struct { func NewProjectsLocationsService(s *Service) *ProjectsLocationsService { rs := &ProjectsLocationsService{s: s} - rs.BackupVaults = NewProjectsLocationsBackupVaultsService(s) rs.ManagementServers = NewProjectsLocationsManagementServersService(s) rs.Operations = NewProjectsLocationsOperationsService(s) return rs @@ -177,22 +176,11 @@ func NewProjectsLocationsService(s *Service) *ProjectsLocationsService { type ProjectsLocationsService struct { s *Service - BackupVaults *ProjectsLocationsBackupVaultsService - ManagementServers *ProjectsLocationsManagementServersService Operations *ProjectsLocationsOperationsService } -func NewProjectsLocationsBackupVaultsService(s *Service) *ProjectsLocationsBackupVaultsService { - rs := &ProjectsLocationsBackupVaultsService{s: s} - return rs -} - -type ProjectsLocationsBackupVaultsService struct { - s *Service -} - func NewProjectsLocationsManagementServersService(s *Service) *ProjectsLocationsManagementServersService { rs := &ProjectsLocationsManagementServersService{s: s} return rs @@ -1326,115 +1314,6 @@ func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocat } } -type ProjectsLocationsBackupVaultsTestIamPermissionsCall struct { - s *Service - resource string - testiampermissionsrequest *TestIamPermissionsRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header -} - -// TestIamPermissions: Returns permissions that a caller has on the specified -// resource. If the resource does not exist, this will return an empty set of -// permissions, not a `NOT_FOUND` error. Note: This operation is designed to be -// used for building permission-aware UIs and command-line tools, not for -// authorization checking. This operation may "fail open" without warning. -// -// - resource: REQUIRED: The resource for which the policy detail is being -// requested. See Resource names -// (https://cloud.google.com/apis/design/resource_names) for the appropriate -// value for this field. -func (r *ProjectsLocationsBackupVaultsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsBackupVaultsTestIamPermissionsCall { - c := &ProjectsLocationsBackupVaultsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.resource = resource - c.testiampermissionsrequest = testiampermissionsrequest - return c -} - -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more -// details. -func (c *ProjectsLocationsBackupVaultsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsBackupVaultsTestIamPermissionsCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} - -// Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsBackupVaultsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsBackupVaultsTestIamPermissionsCall { - c.ctx_ = ctx - return c -} - -// Header returns a http.Header that can be modified by the caller to add -// headers to the request. -func (c *ProjectsLocationsBackupVaultsTestIamPermissionsCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsBackupVaultsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.testiampermissionsrequest) - if err != nil { - return nil, err - } - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+resource}:testIamPermissions") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "resource": c.resource, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "backupdr.projects.locations.backupVaults.testIamPermissions" call. -// Any non-2xx status code is an error. Response headers are in either -// *TestIamPermissionsResponse.ServerResponse.Header or (if a response was -// returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was because -// http.StatusNotModified was returned. -func (c *ProjectsLocationsBackupVaultsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error) { - gensupport.SetOptions(c.urlParams_, opts...) - res, err := c.doRequest("json") - if res != nil && res.StatusCode == http.StatusNotModified { - if res.Body != nil { - res.Body.Close() - } - return nil, gensupport.WrapError(&googleapi.Error{ - Code: res.StatusCode, - Header: res.Header, - }) - } - if err != nil { - return nil, err - } - defer googleapi.CloseBody(res) - if err := googleapi.CheckResponse(res); err != nil { - return nil, gensupport.WrapError(err) - } - ret := &TestIamPermissionsResponse{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil -} - type ProjectsLocationsManagementServersCreateCall struct { s *Service parent string diff --git a/chromemanagement/v1/chromemanagement-api.json b/chromemanagement/v1/chromemanagement-api.json index 8334647d96e..3fe1bb1afbc 100644 --- a/chromemanagement/v1/chromemanagement-api.json +++ b/chromemanagement/v1/chromemanagement-api.json @@ -1172,7 +1172,7 @@ } } }, - "revision": "20240321", + "revision": "20240516", "rootUrl": "https://chromemanagement.googleapis.com/", "schemas": { "GoogleChromeManagementV1AndroidAppInfo": { @@ -3438,6 +3438,329 @@ }, "type": "object" }, + "GoogleChromeManagementV1TelemetryAppInstallEvent": { + "description": "App installation data.", + "id": "GoogleChromeManagementV1TelemetryAppInstallEvent", + "properties": { + "appId": { + "description": "App id. For PWAs this is the start URL, and for extensions this is the extension id.", + "type": "string" + }, + "appInstallReason": { + "description": "App installation reason.", + "enum": [ + "APPLICATION_INSTALL_REASON_UNSPECIFIED", + "APPLICATION_INSTALL_REASON_SYSTEM", + "APPLICATION_INSTALL_REASON_POLICY", + "APPLICATION_INSTALL_REASON_OEM", + "APPLICATION_INSTALL_REASON_DEFAULT", + "APPLICATION_INSTALL_REASON_SYNC", + "APPLICATION_INSTALL_REASON_USER", + "APPLICATION_INSTALL_REASON_SUB_APP", + "APPLICATION_INSTALL_REASON_KIOSK", + "APPLICATION_INSTALL_REASON_COMMAND_LINE" + ], + "enumDescriptions": [ + "Application install reason is unknown.", + "Application installed with the system and is considered part of the OS.", + "Application installed by policy.", + "Application installed by an original equipment manufacturer (OEM).", + "Application installed by default, but is not considered a system app.", + "Application installed by sync.", + "Application installed by user action.", + "Application installed bt SubApp API call.", + "Application installed by Kiosk on Chrome OS.", + "Application installed by command line argument." + ], + "type": "string" + }, + "appInstallSource": { + "description": "App installation source.", + "enum": [ + "APPLICATION_INSTALL_SOURCE_UNSPECIFIED", + "APPLICATION_INSTALL_SOURCE_SYSTEM", + "APPLICATION_INSTALL_SOURCE_SYNC", + "APPLICATION_INSTALL_SOURCE_PLAY_STORE", + "APPLICATION_INSTALL_SOURCE_CHROME_WEB_STORE", + "APPLICATION_INSTALL_SOURCE_BROWSER" + ], + "enumDescriptions": [ + "Application install source is unknown.", + "Application installed as part of Chrome OS.", + "Application install source is a sync.", + "Application install source is the Play store.", + "Application install source is the Chrome web store.", + "Application install source is a browser." + ], + "type": "string" + }, + "appInstallTime": { + "description": "App installation time depending on the app lifecycle.", + "enum": [ + "APPLICATION_INSTALL_TIME_UNSPECIFIED", + "APPLICATION_INSTALL_TIME_INIT", + "APPLICATION_INSTALL_TIME_RUNNING" + ], + "enumDescriptions": [ + "Application install time unknown.", + "Application install is initialized.", + "Application install is currently running." + ], + "type": "string" + }, + "appType": { + "description": "Type of app.", + "enum": [ + "TELEMETRY_APPLICATION_TYPE_UNSPECIFIED", + "APPLICATION_TYPE_ARC", + "APPLICATION_TYPE_BUILT_IN", + "APPLICATION_TYPE_CROSTINI", + "APPLICATION_TYPE_CHROME_APP", + "APPLICATION_TYPE_WEB", + "APPLICATION_TYPE_MAC_OS", + "APPLICATION_TYPE_PLUGIN_VM", + "APPLICATION_TYPE_STANDALONE_BROWSER", + "APPLICATION_TYPE_REMOTE", + "APPLICATION_TYPE_BOREALIS", + "APPLICATION_TYPE_SYSTEM_WEB", + "APPLICATION_TYPE_STANDALONE_BROWSER_CHROME_APP", + "APPLICATION_TYPE_EXTENSION", + "APPLICATION_TYPE_STANDALONE_BROWSER_EXTENSION", + "APPLICATION_TYPE_BRUSCHETTA" + ], + "enumDescriptions": [ + "Application type unknown.", + "Application type arc (Android app).", + "Application type built-in.", + "Application type Linux (via Crostini).", + "Application type Chrome app.", + "Application type web.", + "Application type Mac OS.", + "Application type Plugin VM.", + "Application type standalone browser (Lacros browser app).", + "Application type remote.", + "Application type borealis.", + "Application type system web.", + "Application type standalone browser chrome app (hosted in Lacros).", + "Application type extension.", + "Application type standalone browser extension.", + "Application type bruschetta." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleChromeManagementV1TelemetryAppLaunchEvent": { + "description": "App launch data.", + "id": "GoogleChromeManagementV1TelemetryAppLaunchEvent", + "properties": { + "appId": { + "description": "App id. For PWAs this is the start URL, and for extensions this is the extension id.", + "type": "string" + }, + "appLaunchSource": { + "description": "App launch source.", + "enum": [ + "APPLICATION_LAUNCH_SOURCE_UNSPECIFIED", + "APPLICATION_LAUNCH_SOURCE_APP_LIST_GRID", + "APPLICATION_LAUNCH_SOURCE_APP_LIST_GRID_CONTEXT_MENU", + "APPLICATION_LAUNCH_SOURCE_APP_LIST_QUERY", + "APPLICATION_LAUNCH_SOURCE_APP_LIST_QUERY_CONTEXT_MENU", + "APPLICATION_LAUNCH_SOURCE_APP_LIST_RECOMMENDATION", + "APPLICATION_LAUNCH_SOURCE_PARENTAL_CONTROLS", + "APPLICATION_LAUNCH_SOURCE_SHELF", + "APPLICATION_LAUNCH_SOURCE_FILE_MANAGER", + "APPLICATION_LAUNCH_SOURCE_LINK", + "APPLICATION_LAUNCH_SOURCE_OMNIBOX", + "APPLICATION_LAUNCH_SOURCE_CHROME_INTERNAL", + "APPLICATION_LAUNCH_SOURCE_KEYBOARD", + "APPLICATION_LAUNCH_SOURCE_OTHER_APP", + "APPLICATION_LAUNCH_SOURCE_MENU", + "APPLICATION_LAUNCH_SOURCE_INSTALLED_NOTIFICATION", + "APPLICATION_LAUNCH_SOURCE_TEST", + "APPLICATION_LAUNCH_SOURCE_ARC", + "APPLICATION_LAUNCH_SOURCE_SHARESHEET", + "APPLICATION_LAUNCH_SOURCE_RELEASE_NOTES_NOTIFICATION", + "APPLICATION_LAUNCH_SOURCE_FULL_RESTORE", + "APPLICATION_LAUNCH_SOURCE_SMART_TEXT_CONTEXT_MENU", + "APPLICATION_LAUNCH_SOURCE_DISCOVER_TAB_NOTIFICATION", + "APPLICATION_LAUNCH_SOURCE_MANAGEMENT_API", + "APPLICATION_LAUNCH_SOURCE_KIOSK", + "APPLICATION_LAUNCH_SOURCE_COMMAND_LINE", + "APPLICATION_LAUNCH_SOURCE_BACKGROUND_MODE", + "APPLICATION_LAUNCH_SOURCE_NEW_TAB_PAGE", + "APPLICATION_LAUNCH_SOURCE_INTENT_URL", + "APPLICATION_LAUNCH_SOURCE_OS_LOGIN", + "APPLICATION_LAUNCH_SOURCE_PROTOCOL_HANDLER", + "APPLICATION_LAUNCH_SOURCE_URL_HANDLER", + "APPLICATION_LAUNCH_SOURCE_LOCK_SCREEN", + "APPLICATION_LAUNCH_SOURCE_APP_HOME_PAGE", + "APPLICATION_LAUNCH_SOURCE_REPARENTING", + "APPLICATION_LAUNCH_SOURCE_PROFILE_MENU", + "APPLICATION_LAUNCH_SOURCE_SYSTEM_TRAY_CALENDAR", + "APPLICATION_LAUNCH_SOURCE_INSTALLER", + "APPLICATION_LAUNCH_SOURCE_FIRST_RUN", + "APPLICATION_LAUNCH_SOURCE_WELCOME_TOUR", + "APPLICATION_LAUNCH_SOURCE_FOCUS_MODE" + ], + "enumDescriptions": [ + "Application launch source unknown.", + "Application launched from the grid of apps, not the search box.", + "Application launched from the grid of apps, off of the context menu.", + "Application launched from query-dependent results (larger icons).", + "Application launched from query-dependent results, off of the context menu.", + "Application launched from query-less recommendations (smaller icons).", + "Application launched from the Parental Controls Settings section and Per App time notification.", + "Application launched from shelf.", + "Application launched from the file manager", + "Application launched from left click on a link in the browser.", + "Application launched from entering a URL in the Omnibox on the browser.", + "Application launched from a Chrome internal call.", + "Application launched from keyboard shortcut for opening app.", + "Application launched from clicking a link in another app or WebUI.", + "Application launched from menu.", + "Application launched from the installed notification.", + "Application launched from a test.", + "Application launched from Arc.", + "Application launched from Sharesheet.", + "Application launched from the release notes notification.", + "Application launched from a full restore.", + "Application launched from a smart text selection context menu.", + "Application launched from a discover tab notification.", + "Application launched from the Management API.", + "Application launched from kiosk.", + "Application launched from the command line.", + "Application launched from background mode.", + "Application launched from the new tab page.", + "Application launched from an intent URL.", + "Application launched from OS login.", + "Application launched from protocol handler.", + "Application launched from URL handler.", + "Application launched from lock screen app launcher.", + "Application launched from app home (chrome://apps) page.", + "Application launched from moving content into an app.", + "Application launched from profile menu of installable chrome://password-manager WebUI.", + "Application launched from system tray calendar.", + "Application launched from source installer.", + "Count first-run Help app launches separately so that we can understand the number of user-triggered launches.", + "Application launched from welcome tour.", + "Applicationed launched from focus panel." + ], + "type": "string" + }, + "appType": { + "description": "Type of app.", + "enum": [ + "TELEMETRY_APPLICATION_TYPE_UNSPECIFIED", + "APPLICATION_TYPE_ARC", + "APPLICATION_TYPE_BUILT_IN", + "APPLICATION_TYPE_CROSTINI", + "APPLICATION_TYPE_CHROME_APP", + "APPLICATION_TYPE_WEB", + "APPLICATION_TYPE_MAC_OS", + "APPLICATION_TYPE_PLUGIN_VM", + "APPLICATION_TYPE_STANDALONE_BROWSER", + "APPLICATION_TYPE_REMOTE", + "APPLICATION_TYPE_BOREALIS", + "APPLICATION_TYPE_SYSTEM_WEB", + "APPLICATION_TYPE_STANDALONE_BROWSER_CHROME_APP", + "APPLICATION_TYPE_EXTENSION", + "APPLICATION_TYPE_STANDALONE_BROWSER_EXTENSION", + "APPLICATION_TYPE_BRUSCHETTA" + ], + "enumDescriptions": [ + "Application type unknown.", + "Application type arc (Android app).", + "Application type built-in.", + "Application type Linux (via Crostini).", + "Application type Chrome app.", + "Application type web.", + "Application type Mac OS.", + "Application type Plugin VM.", + "Application type standalone browser (Lacros browser app).", + "Application type remote.", + "Application type borealis.", + "Application type system web.", + "Application type standalone browser chrome app (hosted in Lacros).", + "Application type extension.", + "Application type standalone browser extension.", + "Application type bruschetta." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleChromeManagementV1TelemetryAppUninstallEvent": { + "description": "App uninstall data.", + "id": "GoogleChromeManagementV1TelemetryAppUninstallEvent", + "properties": { + "appId": { + "description": "App id. For PWAs this is the start URL, and for extensions this is the extension id.", + "type": "string" + }, + "appType": { + "description": "Type of app.", + "enum": [ + "TELEMETRY_APPLICATION_TYPE_UNSPECIFIED", + "APPLICATION_TYPE_ARC", + "APPLICATION_TYPE_BUILT_IN", + "APPLICATION_TYPE_CROSTINI", + "APPLICATION_TYPE_CHROME_APP", + "APPLICATION_TYPE_WEB", + "APPLICATION_TYPE_MAC_OS", + "APPLICATION_TYPE_PLUGIN_VM", + "APPLICATION_TYPE_STANDALONE_BROWSER", + "APPLICATION_TYPE_REMOTE", + "APPLICATION_TYPE_BOREALIS", + "APPLICATION_TYPE_SYSTEM_WEB", + "APPLICATION_TYPE_STANDALONE_BROWSER_CHROME_APP", + "APPLICATION_TYPE_EXTENSION", + "APPLICATION_TYPE_STANDALONE_BROWSER_EXTENSION", + "APPLICATION_TYPE_BRUSCHETTA" + ], + "enumDescriptions": [ + "Application type unknown.", + "Application type arc (Android app).", + "Application type built-in.", + "Application type Linux (via Crostini).", + "Application type Chrome app.", + "Application type web.", + "Application type Mac OS.", + "Application type Plugin VM.", + "Application type standalone browser (Lacros browser app).", + "Application type remote.", + "Application type borealis.", + "Application type system web.", + "Application type standalone browser chrome app (hosted in Lacros).", + "Application type extension.", + "Application type standalone browser extension.", + "Application type bruschetta." + ], + "type": "string" + }, + "appUninstallSource": { + "description": "App uninstall source.", + "enum": [ + "APPLICATION_UNINSTALL_SOURCE_UNSPECIFIED", + "APPLICATION_UNINSTALL_SOURCE_APP_LIST", + "APPLICATION_UNINSTALL_SOURCE_APP_MANAGEMENT", + "APPLICATION_UNINSTALL_SOURCE_SHELF", + "APPLICATION_UNINSTALL_SOURCE_MIGRATION" + ], + "enumDescriptions": [ + "Application uninstall source unknown.", + "Application uninstalled from the App List (Launcher).", + "Application uninstalled from the App Managedment page.", + "Application uninstalled from the Shelf.", + "Application uninstalled by app migration." + ], + "type": "string" + } + }, + "type": "object" + }, "GoogleChromeManagementV1TelemetryAudioSevereUnderrunEvent": { "description": "`TelemetryAudioSevereUnderrunEvent` is triggered when a audio devices run out of buffer data for more than 5 seconds. * Granular permission needed: TELEMETRY_API_AUDIO_REPORT", "id": "GoogleChromeManagementV1TelemetryAudioSevereUnderrunEvent", @@ -3661,6 +3984,21 @@ "description": "Telemetry data reported by a managed device.", "id": "GoogleChromeManagementV1TelemetryEvent", "properties": { + "appInstallEvent": { + "$ref": "GoogleChromeManagementV1TelemetryAppInstallEvent", + "description": "Output only. Payload for app install event. Present only when `event_type` is `APP_INSTALLED`.", + "readOnly": true + }, + "appLaunchEvent": { + "$ref": "GoogleChromeManagementV1TelemetryAppLaunchEvent", + "description": "Output only. Payload for app launch event.Present only when `event_type` is `APP_LAUNCHED`.", + "readOnly": true + }, + "appUninstallEvent": { + "$ref": "GoogleChromeManagementV1TelemetryAppUninstallEvent", + "description": "Output only. Payload for app uninstall event. Present only when `event_type` is `APP_UNINSTALLED`.", + "readOnly": true + }, "audioSevereUnderrunEvent": { "$ref": "GoogleChromeManagementV1TelemetryAudioSevereUnderrunEvent", "description": "Output only. Payload for audio severe underrun event. Present only when the `event_type` field is `AUDIO_SEVERE_UNDERRUN`.", @@ -3682,7 +4020,10 @@ "NETWORK_HTTPS_LATENCY_CHANGE", "WIFI_SIGNAL_STRENGTH_LOW", "WIFI_SIGNAL_STRENGTH_RECOVERED", - "VPN_CONNECTION_STATE_CHANGE" + "VPN_CONNECTION_STATE_CHANGE", + "APP_INSTALLED", + "APP_UNINSTALLED", + "APP_LAUNCHED" ], "enumDescriptions": [ "Event type unknown.", @@ -3693,7 +4034,10 @@ "Triggered when a new HTTPS latency problem was detected or the device has recovered form an existing HTTPS latency problem.", "Triggered when connected WiFi network signal strength drops below -70dBm.", "Triggered when connected WiFi network signal strength is recovered from a signal drop.", - "Triggered on changes to VPN connections." + "Triggered on changes to VPN connections.", + "Triggered when an app is installed.", + "Triggered when an app is uninstalled.", + "Triggered when an app is launched." ], "type": "string" }, @@ -3756,7 +4100,10 @@ "NETWORK_HTTPS_LATENCY_CHANGE", "WIFI_SIGNAL_STRENGTH_LOW", "WIFI_SIGNAL_STRENGTH_RECOVERED", - "VPN_CONNECTION_STATE_CHANGE" + "VPN_CONNECTION_STATE_CHANGE", + "APP_INSTALLED", + "APP_UNINSTALLED", + "APP_LAUNCHED" ], "enumDescriptions": [ "Event type unknown.", @@ -3767,7 +4114,10 @@ "Triggered when a new HTTPS latency problem was detected or the device has recovered form an existing HTTPS latency problem.", "Triggered when connected WiFi network signal strength drops below -70dBm.", "Triggered when connected WiFi network signal strength is recovered from a signal drop.", - "Triggered on changes to VPN connections." + "Triggered on changes to VPN connections.", + "Triggered when an app is installed.", + "Triggered when an app is uninstalled.", + "Triggered when an app is launched." ], "type": "string" }, diff --git a/chromemanagement/v1/chromemanagement-gen.go b/chromemanagement/v1/chromemanagement-gen.go index e39606ec996..bb77a587dd5 100644 --- a/chromemanagement/v1/chromemanagement-gen.go +++ b/chromemanagement/v1/chromemanagement-gen.go @@ -2734,6 +2734,282 @@ func (s *GoogleChromeManagementV1StorageStatusReport) MarshalJSON() ([]byte, err return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } +// GoogleChromeManagementV1TelemetryAppInstallEvent: App installation data. +type GoogleChromeManagementV1TelemetryAppInstallEvent struct { + // AppId: App id. For PWAs this is the start URL, and for extensions this is + // the extension id. + AppId string `json:"appId,omitempty"` + // AppInstallReason: App installation reason. + // + // Possible values: + // "APPLICATION_INSTALL_REASON_UNSPECIFIED" - Application install reason is + // unknown. + // "APPLICATION_INSTALL_REASON_SYSTEM" - Application installed with the + // system and is considered part of the OS. + // "APPLICATION_INSTALL_REASON_POLICY" - Application installed by policy. + // "APPLICATION_INSTALL_REASON_OEM" - Application installed by an original + // equipment manufacturer (OEM). + // "APPLICATION_INSTALL_REASON_DEFAULT" - Application installed by default, + // but is not considered a system app. + // "APPLICATION_INSTALL_REASON_SYNC" - Application installed by sync. + // "APPLICATION_INSTALL_REASON_USER" - Application installed by user action. + // "APPLICATION_INSTALL_REASON_SUB_APP" - Application installed bt SubApp API + // call. + // "APPLICATION_INSTALL_REASON_KIOSK" - Application installed by Kiosk on + // Chrome OS. + // "APPLICATION_INSTALL_REASON_COMMAND_LINE" - Application installed by + // command line argument. + AppInstallReason string `json:"appInstallReason,omitempty"` + // AppInstallSource: App installation source. + // + // Possible values: + // "APPLICATION_INSTALL_SOURCE_UNSPECIFIED" - Application install source is + // unknown. + // "APPLICATION_INSTALL_SOURCE_SYSTEM" - Application installed as part of + // Chrome OS. + // "APPLICATION_INSTALL_SOURCE_SYNC" - Application install source is a sync. + // "APPLICATION_INSTALL_SOURCE_PLAY_STORE" - Application install source is + // the Play store. + // "APPLICATION_INSTALL_SOURCE_CHROME_WEB_STORE" - Application install source + // is the Chrome web store. + // "APPLICATION_INSTALL_SOURCE_BROWSER" - Application install source is a + // browser. + AppInstallSource string `json:"appInstallSource,omitempty"` + // AppInstallTime: App installation time depending on the app lifecycle. + // + // Possible values: + // "APPLICATION_INSTALL_TIME_UNSPECIFIED" - Application install time unknown. + // "APPLICATION_INSTALL_TIME_INIT" - Application install is initialized. + // "APPLICATION_INSTALL_TIME_RUNNING" - Application install is currently + // running. + AppInstallTime string `json:"appInstallTime,omitempty"` + // AppType: Type of app. + // + // Possible values: + // "TELEMETRY_APPLICATION_TYPE_UNSPECIFIED" - Application type unknown. + // "APPLICATION_TYPE_ARC" - Application type arc (Android app). + // "APPLICATION_TYPE_BUILT_IN" - Application type built-in. + // "APPLICATION_TYPE_CROSTINI" - Application type Linux (via Crostini). + // "APPLICATION_TYPE_CHROME_APP" - Application type Chrome app. + // "APPLICATION_TYPE_WEB" - Application type web. + // "APPLICATION_TYPE_MAC_OS" - Application type Mac OS. + // "APPLICATION_TYPE_PLUGIN_VM" - Application type Plugin VM. + // "APPLICATION_TYPE_STANDALONE_BROWSER" - Application type standalone + // browser (Lacros browser app). + // "APPLICATION_TYPE_REMOTE" - Application type remote. + // "APPLICATION_TYPE_BOREALIS" - Application type borealis. + // "APPLICATION_TYPE_SYSTEM_WEB" - Application type system web. + // "APPLICATION_TYPE_STANDALONE_BROWSER_CHROME_APP" - Application type + // standalone browser chrome app (hosted in Lacros). + // "APPLICATION_TYPE_EXTENSION" - Application type extension. + // "APPLICATION_TYPE_STANDALONE_BROWSER_EXTENSION" - Application type + // standalone browser extension. + // "APPLICATION_TYPE_BRUSCHETTA" - Application type bruschetta. + AppType string `json:"appType,omitempty"` + // ForceSendFields is a list of field names (e.g. "AppId") to unconditionally + // include in API requests. By default, fields with empty or default values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "AppId") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s *GoogleChromeManagementV1TelemetryAppInstallEvent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleChromeManagementV1TelemetryAppInstallEvent + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) +} + +// GoogleChromeManagementV1TelemetryAppLaunchEvent: App launch data. +type GoogleChromeManagementV1TelemetryAppLaunchEvent struct { + // AppId: App id. For PWAs this is the start URL, and for extensions this is + // the extension id. + AppId string `json:"appId,omitempty"` + // AppLaunchSource: App launch source. + // + // Possible values: + // "APPLICATION_LAUNCH_SOURCE_UNSPECIFIED" - Application launch source + // unknown. + // "APPLICATION_LAUNCH_SOURCE_APP_LIST_GRID" - Application launched from the + // grid of apps, not the search box. + // "APPLICATION_LAUNCH_SOURCE_APP_LIST_GRID_CONTEXT_MENU" - Application + // launched from the grid of apps, off of the context menu. + // "APPLICATION_LAUNCH_SOURCE_APP_LIST_QUERY" - Application launched from + // query-dependent results (larger icons). + // "APPLICATION_LAUNCH_SOURCE_APP_LIST_QUERY_CONTEXT_MENU" - Application + // launched from query-dependent results, off of the context menu. + // "APPLICATION_LAUNCH_SOURCE_APP_LIST_RECOMMENDATION" - Application launched + // from query-less recommendations (smaller icons). + // "APPLICATION_LAUNCH_SOURCE_PARENTAL_CONTROLS" - Application launched from + // the Parental Controls Settings section and Per App time notification. + // "APPLICATION_LAUNCH_SOURCE_SHELF" - Application launched from shelf. + // "APPLICATION_LAUNCH_SOURCE_FILE_MANAGER" - Application launched from the + // file manager + // "APPLICATION_LAUNCH_SOURCE_LINK" - Application launched from left click on + // a link in the browser. + // "APPLICATION_LAUNCH_SOURCE_OMNIBOX" - Application launched from entering a + // URL in the Omnibox on the browser. + // "APPLICATION_LAUNCH_SOURCE_CHROME_INTERNAL" - Application launched from a + // Chrome internal call. + // "APPLICATION_LAUNCH_SOURCE_KEYBOARD" - Application launched from keyboard + // shortcut for opening app. + // "APPLICATION_LAUNCH_SOURCE_OTHER_APP" - Application launched from clicking + // a link in another app or WebUI. + // "APPLICATION_LAUNCH_SOURCE_MENU" - Application launched from menu. + // "APPLICATION_LAUNCH_SOURCE_INSTALLED_NOTIFICATION" - Application launched + // from the installed notification. + // "APPLICATION_LAUNCH_SOURCE_TEST" - Application launched from a test. + // "APPLICATION_LAUNCH_SOURCE_ARC" - Application launched from Arc. + // "APPLICATION_LAUNCH_SOURCE_SHARESHEET" - Application launched from + // Sharesheet. + // "APPLICATION_LAUNCH_SOURCE_RELEASE_NOTES_NOTIFICATION" - Application + // launched from the release notes notification. + // "APPLICATION_LAUNCH_SOURCE_FULL_RESTORE" - Application launched from a + // full restore. + // "APPLICATION_LAUNCH_SOURCE_SMART_TEXT_CONTEXT_MENU" - Application launched + // from a smart text selection context menu. + // "APPLICATION_LAUNCH_SOURCE_DISCOVER_TAB_NOTIFICATION" - Application + // launched from a discover tab notification. + // "APPLICATION_LAUNCH_SOURCE_MANAGEMENT_API" - Application launched from the + // Management API. + // "APPLICATION_LAUNCH_SOURCE_KIOSK" - Application launched from kiosk. + // "APPLICATION_LAUNCH_SOURCE_COMMAND_LINE" - Application launched from the + // command line. + // "APPLICATION_LAUNCH_SOURCE_BACKGROUND_MODE" - Application launched from + // background mode. + // "APPLICATION_LAUNCH_SOURCE_NEW_TAB_PAGE" - Application launched from the + // new tab page. + // "APPLICATION_LAUNCH_SOURCE_INTENT_URL" - Application launched from an + // intent URL. + // "APPLICATION_LAUNCH_SOURCE_OS_LOGIN" - Application launched from OS login. + // "APPLICATION_LAUNCH_SOURCE_PROTOCOL_HANDLER" - Application launched from + // protocol handler. + // "APPLICATION_LAUNCH_SOURCE_URL_HANDLER" - Application launched from URL + // handler. + // "APPLICATION_LAUNCH_SOURCE_LOCK_SCREEN" - Application launched from lock + // screen app launcher. + // "APPLICATION_LAUNCH_SOURCE_APP_HOME_PAGE" - Application launched from app + // home (chrome://apps) page. + // "APPLICATION_LAUNCH_SOURCE_REPARENTING" - Application launched from moving + // content into an app. + // "APPLICATION_LAUNCH_SOURCE_PROFILE_MENU" - Application launched from + // profile menu of installable chrome://password-manager WebUI. + // "APPLICATION_LAUNCH_SOURCE_SYSTEM_TRAY_CALENDAR" - Application launched + // from system tray calendar. + // "APPLICATION_LAUNCH_SOURCE_INSTALLER" - Application launched from source + // installer. + // "APPLICATION_LAUNCH_SOURCE_FIRST_RUN" - Count first-run Help app launches + // separately so that we can understand the number of user-triggered launches. + // "APPLICATION_LAUNCH_SOURCE_WELCOME_TOUR" - Application launched from + // welcome tour. + // "APPLICATION_LAUNCH_SOURCE_FOCUS_MODE" - Applicationed launched from focus + // panel. + AppLaunchSource string `json:"appLaunchSource,omitempty"` + // AppType: Type of app. + // + // Possible values: + // "TELEMETRY_APPLICATION_TYPE_UNSPECIFIED" - Application type unknown. + // "APPLICATION_TYPE_ARC" - Application type arc (Android app). + // "APPLICATION_TYPE_BUILT_IN" - Application type built-in. + // "APPLICATION_TYPE_CROSTINI" - Application type Linux (via Crostini). + // "APPLICATION_TYPE_CHROME_APP" - Application type Chrome app. + // "APPLICATION_TYPE_WEB" - Application type web. + // "APPLICATION_TYPE_MAC_OS" - Application type Mac OS. + // "APPLICATION_TYPE_PLUGIN_VM" - Application type Plugin VM. + // "APPLICATION_TYPE_STANDALONE_BROWSER" - Application type standalone + // browser (Lacros browser app). + // "APPLICATION_TYPE_REMOTE" - Application type remote. + // "APPLICATION_TYPE_BOREALIS" - Application type borealis. + // "APPLICATION_TYPE_SYSTEM_WEB" - Application type system web. + // "APPLICATION_TYPE_STANDALONE_BROWSER_CHROME_APP" - Application type + // standalone browser chrome app (hosted in Lacros). + // "APPLICATION_TYPE_EXTENSION" - Application type extension. + // "APPLICATION_TYPE_STANDALONE_BROWSER_EXTENSION" - Application type + // standalone browser extension. + // "APPLICATION_TYPE_BRUSCHETTA" - Application type bruschetta. + AppType string `json:"appType,omitempty"` + // ForceSendFields is a list of field names (e.g. "AppId") to unconditionally + // include in API requests. By default, fields with empty or default values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "AppId") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s *GoogleChromeManagementV1TelemetryAppLaunchEvent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleChromeManagementV1TelemetryAppLaunchEvent + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) +} + +// GoogleChromeManagementV1TelemetryAppUninstallEvent: App uninstall data. +type GoogleChromeManagementV1TelemetryAppUninstallEvent struct { + // AppId: App id. For PWAs this is the start URL, and for extensions this is + // the extension id. + AppId string `json:"appId,omitempty"` + // AppType: Type of app. + // + // Possible values: + // "TELEMETRY_APPLICATION_TYPE_UNSPECIFIED" - Application type unknown. + // "APPLICATION_TYPE_ARC" - Application type arc (Android app). + // "APPLICATION_TYPE_BUILT_IN" - Application type built-in. + // "APPLICATION_TYPE_CROSTINI" - Application type Linux (via Crostini). + // "APPLICATION_TYPE_CHROME_APP" - Application type Chrome app. + // "APPLICATION_TYPE_WEB" - Application type web. + // "APPLICATION_TYPE_MAC_OS" - Application type Mac OS. + // "APPLICATION_TYPE_PLUGIN_VM" - Application type Plugin VM. + // "APPLICATION_TYPE_STANDALONE_BROWSER" - Application type standalone + // browser (Lacros browser app). + // "APPLICATION_TYPE_REMOTE" - Application type remote. + // "APPLICATION_TYPE_BOREALIS" - Application type borealis. + // "APPLICATION_TYPE_SYSTEM_WEB" - Application type system web. + // "APPLICATION_TYPE_STANDALONE_BROWSER_CHROME_APP" - Application type + // standalone browser chrome app (hosted in Lacros). + // "APPLICATION_TYPE_EXTENSION" - Application type extension. + // "APPLICATION_TYPE_STANDALONE_BROWSER_EXTENSION" - Application type + // standalone browser extension. + // "APPLICATION_TYPE_BRUSCHETTA" - Application type bruschetta. + AppType string `json:"appType,omitempty"` + // AppUninstallSource: App uninstall source. + // + // Possible values: + // "APPLICATION_UNINSTALL_SOURCE_UNSPECIFIED" - Application uninstall source + // unknown. + // "APPLICATION_UNINSTALL_SOURCE_APP_LIST" - Application uninstalled from the + // App List (Launcher). + // "APPLICATION_UNINSTALL_SOURCE_APP_MANAGEMENT" - Application uninstalled + // from the App Managedment page. + // "APPLICATION_UNINSTALL_SOURCE_SHELF" - Application uninstalled from the + // Shelf. + // "APPLICATION_UNINSTALL_SOURCE_MIGRATION" - Application uninstalled by app + // migration. + AppUninstallSource string `json:"appUninstallSource,omitempty"` + // ForceSendFields is a list of field names (e.g. "AppId") to unconditionally + // include in API requests. By default, fields with empty or default values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "AppId") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s *GoogleChromeManagementV1TelemetryAppUninstallEvent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleChromeManagementV1TelemetryAppUninstallEvent + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) +} + // GoogleChromeManagementV1TelemetryAudioSevereUnderrunEvent: // `TelemetryAudioSevereUnderrunEvent` is triggered when a audio devices run // out of buffer data for more than 5 seconds. * Granular permission needed: @@ -2866,6 +3142,15 @@ func (s *GoogleChromeManagementV1TelemetryDeviceInfo) MarshalJSON() ([]byte, err // GoogleChromeManagementV1TelemetryEvent: Telemetry data reported by a managed // device. type GoogleChromeManagementV1TelemetryEvent struct { + // AppInstallEvent: Output only. Payload for app install event. Present only + // when `event_type` is `APP_INSTALLED`. + AppInstallEvent *GoogleChromeManagementV1TelemetryAppInstallEvent `json:"appInstallEvent,omitempty"` + // AppLaunchEvent: Output only. Payload for app launch event.Present only when + // `event_type` is `APP_LAUNCHED`. + AppLaunchEvent *GoogleChromeManagementV1TelemetryAppLaunchEvent `json:"appLaunchEvent,omitempty"` + // AppUninstallEvent: Output only. Payload for app uninstall event. Present + // only when `event_type` is `APP_UNINSTALLED`. + AppUninstallEvent *GoogleChromeManagementV1TelemetryAppUninstallEvent `json:"appUninstallEvent,omitempty"` // AudioSevereUnderrunEvent: Output only. Payload for audio severe underrun // event. Present only when the `event_type` field is `AUDIO_SEVERE_UNDERRUN`. AudioSevereUnderrunEvent *GoogleChromeManagementV1TelemetryAudioSevereUnderrunEvent `json:"audioSevereUnderrunEvent,omitempty"` @@ -2889,6 +3174,9 @@ type GoogleChromeManagementV1TelemetryEvent struct { // "WIFI_SIGNAL_STRENGTH_RECOVERED" - Triggered when connected WiFi network // signal strength is recovered from a signal drop. // "VPN_CONNECTION_STATE_CHANGE" - Triggered on changes to VPN connections. + // "APP_INSTALLED" - Triggered when an app is installed. + // "APP_UNINSTALLED" - Triggered when an app is uninstalled. + // "APP_LAUNCHED" - Triggered when an app is launched. EventType string `json:"eventType,omitempty"` // HttpsLatencyChangeEvent: Output only. Payload for HTTPS latency change // event. Present only when `event_type` is `NETWORK_HTTPS_LATENCY_CHANGE`. @@ -2913,15 +3201,15 @@ type GoogleChromeManagementV1TelemetryEvent struct { // events. Present only when `event_type` is `WIFI_SIGNAL_STRENGTH_LOW` or // `WIFI_SIGNAL_STRENGTH_RECOVERED`. WifiSignalStrengthEvent *GoogleChromeManagementV1TelemetryNetworkSignalStrengthEvent `json:"wifiSignalStrengthEvent,omitempty"` - // ForceSendFields is a list of field names (e.g. "AudioSevereUnderrunEvent") - // to unconditionally include in API requests. By default, fields with empty or + // ForceSendFields is a list of field names (e.g. "AppInstallEvent") to + // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AudioSevereUnderrunEvent") to - // include in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. See + // NullFields is a list of field names (e.g. "AppInstallEvent") to include in + // API requests with the JSON null value. By default, fields with empty values + // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` } @@ -2953,6 +3241,9 @@ type GoogleChromeManagementV1TelemetryEventNotificationFilter struct { // "WIFI_SIGNAL_STRENGTH_RECOVERED" - Triggered when connected WiFi network // signal strength is recovered from a signal drop. // "VPN_CONNECTION_STATE_CHANGE" - Triggered on changes to VPN connections. + // "APP_INSTALLED" - Triggered when an app is installed. + // "APP_UNINSTALLED" - Triggered when an app is uninstalled. + // "APP_LAUNCHED" - Triggered when an app is launched. EventTypes []string `json:"eventTypes,omitempty"` // ForceSendFields is a list of field names (e.g. "EventTypes") to // unconditionally include in API requests. By default, fields with empty or diff --git a/cloudkms/v1/cloudkms-api.json b/cloudkms/v1/cloudkms-api.json index 310fe6518f5..d14b423139f 100644 --- a/cloudkms/v1/cloudkms-api.json +++ b/cloudkms/v1/cloudkms-api.json @@ -2056,7 +2056,7 @@ } } }, - "revision": "20240502", + "revision": "20240513", "rootUrl": "https://cloudkms.googleapis.com/", "schemas": { "AsymmetricDecryptRequest": { @@ -3280,8 +3280,7 @@ "type": "string" }, "name": { - "description": "Output only. Identifier. Name of the KeyHandle resource, e.g. `projects/{PROJECT_ID}/locations/{LOCATION}/keyHandles/{KEY_HANDLE_ID}`.", - "readOnly": true, + "description": "Identifier. Name of the KeyHandle resource, e.g. `projects/{PROJECT_ID}/locations/{LOCATION}/keyHandles/{KEY_HANDLE_ID}`.", "type": "string" }, "resourceTypeSelector": { diff --git a/cloudkms/v1/cloudkms-gen.go b/cloudkms/v1/cloudkms-gen.go index 83630f7c778..a6fcb994898 100644 --- a/cloudkms/v1/cloudkms-gen.go +++ b/cloudkms/v1/cloudkms-gen.go @@ -1933,7 +1933,7 @@ type KeyHandle struct { // folder has a configured AutokeyConfig, the nearest of these configurations // is used. KmsKey string `json:"kmsKey,omitempty"` - // Name: Output only. Identifier. Name of the KeyHandle resource, e.g. + // Name: Identifier. Name of the KeyHandle resource, e.g. // `projects/{PROJECT_ID}/locations/{LOCATION}/keyHandles/{KEY_HANDLE_ID}`. Name string `json:"name,omitempty"` // ResourceTypeSelector: Required. Indicates the resource type that the diff --git a/datacatalog/v1/datacatalog-api.json b/datacatalog/v1/datacatalog-api.json index 21a6ef71dcd..9d5c5ba57a6 100644 --- a/datacatalog/v1/datacatalog-api.json +++ b/datacatalog/v1/datacatalog-api.json @@ -2144,7 +2144,7 @@ } } }, - "revision": "20240315", + "revision": "20240511", "rootUrl": "https://datacatalog.googleapis.com/", "schemas": { "Binding": { @@ -4503,14 +4503,20 @@ "AUTOML", "CUSTOM", "BQML", - "MODEL_GARDEN" + "MODEL_GARDEN", + "GENIE", + "CUSTOM_TEXT_EMBEDDING", + "MARKETPLACE" ], "enumDescriptions": [ "Should not be used.", "The Model is uploaded by automl training pipeline.", "The Model is uploaded by user or custom training pipeline.", "The Model is registered and sync'ed from BigQuery ML.", - "The Model is saved or tuned from Model Garden." + "The Model is saved or tuned from Model Garden.", + "The Model is saved or tuned from Genie.", + "The Model is uploaded by text embedding finetuning pipeline.", + "The Model is saved or tuned from Marketplace." ], "type": "string" } diff --git a/datacatalog/v1/datacatalog-gen.go b/datacatalog/v1/datacatalog-gen.go index 3f465ed08be..cda363d938e 100644 --- a/datacatalog/v1/datacatalog-gen.go +++ b/datacatalog/v1/datacatalog-gen.go @@ -3623,6 +3623,10 @@ type GoogleCloudDatacatalogV1VertexModelSourceInfo struct { // "CUSTOM" - The Model is uploaded by user or custom training pipeline. // "BQML" - The Model is registered and sync'ed from BigQuery ML. // "MODEL_GARDEN" - The Model is saved or tuned from Model Garden. + // "GENIE" - The Model is saved or tuned from Genie. + // "CUSTOM_TEXT_EMBEDDING" - The Model is uploaded by text embedding + // finetuning pipeline. + // "MARKETPLACE" - The Model is saved or tuned from Marketplace. SourceType string `json:"sourceType,omitempty"` // ForceSendFields is a list of field names (e.g. "Copy") to unconditionally // include in API requests. By default, fields with empty or default values are diff --git a/datacatalog/v1beta1/datacatalog-api.json b/datacatalog/v1beta1/datacatalog-api.json index fd30f4f1c54..7e4122a8b27 100644 --- a/datacatalog/v1beta1/datacatalog-api.json +++ b/datacatalog/v1beta1/datacatalog-api.json @@ -1813,7 +1813,7 @@ } } }, - "revision": "20240315", + "revision": "20240511", "rootUrl": "https://datacatalog.googleapis.com/", "schemas": { "Binding": { @@ -3394,14 +3394,20 @@ "AUTOML", "CUSTOM", "BQML", - "MODEL_GARDEN" + "MODEL_GARDEN", + "GENIE", + "CUSTOM_TEXT_EMBEDDING", + "MARKETPLACE" ], "enumDescriptions": [ "Should not be used.", "The Model is uploaded by automl training pipeline.", "The Model is uploaded by user or custom training pipeline.", "The Model is registered and sync'ed from BigQuery ML.", - "The Model is saved or tuned from Model Garden." + "The Model is saved or tuned from Model Garden.", + "The Model is saved or tuned from Genie.", + "The Model is uploaded by text embedding finetuning pipeline.", + "The Model is saved or tuned from Marketplace." ], "type": "string" } diff --git a/datacatalog/v1beta1/datacatalog-gen.go b/datacatalog/v1beta1/datacatalog-gen.go index 1b3a5d2f4fc..32edb09baca 100644 --- a/datacatalog/v1beta1/datacatalog-gen.go +++ b/datacatalog/v1beta1/datacatalog-gen.go @@ -2475,6 +2475,10 @@ type GoogleCloudDatacatalogV1VertexModelSourceInfo struct { // "CUSTOM" - The Model is uploaded by user or custom training pipeline. // "BQML" - The Model is registered and sync'ed from BigQuery ML. // "MODEL_GARDEN" - The Model is saved or tuned from Model Garden. + // "GENIE" - The Model is saved or tuned from Genie. + // "CUSTOM_TEXT_EMBEDDING" - The Model is uploaded by text embedding + // finetuning pipeline. + // "MARKETPLACE" - The Model is saved or tuned from Marketplace. SourceType string `json:"sourceType,omitempty"` // ForceSendFields is a list of field names (e.g. "Copy") to unconditionally // include in API requests. By default, fields with empty or default values are diff --git a/migrationcenter/v1alpha1/migrationcenter-api.json b/migrationcenter/v1alpha1/migrationcenter-api.json index 11c25248f41..2ca8274f3c9 100644 --- a/migrationcenter/v1alpha1/migrationcenter-api.json +++ b/migrationcenter/v1alpha1/migrationcenter-api.json @@ -2317,7 +2317,7 @@ } } }, - "revision": "20240502", + "revision": "20240509", "rootUrl": "https://migrationcenter.googleapis.com/", "schemas": { "AddAssetsToGroupRequest": { @@ -3444,12 +3444,12 @@ "id": "DatabaseDeploymentTopology", "properties": { "coreCount": { - "description": "Optional. Number of total cores.", + "description": "Optional. Number of total logical cores.", "format": "int32", "type": "integer" }, "coreLimit": { - "description": "Optional. Number of total cores limited by db deployment.", + "description": "Optional. Number of total logical cores limited by db deployment.", "format": "int32", "type": "integer" }, @@ -3529,13 +3529,6 @@ "description": "Details of a database instance.", "id": "DatabaseInstance", "properties": { - "hosts": { - "description": "Optional. The instance's hosts.", - "items": { - "$ref": "DatabaseInstanceHost" - }, - "type": "array" - }, "instanceName": { "description": "The instance's name.", "type": "string" @@ -3559,17 +3552,6 @@ }, "type": "object" }, - "DatabaseInstanceHost": { - "description": "Details of a host of a database instance.", - "id": "DatabaseInstanceHost", - "properties": { - "hostName": { - "description": "Optional. The host name of the host.", - "type": "string" - } - }, - "type": "object" - }, "DatabaseObjects": { "description": "Details of a group of database objects.", "id": "DatabaseObjects", diff --git a/migrationcenter/v1alpha1/migrationcenter-gen.go b/migrationcenter/v1alpha1/migrationcenter-gen.go index 778cc56d050..a2947da1d30 100644 --- a/migrationcenter/v1alpha1/migrationcenter-gen.go +++ b/migrationcenter/v1alpha1/migrationcenter-gen.go @@ -1641,9 +1641,9 @@ func (s *DatabaseDeploymentDetailsAggregatedStats) MarshalJSON() ([]byte, error) // DatabaseDeploymentTopology: Details of database deployment's topology. type DatabaseDeploymentTopology struct { - // CoreCount: Optional. Number of total cores. + // CoreCount: Optional. Number of total logical cores. CoreCount int64 `json:"coreCount,omitempty"` - // CoreLimit: Optional. Number of total cores limited by db deployment. + // CoreLimit: Optional. Number of total logical cores limited by db deployment. CoreLimit int64 `json:"coreLimit,omitempty"` // DiskAllocatedBytes: Optional. Disk allocated in bytes. DiskAllocatedBytes int64 `json:"diskAllocatedBytes,omitempty,string"` @@ -1730,8 +1730,6 @@ func (s *DatabaseDetailsParentDatabaseDeployment) MarshalJSON() ([]byte, error) // DatabaseInstance: Details of a database instance. type DatabaseInstance struct { - // Hosts: Optional. The instance's hosts. - Hosts []*DatabaseInstanceHost `json:"hosts,omitempty"` // InstanceName: The instance's name. InstanceName string `json:"instanceName,omitempty"` // Role: The instance role in the database engine. @@ -1742,43 +1740,21 @@ type DatabaseInstance struct { // "SECONDARY" - Secondary. // "ARBITER" - Arbiter. Role string `json:"role,omitempty"` - // ForceSendFields is a list of field names (e.g. "Hosts") to unconditionally - // include in API requests. By default, fields with empty or default values are - // omitted from API requests. See - // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more - // details. - ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Hosts") to include in API - // requests with the JSON null value. By default, fields with empty values are - // omitted from API requests. See - // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. - NullFields []string `json:"-"` -} - -func (s *DatabaseInstance) MarshalJSON() ([]byte, error) { - type NoMethod DatabaseInstance - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) -} - -// DatabaseInstanceHost: Details of a host of a database instance. -type DatabaseInstanceHost struct { - // HostName: Optional. The host name of the host. - HostName string `json:"hostName,omitempty"` - // ForceSendFields is a list of field names (e.g. "HostName") to + // ForceSendFields is a list of field names (e.g. "InstanceName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "HostName") to include in API + // NullFields is a list of field names (e.g. "InstanceName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` } -func (s *DatabaseInstanceHost) MarshalJSON() ([]byte, error) { - type NoMethod DatabaseInstanceHost +func (s *DatabaseInstance) MarshalJSON() ([]byte, error) { + type NoMethod DatabaseInstance return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } diff --git a/vmmigration/v1alpha1/vmmigration-api.json b/vmmigration/v1alpha1/vmmigration-api.json index f762668f5fb..1d253f990ed 100644 --- a/vmmigration/v1alpha1/vmmigration-api.json +++ b/vmmigration/v1alpha1/vmmigration-api.json @@ -2220,7 +2220,7 @@ } } }, - "revision": "20240411", + "revision": "20240509", "rootUrl": "https://vmmigration.googleapis.com/", "schemas": { "AccessKeyCredentials": { @@ -5453,13 +5453,15 @@ "DISK_TYPE_UNSPECIFIED", "STANDARD", "BALANCED", - "SSD" + "SSD", + "HYPERDISK_BALANCED" ], "enumDescriptions": [ "An unspecified disk type. Will be used as STANDARD.", "A Standard disk type.", "An alternative to SSD persistent disks that balance performance and cost.", - "SSD hard disk type." + "SSD hard disk type.", + "Hyperdusk balanced disk type." ], "type": "string" }, diff --git a/vmmigration/v1alpha1/vmmigration-gen.go b/vmmigration/v1alpha1/vmmigration-gen.go index 975205e158b..07f9b8403e4 100644 --- a/vmmigration/v1alpha1/vmmigration-gen.go +++ b/vmmigration/v1alpha1/vmmigration-gen.go @@ -3431,6 +3431,7 @@ type TargetVMDetails struct { // "BALANCED" - An alternative to SSD persistent disks that balance // performance and cost. // "SSD" - SSD hard disk type. + // "HYPERDISK_BALANCED" - Hyperdusk balanced disk type. DiskType string `json:"diskType,omitempty"` // ExternalIp: The external IP to define in the VM. ExternalIp string `json:"externalIp,omitempty"` diff --git a/walletobjects/v1/walletobjects-api.json b/walletobjects/v1/walletobjects-api.json index f11be85cb43..4c634df7f2b 100644 --- a/walletobjects/v1/walletobjects-api.json +++ b/walletobjects/v1/walletobjects-api.json @@ -2681,7 +2681,7 @@ } } }, - "revision": "20240516", + "revision": "20240517", "rootUrl": "https://walletobjects.googleapis.com/", "schemas": { "ActivationOptions": { @@ -3736,6 +3736,10 @@ "description": "Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.", "type": "boolean" }, + "appLinkData": { + "$ref": "AppLinkData", + "description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding object that will be used instead." + }, "callbackOptions": { "$ref": "CallbackOptions", "description": "Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback." @@ -4531,6 +4535,10 @@ "description": "Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.", "type": "boolean" }, + "appLinkData": { + "$ref": "AppLinkData", + "description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding object that will be used instead." + }, "boardingAndSeatingPolicy": { "$ref": "BoardingAndSeatingPolicy", "description": "Policies for boarding and seating. These will inform which labels will be shown to users." @@ -5092,6 +5100,10 @@ "description": "Generic Class", "id": "GenericClass", "properties": { + "appLinkData": { + "$ref": "AppLinkData", + "description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding object that will be used instead." + }, "callbackOptions": { "$ref": "CallbackOptions", "description": "Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback." @@ -5431,6 +5443,10 @@ "description": "Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.", "type": "boolean" }, + "appLinkData": { + "$ref": "AppLinkData", + "description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding object that will be used instead." + }, "callbackOptions": { "$ref": "CallbackOptions", "description": "Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback." @@ -6232,6 +6248,10 @@ "description": "Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.", "type": "boolean" }, + "appLinkData": { + "$ref": "AppLinkData", + "description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding object that will be used instead." + }, "callbackOptions": { "$ref": "CallbackOptions", "description": "Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback." @@ -7144,6 +7164,10 @@ "description": "Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.", "type": "boolean" }, + "appLinkData": { + "$ref": "AppLinkData", + "description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding object that will be used instead." + }, "callbackOptions": { "$ref": "CallbackOptions", "description": "Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback." @@ -8417,6 +8441,10 @@ "description": "Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.", "type": "boolean" }, + "appLinkData": { + "$ref": "AppLinkData", + "description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding object that will be used instead." + }, "callbackOptions": { "$ref": "CallbackOptions", "description": "Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback." diff --git a/walletobjects/v1/walletobjects-gen.go b/walletobjects/v1/walletobjects-gen.go index ce87c105b78..b98052364ab 100644 --- a/walletobjects/v1/walletobjects-gen.go +++ b/walletobjects/v1/walletobjects-gen.go @@ -1735,6 +1735,10 @@ type EventTicketClass struct { // AllowMultipleUsersPerObject: Deprecated. Use // `multipleDevicesAndHoldersAllowedStatus` instead. AllowMultipleUsersPerObject bool `json:"allowMultipleUsersPerObject,omitempty"` + // AppLinkData: Optional app or website link that will be displayed as a button + // on the front of the pass. If AppLinkData is provided for the corresponding + // object that will be used instead. + AppLinkData *AppLinkData `json:"appLinkData,omitempty"` // CallbackOptions: Callback options to be used to call the issuer back for // every save/delete of an object for this class by the end-user. All objects // of this class are eligible for the callback. @@ -2472,6 +2476,10 @@ type FlightClass struct { // AllowMultipleUsersPerObject: Deprecated. Use // `multipleDevicesAndHoldersAllowedStatus` instead. AllowMultipleUsersPerObject bool `json:"allowMultipleUsersPerObject,omitempty"` + // AppLinkData: Optional app or website link that will be displayed as a button + // on the front of the pass. If AppLinkData is provided for the corresponding + // object that will be used instead. + AppLinkData *AppLinkData `json:"appLinkData,omitempty"` // BoardingAndSeatingPolicy: Policies for boarding and seating. These will // inform which labels will be shown to users. BoardingAndSeatingPolicy *BoardingAndSeatingPolicy `json:"boardingAndSeatingPolicy,omitempty"` @@ -3029,6 +3037,10 @@ func (s *FrequentFlyerInfo) MarshalJSON() ([]byte, error) { // GenericClass: Generic Class type GenericClass struct { + // AppLinkData: Optional app or website link that will be displayed as a button + // on the front of the pass. If AppLinkData is provided for the corresponding + // object that will be used instead. + AppLinkData *AppLinkData `json:"appLinkData,omitempty"` // CallbackOptions: Callback options to be used to call the issuer back for // every save/delete of an object for this class by the end-user. All objects // of this class are eligible for the callback. @@ -3107,15 +3119,15 @@ type GenericClass struct { // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "CallbackOptions") to + // ForceSendFields is a list of field names (e.g. "AppLinkData") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CallbackOptions") to include in - // API requests with the JSON null value. By default, fields with empty values - // are omitted from API requests. See + // NullFields is a list of field names (e.g. "AppLinkData") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` } @@ -3375,6 +3387,10 @@ type GiftCardClass struct { // AllowMultipleUsersPerObject: Deprecated. Use // `multipleDevicesAndHoldersAllowedStatus` instead. AllowMultipleUsersPerObject bool `json:"allowMultipleUsersPerObject,omitempty"` + // AppLinkData: Optional app or website link that will be displayed as a button + // on the front of the pass. If AppLinkData is provided for the corresponding + // object that will be used instead. + AppLinkData *AppLinkData `json:"appLinkData,omitempty"` // CallbackOptions: Callback options to be used to call the issuer back for // every save/delete of an object for this class by the end-user. All objects // of this class are eligible for the callback. @@ -4285,6 +4301,10 @@ type LoyaltyClass struct { // AllowMultipleUsersPerObject: Deprecated. Use // `multipleDevicesAndHoldersAllowedStatus` instead. AllowMultipleUsersPerObject bool `json:"allowMultipleUsersPerObject,omitempty"` + // AppLinkData: Optional app or website link that will be displayed as a button + // on the front of the pass. If AppLinkData is provided for the corresponding + // object that will be used instead. + AppLinkData *AppLinkData `json:"appLinkData,omitempty"` // CallbackOptions: Callback options to be used to call the issuer back for // every save/delete of an object for this class by the end-user. All objects // of this class are eligible for the callback. @@ -5222,6 +5242,10 @@ type OfferClass struct { // AllowMultipleUsersPerObject: Deprecated. Use // `multipleDevicesAndHoldersAllowedStatus` instead. AllowMultipleUsersPerObject bool `json:"allowMultipleUsersPerObject,omitempty"` + // AppLinkData: Optional app or website link that will be displayed as a button + // on the front of the pass. If AppLinkData is provided for the corresponding + // object that will be used instead. + AppLinkData *AppLinkData `json:"appLinkData,omitempty"` // CallbackOptions: Callback options to be used to call the issuer back for // every save/delete of an object for this class by the end-user. All objects // of this class are eligible for the callback. @@ -6506,6 +6530,10 @@ type TransitClass struct { // AllowMultipleUsersPerObject: Deprecated. Use // `multipleDevicesAndHoldersAllowedStatus` instead. AllowMultipleUsersPerObject bool `json:"allowMultipleUsersPerObject,omitempty"` + // AppLinkData: Optional app or website link that will be displayed as a button + // on the front of the pass. If AppLinkData is provided for the corresponding + // object that will be used instead. + AppLinkData *AppLinkData `json:"appLinkData,omitempty"` // CallbackOptions: Callback options to be used to call the issuer back for // every save/delete of an object for this class by the end-user. All objects // of this class are eligible for the callback.