Documentation ¶
Overview ¶
Package chromemanagement provides access to the Chrome Management API.
For product documentation, see: http://developers.google.com/chrome/management/
Library status ¶
These client libraries are officially supported by Google. However, this library is considered complete and is in maintenance mode. This means that we will address critical bugs and security issues but will not add any new features.
When possible, we recommend using our newer [Cloud Client Libraries for Go](https://pkg.go.dev/cloud.google.com/go) that are still actively being worked and iterated on.
Creating a client ¶
Usage example:
import "google.golang.org/api/chromemanagement/v1" ... ctx := context.Background() chromemanagementService, err := chromemanagement.NewService(ctx)
In this example, Google Application Default Credentials are used for authentication. For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
Other authentication options ¶
By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use google.golang.org/api/option.WithScopes:
chromemanagementService, err := chromemanagement.NewService(ctx, option.WithScopes(chromemanagement.ChromeManagementTelemetryReadonlyScope))
To use an API key for authentication (note: some APIs do not support API keys), use google.golang.org/api/option.WithAPIKey:
chromemanagementService, err := chromemanagement.NewService(ctx, option.WithAPIKey("AIza..."))
To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow, use google.golang.org/api/option.WithTokenSource:
config := &oauth2.Config{...} // ... token, err := config.Exchange(ctx, ...) chromemanagementService, err := chromemanagement.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
See google.golang.org/api/option.ClientOption for details on options.
Index ¶
- Constants
- type CustomersAppsAndroidGetCall
- func (c *CustomersAppsAndroidGetCall) Context(ctx context.Context) *CustomersAppsAndroidGetCall
- func (c *CustomersAppsAndroidGetCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1AppDetails, error)
- func (c *CustomersAppsAndroidGetCall) Fields(s ...googleapi.Field) *CustomersAppsAndroidGetCall
- func (c *CustomersAppsAndroidGetCall) Header() http.Header
- func (c *CustomersAppsAndroidGetCall) IfNoneMatch(entityTag string) *CustomersAppsAndroidGetCall
- type CustomersAppsAndroidService
- type CustomersAppsChromeGetCall
- func (c *CustomersAppsChromeGetCall) Context(ctx context.Context) *CustomersAppsChromeGetCall
- func (c *CustomersAppsChromeGetCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1AppDetails, error)
- func (c *CustomersAppsChromeGetCall) Fields(s ...googleapi.Field) *CustomersAppsChromeGetCall
- func (c *CustomersAppsChromeGetCall) Header() http.Header
- func (c *CustomersAppsChromeGetCall) IfNoneMatch(entityTag string) *CustomersAppsChromeGetCall
- type CustomersAppsChromeService
- type CustomersAppsCountChromeAppRequestsCall
- func (c *CustomersAppsCountChromeAppRequestsCall) Context(ctx context.Context) *CustomersAppsCountChromeAppRequestsCall
- func (c *CustomersAppsCountChromeAppRequestsCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1CountChromeAppRequestsResponse, error)
- func (c *CustomersAppsCountChromeAppRequestsCall) Fields(s ...googleapi.Field) *CustomersAppsCountChromeAppRequestsCall
- func (c *CustomersAppsCountChromeAppRequestsCall) Header() http.Header
- func (c *CustomersAppsCountChromeAppRequestsCall) IfNoneMatch(entityTag string) *CustomersAppsCountChromeAppRequestsCall
- func (c *CustomersAppsCountChromeAppRequestsCall) OrderBy(orderBy string) *CustomersAppsCountChromeAppRequestsCall
- func (c *CustomersAppsCountChromeAppRequestsCall) OrgUnitId(orgUnitId string) *CustomersAppsCountChromeAppRequestsCall
- func (c *CustomersAppsCountChromeAppRequestsCall) PageSize(pageSize int64) *CustomersAppsCountChromeAppRequestsCall
- func (c *CustomersAppsCountChromeAppRequestsCall) PageToken(pageToken string) *CustomersAppsCountChromeAppRequestsCall
- func (c *CustomersAppsCountChromeAppRequestsCall) Pages(ctx context.Context, ...) error
- type CustomersAppsFetchDevicesRequestingExtensionCall
- func (c *CustomersAppsFetchDevicesRequestingExtensionCall) Context(ctx context.Context) *CustomersAppsFetchDevicesRequestingExtensionCall
- func (c *CustomersAppsFetchDevicesRequestingExtensionCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse, error)
- func (c *CustomersAppsFetchDevicesRequestingExtensionCall) ExtensionId(extensionId string) *CustomersAppsFetchDevicesRequestingExtensionCall
- func (c *CustomersAppsFetchDevicesRequestingExtensionCall) Fields(s ...googleapi.Field) *CustomersAppsFetchDevicesRequestingExtensionCall
- func (c *CustomersAppsFetchDevicesRequestingExtensionCall) Header() http.Header
- func (c *CustomersAppsFetchDevicesRequestingExtensionCall) IfNoneMatch(entityTag string) *CustomersAppsFetchDevicesRequestingExtensionCall
- func (c *CustomersAppsFetchDevicesRequestingExtensionCall) OrgUnitId(orgUnitId string) *CustomersAppsFetchDevicesRequestingExtensionCall
- func (c *CustomersAppsFetchDevicesRequestingExtensionCall) PageSize(pageSize int64) *CustomersAppsFetchDevicesRequestingExtensionCall
- func (c *CustomersAppsFetchDevicesRequestingExtensionCall) PageToken(pageToken string) *CustomersAppsFetchDevicesRequestingExtensionCall
- func (c *CustomersAppsFetchDevicesRequestingExtensionCall) Pages(ctx context.Context, ...) error
- type CustomersAppsFetchUsersRequestingExtensionCall
- func (c *CustomersAppsFetchUsersRequestingExtensionCall) Context(ctx context.Context) *CustomersAppsFetchUsersRequestingExtensionCall
- func (c *CustomersAppsFetchUsersRequestingExtensionCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1FetchUsersRequestingExtensionResponse, error)
- func (c *CustomersAppsFetchUsersRequestingExtensionCall) ExtensionId(extensionId string) *CustomersAppsFetchUsersRequestingExtensionCall
- func (c *CustomersAppsFetchUsersRequestingExtensionCall) Fields(s ...googleapi.Field) *CustomersAppsFetchUsersRequestingExtensionCall
- func (c *CustomersAppsFetchUsersRequestingExtensionCall) Header() http.Header
- func (c *CustomersAppsFetchUsersRequestingExtensionCall) IfNoneMatch(entityTag string) *CustomersAppsFetchUsersRequestingExtensionCall
- func (c *CustomersAppsFetchUsersRequestingExtensionCall) OrgUnitId(orgUnitId string) *CustomersAppsFetchUsersRequestingExtensionCall
- func (c *CustomersAppsFetchUsersRequestingExtensionCall) PageSize(pageSize int64) *CustomersAppsFetchUsersRequestingExtensionCall
- func (c *CustomersAppsFetchUsersRequestingExtensionCall) PageToken(pageToken string) *CustomersAppsFetchUsersRequestingExtensionCall
- func (c *CustomersAppsFetchUsersRequestingExtensionCall) Pages(ctx context.Context, ...) error
- type CustomersAppsService
- func (r *CustomersAppsService) CountChromeAppRequests(customer string) *CustomersAppsCountChromeAppRequestsCall
- func (r *CustomersAppsService) FetchDevicesRequestingExtension(customer string) *CustomersAppsFetchDevicesRequestingExtensionCall
- func (r *CustomersAppsService) FetchUsersRequestingExtension(customer string) *CustomersAppsFetchUsersRequestingExtensionCall
- type CustomersAppsWebGetCall
- func (c *CustomersAppsWebGetCall) Context(ctx context.Context) *CustomersAppsWebGetCall
- func (c *CustomersAppsWebGetCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1AppDetails, error)
- func (c *CustomersAppsWebGetCall) Fields(s ...googleapi.Field) *CustomersAppsWebGetCall
- func (c *CustomersAppsWebGetCall) Header() http.Header
- func (c *CustomersAppsWebGetCall) IfNoneMatch(entityTag string) *CustomersAppsWebGetCall
- type CustomersAppsWebService
- type CustomersReportsCountChromeBrowsersNeedingAttentionCall
- func (c *CustomersReportsCountChromeBrowsersNeedingAttentionCall) Context(ctx context.Context) *CustomersReportsCountChromeBrowsersNeedingAttentionCall
- func (c *CustomersReportsCountChromeBrowsersNeedingAttentionCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse, error)
- func (c *CustomersReportsCountChromeBrowsersNeedingAttentionCall) Fields(s ...googleapi.Field) *CustomersReportsCountChromeBrowsersNeedingAttentionCall
- func (c *CustomersReportsCountChromeBrowsersNeedingAttentionCall) Header() http.Header
- func (c *CustomersReportsCountChromeBrowsersNeedingAttentionCall) IfNoneMatch(entityTag string) *CustomersReportsCountChromeBrowsersNeedingAttentionCall
- func (c *CustomersReportsCountChromeBrowsersNeedingAttentionCall) OrgUnitId(orgUnitId string) *CustomersReportsCountChromeBrowsersNeedingAttentionCall
- type CustomersReportsCountChromeCrashEventsCall
- func (c *CustomersReportsCountChromeCrashEventsCall) Context(ctx context.Context) *CustomersReportsCountChromeCrashEventsCall
- func (c *CustomersReportsCountChromeCrashEventsCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1CountChromeCrashEventsResponse, error)
- func (c *CustomersReportsCountChromeCrashEventsCall) Fields(s ...googleapi.Field) *CustomersReportsCountChromeCrashEventsCall
- func (c *CustomersReportsCountChromeCrashEventsCall) Filter(filter string) *CustomersReportsCountChromeCrashEventsCall
- func (c *CustomersReportsCountChromeCrashEventsCall) Header() http.Header
- func (c *CustomersReportsCountChromeCrashEventsCall) IfNoneMatch(entityTag string) *CustomersReportsCountChromeCrashEventsCall
- func (c *CustomersReportsCountChromeCrashEventsCall) OrderBy(orderBy string) *CustomersReportsCountChromeCrashEventsCall
- func (c *CustomersReportsCountChromeCrashEventsCall) OrgUnitId(orgUnitId string) *CustomersReportsCountChromeCrashEventsCall
- type CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall
- func (c *CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall) Context(ctx context.Context) *CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall
- func (c *CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse, ...)
- func (c *CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall) Fields(s ...googleapi.Field) *CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall
- func (c *CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall) Header() http.Header
- func (c *CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall) IfNoneMatch(entityTag string) *CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall
- func (c *CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall) MaxAueDate(maxAueDate string) *CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall
- func (c *CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall) MinAueDate(minAueDate string) *CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall
- func (c *CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall) OrgUnitId(orgUnitId string) *CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall
- type CustomersReportsCountChromeDevicesThatNeedAttentionCall
- func (c *CustomersReportsCountChromeDevicesThatNeedAttentionCall) Context(ctx context.Context) *CustomersReportsCountChromeDevicesThatNeedAttentionCall
- func (c *CustomersReportsCountChromeDevicesThatNeedAttentionCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse, error)
- func (c *CustomersReportsCountChromeDevicesThatNeedAttentionCall) Fields(s ...googleapi.Field) *CustomersReportsCountChromeDevicesThatNeedAttentionCall
- func (c *CustomersReportsCountChromeDevicesThatNeedAttentionCall) Header() http.Header
- func (c *CustomersReportsCountChromeDevicesThatNeedAttentionCall) IfNoneMatch(entityTag string) *CustomersReportsCountChromeDevicesThatNeedAttentionCall
- func (c *CustomersReportsCountChromeDevicesThatNeedAttentionCall) OrgUnitId(orgUnitId string) *CustomersReportsCountChromeDevicesThatNeedAttentionCall
- func (c *CustomersReportsCountChromeDevicesThatNeedAttentionCall) ReadMask(readMask string) *CustomersReportsCountChromeDevicesThatNeedAttentionCall
- type CustomersReportsCountChromeHardwareFleetDevicesCall
- func (c *CustomersReportsCountChromeHardwareFleetDevicesCall) Context(ctx context.Context) *CustomersReportsCountChromeHardwareFleetDevicesCall
- func (c *CustomersReportsCountChromeHardwareFleetDevicesCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse, error)
- func (c *CustomersReportsCountChromeHardwareFleetDevicesCall) Fields(s ...googleapi.Field) *CustomersReportsCountChromeHardwareFleetDevicesCall
- func (c *CustomersReportsCountChromeHardwareFleetDevicesCall) Header() http.Header
- func (c *CustomersReportsCountChromeHardwareFleetDevicesCall) IfNoneMatch(entityTag string) *CustomersReportsCountChromeHardwareFleetDevicesCall
- func (c *CustomersReportsCountChromeHardwareFleetDevicesCall) OrgUnitId(orgUnitId string) *CustomersReportsCountChromeHardwareFleetDevicesCall
- func (c *CustomersReportsCountChromeHardwareFleetDevicesCall) ReadMask(readMask string) *CustomersReportsCountChromeHardwareFleetDevicesCall
- type CustomersReportsCountChromeVersionsCall
- func (c *CustomersReportsCountChromeVersionsCall) Context(ctx context.Context) *CustomersReportsCountChromeVersionsCall
- func (c *CustomersReportsCountChromeVersionsCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1CountChromeVersionsResponse, error)
- func (c *CustomersReportsCountChromeVersionsCall) Fields(s ...googleapi.Field) *CustomersReportsCountChromeVersionsCall
- func (c *CustomersReportsCountChromeVersionsCall) Filter(filter string) *CustomersReportsCountChromeVersionsCall
- func (c *CustomersReportsCountChromeVersionsCall) Header() http.Header
- func (c *CustomersReportsCountChromeVersionsCall) IfNoneMatch(entityTag string) *CustomersReportsCountChromeVersionsCall
- func (c *CustomersReportsCountChromeVersionsCall) OrgUnitId(orgUnitId string) *CustomersReportsCountChromeVersionsCall
- func (c *CustomersReportsCountChromeVersionsCall) PageSize(pageSize int64) *CustomersReportsCountChromeVersionsCall
- func (c *CustomersReportsCountChromeVersionsCall) PageToken(pageToken string) *CustomersReportsCountChromeVersionsCall
- func (c *CustomersReportsCountChromeVersionsCall) Pages(ctx context.Context, ...) error
- type CustomersReportsCountInstalledAppsCall
- func (c *CustomersReportsCountInstalledAppsCall) Context(ctx context.Context) *CustomersReportsCountInstalledAppsCall
- func (c *CustomersReportsCountInstalledAppsCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1CountInstalledAppsResponse, error)
- func (c *CustomersReportsCountInstalledAppsCall) Fields(s ...googleapi.Field) *CustomersReportsCountInstalledAppsCall
- func (c *CustomersReportsCountInstalledAppsCall) Filter(filter string) *CustomersReportsCountInstalledAppsCall
- func (c *CustomersReportsCountInstalledAppsCall) Header() http.Header
- func (c *CustomersReportsCountInstalledAppsCall) IfNoneMatch(entityTag string) *CustomersReportsCountInstalledAppsCall
- func (c *CustomersReportsCountInstalledAppsCall) OrderBy(orderBy string) *CustomersReportsCountInstalledAppsCall
- func (c *CustomersReportsCountInstalledAppsCall) OrgUnitId(orgUnitId string) *CustomersReportsCountInstalledAppsCall
- func (c *CustomersReportsCountInstalledAppsCall) PageSize(pageSize int64) *CustomersReportsCountInstalledAppsCall
- func (c *CustomersReportsCountInstalledAppsCall) PageToken(pageToken string) *CustomersReportsCountInstalledAppsCall
- func (c *CustomersReportsCountInstalledAppsCall) Pages(ctx context.Context, ...) error
- type CustomersReportsCountPrintJobsByPrinterCall
- func (c *CustomersReportsCountPrintJobsByPrinterCall) Context(ctx context.Context) *CustomersReportsCountPrintJobsByPrinterCall
- func (c *CustomersReportsCountPrintJobsByPrinterCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1CountPrintJobsByPrinterResponse, error)
- func (c *CustomersReportsCountPrintJobsByPrinterCall) Fields(s ...googleapi.Field) *CustomersReportsCountPrintJobsByPrinterCall
- func (c *CustomersReportsCountPrintJobsByPrinterCall) Filter(filter string) *CustomersReportsCountPrintJobsByPrinterCall
- func (c *CustomersReportsCountPrintJobsByPrinterCall) Header() http.Header
- func (c *CustomersReportsCountPrintJobsByPrinterCall) IfNoneMatch(entityTag string) *CustomersReportsCountPrintJobsByPrinterCall
- func (c *CustomersReportsCountPrintJobsByPrinterCall) OrderBy(orderBy string) *CustomersReportsCountPrintJobsByPrinterCall
- func (c *CustomersReportsCountPrintJobsByPrinterCall) PageSize(pageSize int64) *CustomersReportsCountPrintJobsByPrinterCall
- func (c *CustomersReportsCountPrintJobsByPrinterCall) PageToken(pageToken string) *CustomersReportsCountPrintJobsByPrinterCall
- func (c *CustomersReportsCountPrintJobsByPrinterCall) Pages(ctx context.Context, ...) error
- func (c *CustomersReportsCountPrintJobsByPrinterCall) PrinterOrgUnitId(printerOrgUnitId string) *CustomersReportsCountPrintJobsByPrinterCall
- type CustomersReportsCountPrintJobsByUserCall
- func (c *CustomersReportsCountPrintJobsByUserCall) Context(ctx context.Context) *CustomersReportsCountPrintJobsByUserCall
- func (c *CustomersReportsCountPrintJobsByUserCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1CountPrintJobsByUserResponse, error)
- func (c *CustomersReportsCountPrintJobsByUserCall) Fields(s ...googleapi.Field) *CustomersReportsCountPrintJobsByUserCall
- func (c *CustomersReportsCountPrintJobsByUserCall) Filter(filter string) *CustomersReportsCountPrintJobsByUserCall
- func (c *CustomersReportsCountPrintJobsByUserCall) Header() http.Header
- func (c *CustomersReportsCountPrintJobsByUserCall) IfNoneMatch(entityTag string) *CustomersReportsCountPrintJobsByUserCall
- func (c *CustomersReportsCountPrintJobsByUserCall) OrderBy(orderBy string) *CustomersReportsCountPrintJobsByUserCall
- func (c *CustomersReportsCountPrintJobsByUserCall) PageSize(pageSize int64) *CustomersReportsCountPrintJobsByUserCall
- func (c *CustomersReportsCountPrintJobsByUserCall) PageToken(pageToken string) *CustomersReportsCountPrintJobsByUserCall
- func (c *CustomersReportsCountPrintJobsByUserCall) Pages(ctx context.Context, ...) error
- func (c *CustomersReportsCountPrintJobsByUserCall) PrinterOrgUnitId(printerOrgUnitId string) *CustomersReportsCountPrintJobsByUserCall
- type CustomersReportsEnumeratePrintJobsCall
- func (c *CustomersReportsEnumeratePrintJobsCall) Context(ctx context.Context) *CustomersReportsEnumeratePrintJobsCall
- func (c *CustomersReportsEnumeratePrintJobsCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1EnumeratePrintJobsResponse, error)
- func (c *CustomersReportsEnumeratePrintJobsCall) Fields(s ...googleapi.Field) *CustomersReportsEnumeratePrintJobsCall
- func (c *CustomersReportsEnumeratePrintJobsCall) Filter(filter string) *CustomersReportsEnumeratePrintJobsCall
- func (c *CustomersReportsEnumeratePrintJobsCall) Header() http.Header
- func (c *CustomersReportsEnumeratePrintJobsCall) IfNoneMatch(entityTag string) *CustomersReportsEnumeratePrintJobsCall
- func (c *CustomersReportsEnumeratePrintJobsCall) OrderBy(orderBy string) *CustomersReportsEnumeratePrintJobsCall
- func (c *CustomersReportsEnumeratePrintJobsCall) PageSize(pageSize int64) *CustomersReportsEnumeratePrintJobsCall
- func (c *CustomersReportsEnumeratePrintJobsCall) PageToken(pageToken string) *CustomersReportsEnumeratePrintJobsCall
- func (c *CustomersReportsEnumeratePrintJobsCall) Pages(ctx context.Context, ...) error
- func (c *CustomersReportsEnumeratePrintJobsCall) PrinterOrgUnitId(printerOrgUnitId string) *CustomersReportsEnumeratePrintJobsCall
- type CustomersReportsFindInstalledAppDevicesCall
- func (c *CustomersReportsFindInstalledAppDevicesCall) AppId(appId string) *CustomersReportsFindInstalledAppDevicesCall
- func (c *CustomersReportsFindInstalledAppDevicesCall) AppType(appType string) *CustomersReportsFindInstalledAppDevicesCall
- func (c *CustomersReportsFindInstalledAppDevicesCall) Context(ctx context.Context) *CustomersReportsFindInstalledAppDevicesCall
- func (c *CustomersReportsFindInstalledAppDevicesCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1FindInstalledAppDevicesResponse, error)
- func (c *CustomersReportsFindInstalledAppDevicesCall) Fields(s ...googleapi.Field) *CustomersReportsFindInstalledAppDevicesCall
- func (c *CustomersReportsFindInstalledAppDevicesCall) Filter(filter string) *CustomersReportsFindInstalledAppDevicesCall
- func (c *CustomersReportsFindInstalledAppDevicesCall) Header() http.Header
- func (c *CustomersReportsFindInstalledAppDevicesCall) IfNoneMatch(entityTag string) *CustomersReportsFindInstalledAppDevicesCall
- func (c *CustomersReportsFindInstalledAppDevicesCall) OrderBy(orderBy string) *CustomersReportsFindInstalledAppDevicesCall
- func (c *CustomersReportsFindInstalledAppDevicesCall) OrgUnitId(orgUnitId string) *CustomersReportsFindInstalledAppDevicesCall
- func (c *CustomersReportsFindInstalledAppDevicesCall) PageSize(pageSize int64) *CustomersReportsFindInstalledAppDevicesCall
- func (c *CustomersReportsFindInstalledAppDevicesCall) PageToken(pageToken string) *CustomersReportsFindInstalledAppDevicesCall
- func (c *CustomersReportsFindInstalledAppDevicesCall) Pages(ctx context.Context, ...) error
- type CustomersReportsService
- func (r *CustomersReportsService) CountChromeBrowsersNeedingAttention(customer string) *CustomersReportsCountChromeBrowsersNeedingAttentionCall
- func (r *CustomersReportsService) CountChromeCrashEvents(customer string) *CustomersReportsCountChromeCrashEventsCall
- func (r *CustomersReportsService) CountChromeDevicesReachingAutoExpirationDate(customer string) *CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall
- func (r *CustomersReportsService) CountChromeDevicesThatNeedAttention(customer string) *CustomersReportsCountChromeDevicesThatNeedAttentionCall
- func (r *CustomersReportsService) CountChromeHardwareFleetDevices(customer string) *CustomersReportsCountChromeHardwareFleetDevicesCall
- func (r *CustomersReportsService) CountChromeVersions(customer string) *CustomersReportsCountChromeVersionsCall
- func (r *CustomersReportsService) CountInstalledApps(customer string) *CustomersReportsCountInstalledAppsCall
- func (r *CustomersReportsService) CountPrintJobsByPrinter(customer string) *CustomersReportsCountPrintJobsByPrinterCall
- func (r *CustomersReportsService) CountPrintJobsByUser(customer string) *CustomersReportsCountPrintJobsByUserCall
- func (r *CustomersReportsService) EnumeratePrintJobs(customer string) *CustomersReportsEnumeratePrintJobsCall
- func (r *CustomersReportsService) FindInstalledAppDevices(customer string) *CustomersReportsFindInstalledAppDevicesCall
- type CustomersService
- type CustomersTelemetryDevicesGetCall
- func (c *CustomersTelemetryDevicesGetCall) Context(ctx context.Context) *CustomersTelemetryDevicesGetCall
- func (c *CustomersTelemetryDevicesGetCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1TelemetryDevice, error)
- func (c *CustomersTelemetryDevicesGetCall) Fields(s ...googleapi.Field) *CustomersTelemetryDevicesGetCall
- func (c *CustomersTelemetryDevicesGetCall) Header() http.Header
- func (c *CustomersTelemetryDevicesGetCall) IfNoneMatch(entityTag string) *CustomersTelemetryDevicesGetCall
- func (c *CustomersTelemetryDevicesGetCall) ReadMask(readMask string) *CustomersTelemetryDevicesGetCall
- type CustomersTelemetryDevicesListCall
- func (c *CustomersTelemetryDevicesListCall) Context(ctx context.Context) *CustomersTelemetryDevicesListCall
- func (c *CustomersTelemetryDevicesListCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1ListTelemetryDevicesResponse, error)
- func (c *CustomersTelemetryDevicesListCall) Fields(s ...googleapi.Field) *CustomersTelemetryDevicesListCall
- func (c *CustomersTelemetryDevicesListCall) Filter(filter string) *CustomersTelemetryDevicesListCall
- func (c *CustomersTelemetryDevicesListCall) Header() http.Header
- func (c *CustomersTelemetryDevicesListCall) IfNoneMatch(entityTag string) *CustomersTelemetryDevicesListCall
- func (c *CustomersTelemetryDevicesListCall) PageSize(pageSize int64) *CustomersTelemetryDevicesListCall
- func (c *CustomersTelemetryDevicesListCall) PageToken(pageToken string) *CustomersTelemetryDevicesListCall
- func (c *CustomersTelemetryDevicesListCall) Pages(ctx context.Context, ...) error
- func (c *CustomersTelemetryDevicesListCall) ReadMask(readMask string) *CustomersTelemetryDevicesListCall
- type CustomersTelemetryDevicesService
- type CustomersTelemetryEventsListCall
- func (c *CustomersTelemetryEventsListCall) Context(ctx context.Context) *CustomersTelemetryEventsListCall
- func (c *CustomersTelemetryEventsListCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1ListTelemetryEventsResponse, error)
- func (c *CustomersTelemetryEventsListCall) Fields(s ...googleapi.Field) *CustomersTelemetryEventsListCall
- func (c *CustomersTelemetryEventsListCall) Filter(filter string) *CustomersTelemetryEventsListCall
- func (c *CustomersTelemetryEventsListCall) Header() http.Header
- func (c *CustomersTelemetryEventsListCall) IfNoneMatch(entityTag string) *CustomersTelemetryEventsListCall
- func (c *CustomersTelemetryEventsListCall) PageSize(pageSize int64) *CustomersTelemetryEventsListCall
- func (c *CustomersTelemetryEventsListCall) PageToken(pageToken string) *CustomersTelemetryEventsListCall
- func (c *CustomersTelemetryEventsListCall) Pages(ctx context.Context, ...) error
- func (c *CustomersTelemetryEventsListCall) ReadMask(readMask string) *CustomersTelemetryEventsListCall
- type CustomersTelemetryEventsService
- type CustomersTelemetryNotificationConfigsCreateCall
- func (c *CustomersTelemetryNotificationConfigsCreateCall) Context(ctx context.Context) *CustomersTelemetryNotificationConfigsCreateCall
- func (c *CustomersTelemetryNotificationConfigsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1TelemetryNotificationConfig, error)
- func (c *CustomersTelemetryNotificationConfigsCreateCall) Fields(s ...googleapi.Field) *CustomersTelemetryNotificationConfigsCreateCall
- func (c *CustomersTelemetryNotificationConfigsCreateCall) Header() http.Header
- type CustomersTelemetryNotificationConfigsDeleteCall
- func (c *CustomersTelemetryNotificationConfigsDeleteCall) Context(ctx context.Context) *CustomersTelemetryNotificationConfigsDeleteCall
- func (c *CustomersTelemetryNotificationConfigsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *CustomersTelemetryNotificationConfigsDeleteCall) Fields(s ...googleapi.Field) *CustomersTelemetryNotificationConfigsDeleteCall
- func (c *CustomersTelemetryNotificationConfigsDeleteCall) Header() http.Header
- type CustomersTelemetryNotificationConfigsListCall
- func (c *CustomersTelemetryNotificationConfigsListCall) Context(ctx context.Context) *CustomersTelemetryNotificationConfigsListCall
- func (c *CustomersTelemetryNotificationConfigsListCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse, error)
- func (c *CustomersTelemetryNotificationConfigsListCall) Fields(s ...googleapi.Field) *CustomersTelemetryNotificationConfigsListCall
- func (c *CustomersTelemetryNotificationConfigsListCall) Header() http.Header
- func (c *CustomersTelemetryNotificationConfigsListCall) IfNoneMatch(entityTag string) *CustomersTelemetryNotificationConfigsListCall
- func (c *CustomersTelemetryNotificationConfigsListCall) PageSize(pageSize int64) *CustomersTelemetryNotificationConfigsListCall
- func (c *CustomersTelemetryNotificationConfigsListCall) PageToken(pageToken string) *CustomersTelemetryNotificationConfigsListCall
- func (c *CustomersTelemetryNotificationConfigsListCall) Pages(ctx context.Context, ...) error
- type CustomersTelemetryNotificationConfigsService
- func (r *CustomersTelemetryNotificationConfigsService) Create(parent string, ...) *CustomersTelemetryNotificationConfigsCreateCall
- func (r *CustomersTelemetryNotificationConfigsService) Delete(name string) *CustomersTelemetryNotificationConfigsDeleteCall
- func (r *CustomersTelemetryNotificationConfigsService) List(parent string) *CustomersTelemetryNotificationConfigsListCall
- type CustomersTelemetryService
- type CustomersTelemetryUsersGetCall
- func (c *CustomersTelemetryUsersGetCall) Context(ctx context.Context) *CustomersTelemetryUsersGetCall
- func (c *CustomersTelemetryUsersGetCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1TelemetryUser, error)
- func (c *CustomersTelemetryUsersGetCall) Fields(s ...googleapi.Field) *CustomersTelemetryUsersGetCall
- func (c *CustomersTelemetryUsersGetCall) Header() http.Header
- func (c *CustomersTelemetryUsersGetCall) IfNoneMatch(entityTag string) *CustomersTelemetryUsersGetCall
- func (c *CustomersTelemetryUsersGetCall) ReadMask(readMask string) *CustomersTelemetryUsersGetCall
- type CustomersTelemetryUsersListCall
- func (c *CustomersTelemetryUsersListCall) Context(ctx context.Context) *CustomersTelemetryUsersListCall
- func (c *CustomersTelemetryUsersListCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1ListTelemetryUsersResponse, error)
- func (c *CustomersTelemetryUsersListCall) Fields(s ...googleapi.Field) *CustomersTelemetryUsersListCall
- func (c *CustomersTelemetryUsersListCall) Filter(filter string) *CustomersTelemetryUsersListCall
- func (c *CustomersTelemetryUsersListCall) Header() http.Header
- func (c *CustomersTelemetryUsersListCall) IfNoneMatch(entityTag string) *CustomersTelemetryUsersListCall
- func (c *CustomersTelemetryUsersListCall) PageSize(pageSize int64) *CustomersTelemetryUsersListCall
- func (c *CustomersTelemetryUsersListCall) PageToken(pageToken string) *CustomersTelemetryUsersListCall
- func (c *CustomersTelemetryUsersListCall) Pages(ctx context.Context, ...) error
- func (c *CustomersTelemetryUsersListCall) ReadMask(readMask string) *CustomersTelemetryUsersListCall
- type CustomersTelemetryUsersService
- type GoogleChromeManagementV1AndroidAppInfo
- type GoogleChromeManagementV1AndroidAppPermission
- type GoogleChromeManagementV1AppDetails
- type GoogleChromeManagementV1AppReport
- type GoogleChromeManagementV1AppUsageData
- type GoogleChromeManagementV1AudioStatusReport
- type GoogleChromeManagementV1BatteryInfo
- type GoogleChromeManagementV1BatterySampleReport
- type GoogleChromeManagementV1BatteryStatusReport
- type GoogleChromeManagementV1BootPerformanceReport
- type GoogleChromeManagementV1BrowserVersion
- type GoogleChromeManagementV1ChromeAppInfo
- type GoogleChromeManagementV1ChromeAppPermission
- type GoogleChromeManagementV1ChromeAppRequest
- type GoogleChromeManagementV1ChromeAppSiteAccess
- type GoogleChromeManagementV1CountChromeAppRequestsResponse
- type GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse
- type GoogleChromeManagementV1CountChromeCrashEventsResponse
- type GoogleChromeManagementV1CountChromeCrashEventsResponseCrashEventCount
- type GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse
- type GoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse
- type GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse
- type GoogleChromeManagementV1CountChromeVersionsResponse
- type GoogleChromeManagementV1CountInstalledAppsResponse
- type GoogleChromeManagementV1CountPrintJobsByPrinterResponse
- type GoogleChromeManagementV1CountPrintJobsByUserResponse
- type GoogleChromeManagementV1CpuInfo
- type GoogleChromeManagementV1CpuStatusReport
- type GoogleChromeManagementV1CpuTemperatureInfo
- type GoogleChromeManagementV1Device
- type GoogleChromeManagementV1DeviceActivityReport
- type GoogleChromeManagementV1DeviceAueCountReport
- type GoogleChromeManagementV1DeviceHardwareCountReport
- type GoogleChromeManagementV1DeviceRequestingExtensionDetails
- type GoogleChromeManagementV1DiskInfo
- type GoogleChromeManagementV1DisplayDevice
- type GoogleChromeManagementV1DisplayInfo
- type GoogleChromeManagementV1EnumeratePrintJobsResponse
- type GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse
- type GoogleChromeManagementV1FetchUsersRequestingExtensionResponse
- type GoogleChromeManagementV1FindInstalledAppDevicesResponse
- type GoogleChromeManagementV1GraphicsAdapterInfo
- type GoogleChromeManagementV1GraphicsInfo
- type GoogleChromeManagementV1GraphicsStatusReport
- type GoogleChromeManagementV1HeartbeatStatusReport
- type GoogleChromeManagementV1HttpsLatencyRoutineData
- type GoogleChromeManagementV1InstalledApp
- type GoogleChromeManagementV1KioskAppStatusReport
- type GoogleChromeManagementV1ListTelemetryDevicesResponse
- type GoogleChromeManagementV1ListTelemetryEventsResponse
- type GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse
- type GoogleChromeManagementV1ListTelemetryUsersResponse
- type GoogleChromeManagementV1MemoryInfo
- type GoogleChromeManagementV1MemoryStatusReport
- type GoogleChromeManagementV1NetworkBandwidthReport
- type GoogleChromeManagementV1NetworkDevice
- type GoogleChromeManagementV1NetworkDiagnosticsReport
- type GoogleChromeManagementV1NetworkInfo
- type GoogleChromeManagementV1NetworkStatusReport
- type GoogleChromeManagementV1OsUpdateStatus
- type GoogleChromeManagementV1PeripheralsReport
- type GoogleChromeManagementV1PrintJob
- type GoogleChromeManagementV1PrinterReport
- type GoogleChromeManagementV1RuntimeCountersReport
- type GoogleChromeManagementV1StorageInfo
- type GoogleChromeManagementV1StorageInfoDiskVolume
- type GoogleChromeManagementV1StorageStatusReport
- type GoogleChromeManagementV1TelemetryAppInstallEvent
- type GoogleChromeManagementV1TelemetryAppLaunchEvent
- type GoogleChromeManagementV1TelemetryAppUninstallEvent
- type GoogleChromeManagementV1TelemetryAudioSevereUnderrunEvent
- type GoogleChromeManagementV1TelemetryDevice
- type GoogleChromeManagementV1TelemetryDeviceInfo
- type GoogleChromeManagementV1TelemetryEvent
- type GoogleChromeManagementV1TelemetryEventNotificationFilter
- type GoogleChromeManagementV1TelemetryHttpsLatencyChangeEvent
- type GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent
- type GoogleChromeManagementV1TelemetryNetworkSignalStrengthEvent
- type GoogleChromeManagementV1TelemetryNotificationConfig
- type GoogleChromeManagementV1TelemetryNotificationFilter
- type GoogleChromeManagementV1TelemetryUsbPeripheralsEvent
- type GoogleChromeManagementV1TelemetryUser
- type GoogleChromeManagementV1TelemetryUserDevice
- type GoogleChromeManagementV1TelemetryUserInfo
- type GoogleChromeManagementV1ThunderboltInfo
- type GoogleChromeManagementV1TotalMemoryEncryptionInfo
- type GoogleChromeManagementV1TouchScreenDevice
- type GoogleChromeManagementV1TouchScreenInfo
- type GoogleChromeManagementV1UsbPeripheralReport
- type GoogleChromeManagementV1UserPrintReport
- type GoogleChromeManagementV1UserRequestingExtensionDetails
- type GoogleProtobufEmpty
- type GoogleRpcStatus
- type GoogleTypeDate
- type Service
Constants ¶
const ( // See detailed information about apps installed on Chrome browsers and devices // managed by your organization ChromeManagementAppdetailsReadonlyScope = "https://www.googleapis.com/auth/chrome.management.appdetails.readonly" // See reports about devices and Chrome browsers managed within your // organization ChromeManagementReportsReadonlyScope = "https://www.googleapis.com/auth/chrome.management.reports.readonly" // See basic device and telemetry information collected from Chrome OS devices // or users managed within your organization ChromeManagementTelemetryReadonlyScope = "https://www.googleapis.com/auth/chrome.management.telemetry.readonly" )
OAuth2 scopes used by this API.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomersAppsAndroidGetCall ¶ added in v0.53.0
type CustomersAppsAndroidGetCall struct {
// contains filtered or unexported fields
}
func (*CustomersAppsAndroidGetCall) Context ¶ added in v0.53.0
func (c *CustomersAppsAndroidGetCall) Context(ctx context.Context) *CustomersAppsAndroidGetCall
Context sets the context to be used in this call's Do method.
func (*CustomersAppsAndroidGetCall) Do ¶ added in v0.53.0
func (c *CustomersAppsAndroidGetCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1AppDetails, error)
Do executes the "chromemanagement.customers.apps.android.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleChromeManagementV1AppDetails.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 (*CustomersAppsAndroidGetCall) Fields ¶ added in v0.53.0
func (c *CustomersAppsAndroidGetCall) Fields(s ...googleapi.Field) *CustomersAppsAndroidGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*CustomersAppsAndroidGetCall) Header ¶ added in v0.53.0
func (c *CustomersAppsAndroidGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*CustomersAppsAndroidGetCall) IfNoneMatch ¶ added in v0.53.0
func (c *CustomersAppsAndroidGetCall) IfNoneMatch(entityTag string) *CustomersAppsAndroidGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type CustomersAppsAndroidService ¶ added in v0.53.0
type CustomersAppsAndroidService struct {
// contains filtered or unexported fields
}
func NewCustomersAppsAndroidService ¶ added in v0.53.0
func NewCustomersAppsAndroidService(s *Service) *CustomersAppsAndroidService
func (*CustomersAppsAndroidService) Get ¶ added in v0.53.0
func (r *CustomersAppsAndroidService) Get(name string) *CustomersAppsAndroidGetCall
Get: Get a specific app for a customer by its resource name.
- name: The app for which details are being queried. Examples: "customers/my_customer/apps/chrome/gmbmikajjgmnabiglmofipeabaddhgne@2.1.2" for the Save to Google Drive Chrome extension version 2.1.2, "customers/my_customer/apps/android/com.google.android.apps.docs" for the Google Drive Android app's latest version.
type CustomersAppsChromeGetCall ¶ added in v0.53.0
type CustomersAppsChromeGetCall struct {
// contains filtered or unexported fields
}
func (*CustomersAppsChromeGetCall) Context ¶ added in v0.53.0
func (c *CustomersAppsChromeGetCall) Context(ctx context.Context) *CustomersAppsChromeGetCall
Context sets the context to be used in this call's Do method.
func (*CustomersAppsChromeGetCall) Do ¶ added in v0.53.0
func (c *CustomersAppsChromeGetCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1AppDetails, error)
Do executes the "chromemanagement.customers.apps.chrome.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleChromeManagementV1AppDetails.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 (*CustomersAppsChromeGetCall) Fields ¶ added in v0.53.0
func (c *CustomersAppsChromeGetCall) Fields(s ...googleapi.Field) *CustomersAppsChromeGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*CustomersAppsChromeGetCall) Header ¶ added in v0.53.0
func (c *CustomersAppsChromeGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*CustomersAppsChromeGetCall) IfNoneMatch ¶ added in v0.53.0
func (c *CustomersAppsChromeGetCall) IfNoneMatch(entityTag string) *CustomersAppsChromeGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type CustomersAppsChromeService ¶ added in v0.53.0
type CustomersAppsChromeService struct {
// contains filtered or unexported fields
}
func NewCustomersAppsChromeService ¶ added in v0.53.0
func NewCustomersAppsChromeService(s *Service) *CustomersAppsChromeService
func (*CustomersAppsChromeService) Get ¶ added in v0.53.0
func (r *CustomersAppsChromeService) Get(name string) *CustomersAppsChromeGetCall
Get: Get a specific app for a customer by its resource name.
- name: The app for which details are being queried. Examples: "customers/my_customer/apps/chrome/gmbmikajjgmnabiglmofipeabaddhgne@2.1.2" for the Save to Google Drive Chrome extension version 2.1.2, "customers/my_customer/apps/android/com.google.android.apps.docs" for the Google Drive Android app's latest version.
type CustomersAppsCountChromeAppRequestsCall ¶ added in v0.60.0
type CustomersAppsCountChromeAppRequestsCall struct {
// contains filtered or unexported fields
}
func (*CustomersAppsCountChromeAppRequestsCall) Context ¶ added in v0.60.0
func (c *CustomersAppsCountChromeAppRequestsCall) Context(ctx context.Context) *CustomersAppsCountChromeAppRequestsCall
Context sets the context to be used in this call's Do method.
func (*CustomersAppsCountChromeAppRequestsCall) Do ¶ added in v0.60.0
func (c *CustomersAppsCountChromeAppRequestsCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1CountChromeAppRequestsResponse, error)
Do executes the "chromemanagement.customers.apps.countChromeAppRequests" call. Any non-2xx status code is an error. Response headers are in either *GoogleChromeManagementV1CountChromeAppRequestsResponse.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 (*CustomersAppsCountChromeAppRequestsCall) Fields ¶ added in v0.60.0
func (c *CustomersAppsCountChromeAppRequestsCall) Fields(s ...googleapi.Field) *CustomersAppsCountChromeAppRequestsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*CustomersAppsCountChromeAppRequestsCall) Header ¶ added in v0.60.0
func (c *CustomersAppsCountChromeAppRequestsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*CustomersAppsCountChromeAppRequestsCall) IfNoneMatch ¶ added in v0.60.0
func (c *CustomersAppsCountChromeAppRequestsCall) IfNoneMatch(entityTag string) *CustomersAppsCountChromeAppRequestsCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*CustomersAppsCountChromeAppRequestsCall) OrderBy ¶ added in v0.60.0
func (c *CustomersAppsCountChromeAppRequestsCall) OrderBy(orderBy string) *CustomersAppsCountChromeAppRequestsCall
OrderBy sets the optional parameter "orderBy": Field used to order results. Supported fields: * request_count * latest_request_time
func (*CustomersAppsCountChromeAppRequestsCall) OrgUnitId ¶ added in v0.60.0
func (c *CustomersAppsCountChromeAppRequestsCall) OrgUnitId(orgUnitId string) *CustomersAppsCountChromeAppRequestsCall
OrgUnitId sets the optional parameter "orgUnitId": The ID of the organizational unit.
func (*CustomersAppsCountChromeAppRequestsCall) PageSize ¶ added in v0.60.0
func (c *CustomersAppsCountChromeAppRequestsCall) PageSize(pageSize int64) *CustomersAppsCountChromeAppRequestsCall
PageSize sets the optional parameter "pageSize": Maximum number of results to return. Maximum and default are 50, anything above will be coerced to 50.
func (*CustomersAppsCountChromeAppRequestsCall) PageToken ¶ added in v0.60.0
func (c *CustomersAppsCountChromeAppRequestsCall) PageToken(pageToken string) *CustomersAppsCountChromeAppRequestsCall
PageToken sets the optional parameter "pageToken": Token to specify the page of the request to be returned.
func (*CustomersAppsCountChromeAppRequestsCall) Pages ¶ added in v0.60.0
func (c *CustomersAppsCountChromeAppRequestsCall) Pages(ctx context.Context, f func(*GoogleChromeManagementV1CountChromeAppRequestsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type CustomersAppsFetchDevicesRequestingExtensionCall ¶ added in v0.170.0
type CustomersAppsFetchDevicesRequestingExtensionCall struct {
// contains filtered or unexported fields
}
func (*CustomersAppsFetchDevicesRequestingExtensionCall) Context ¶ added in v0.170.0
func (c *CustomersAppsFetchDevicesRequestingExtensionCall) Context(ctx context.Context) *CustomersAppsFetchDevicesRequestingExtensionCall
Context sets the context to be used in this call's Do method.
func (*CustomersAppsFetchDevicesRequestingExtensionCall) Do ¶ added in v0.170.0
func (c *CustomersAppsFetchDevicesRequestingExtensionCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse, error)
Do executes the "chromemanagement.customers.apps.fetchDevicesRequestingExtension" call. Any non-2xx status code is an error. Response headers are in either *GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse.ServerRespon se.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 (*CustomersAppsFetchDevicesRequestingExtensionCall) ExtensionId ¶ added in v0.170.0
func (c *CustomersAppsFetchDevicesRequestingExtensionCall) ExtensionId(extensionId string) *CustomersAppsFetchDevicesRequestingExtensionCall
ExtensionId sets the optional parameter "extensionId": Required. The extension for which we want to find requesting devices.
func (*CustomersAppsFetchDevicesRequestingExtensionCall) Fields ¶ added in v0.170.0
func (c *CustomersAppsFetchDevicesRequestingExtensionCall) Fields(s ...googleapi.Field) *CustomersAppsFetchDevicesRequestingExtensionCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*CustomersAppsFetchDevicesRequestingExtensionCall) Header ¶ added in v0.170.0
func (c *CustomersAppsFetchDevicesRequestingExtensionCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*CustomersAppsFetchDevicesRequestingExtensionCall) IfNoneMatch ¶ added in v0.170.0
func (c *CustomersAppsFetchDevicesRequestingExtensionCall) IfNoneMatch(entityTag string) *CustomersAppsFetchDevicesRequestingExtensionCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*CustomersAppsFetchDevicesRequestingExtensionCall) OrgUnitId ¶ added in v0.170.0
func (c *CustomersAppsFetchDevicesRequestingExtensionCall) OrgUnitId(orgUnitId string) *CustomersAppsFetchDevicesRequestingExtensionCall
OrgUnitId sets the optional parameter "orgUnitId": The ID of the organizational unit. Only consider devices that directly belong to this org unit, i.e. sub-orgunits are not counted. If omitted, all data will be returned.
func (*CustomersAppsFetchDevicesRequestingExtensionCall) PageSize ¶ added in v0.170.0
func (c *CustomersAppsFetchDevicesRequestingExtensionCall) PageSize(pageSize int64) *CustomersAppsFetchDevicesRequestingExtensionCall
PageSize sets the optional parameter "pageSize": Maximum number of results to return. Maximum and default are 50. Any page size larger than 50 will be coerced to 50.
func (*CustomersAppsFetchDevicesRequestingExtensionCall) PageToken ¶ added in v0.170.0
func (c *CustomersAppsFetchDevicesRequestingExtensionCall) PageToken(pageToken string) *CustomersAppsFetchDevicesRequestingExtensionCall
PageToken sets the optional parameter "pageToken": Token to specify the page of the request to be returned. Token expires after 1 day.
func (*CustomersAppsFetchDevicesRequestingExtensionCall) Pages ¶ added in v0.170.0
func (c *CustomersAppsFetchDevicesRequestingExtensionCall) Pages(ctx context.Context, f func(*GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type CustomersAppsFetchUsersRequestingExtensionCall ¶ added in v0.170.0
type CustomersAppsFetchUsersRequestingExtensionCall struct {
// contains filtered or unexported fields
}
func (*CustomersAppsFetchUsersRequestingExtensionCall) Context ¶ added in v0.170.0
func (c *CustomersAppsFetchUsersRequestingExtensionCall) Context(ctx context.Context) *CustomersAppsFetchUsersRequestingExtensionCall
Context sets the context to be used in this call's Do method.
func (*CustomersAppsFetchUsersRequestingExtensionCall) Do ¶ added in v0.170.0
func (c *CustomersAppsFetchUsersRequestingExtensionCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1FetchUsersRequestingExtensionResponse, error)
Do executes the "chromemanagement.customers.apps.fetchUsersRequestingExtension" call. Any non-2xx status code is an error. Response headers are in either *GoogleChromeManagementV1FetchUsersRequestingExtensionResponse.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 (*CustomersAppsFetchUsersRequestingExtensionCall) ExtensionId ¶ added in v0.170.0
func (c *CustomersAppsFetchUsersRequestingExtensionCall) ExtensionId(extensionId string) *CustomersAppsFetchUsersRequestingExtensionCall
ExtensionId sets the optional parameter "extensionId": Required. The extension for which we want to find the requesting users.
func (*CustomersAppsFetchUsersRequestingExtensionCall) Fields ¶ added in v0.170.0
func (c *CustomersAppsFetchUsersRequestingExtensionCall) Fields(s ...googleapi.Field) *CustomersAppsFetchUsersRequestingExtensionCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*CustomersAppsFetchUsersRequestingExtensionCall) Header ¶ added in v0.170.0
func (c *CustomersAppsFetchUsersRequestingExtensionCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*CustomersAppsFetchUsersRequestingExtensionCall) IfNoneMatch ¶ added in v0.170.0
func (c *CustomersAppsFetchUsersRequestingExtensionCall) IfNoneMatch(entityTag string) *CustomersAppsFetchUsersRequestingExtensionCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*CustomersAppsFetchUsersRequestingExtensionCall) OrgUnitId ¶ added in v0.170.0
func (c *CustomersAppsFetchUsersRequestingExtensionCall) OrgUnitId(orgUnitId string) *CustomersAppsFetchUsersRequestingExtensionCall
OrgUnitId sets the optional parameter "orgUnitId": The ID of the organizational unit. Only consider devices that directly belong to this org unit, i.e. sub-orgunits are not counted. If omitted, all data will be returned.
func (*CustomersAppsFetchUsersRequestingExtensionCall) PageSize ¶ added in v0.170.0
func (c *CustomersAppsFetchUsersRequestingExtensionCall) PageSize(pageSize int64) *CustomersAppsFetchUsersRequestingExtensionCall
PageSize sets the optional parameter "pageSize": Maximum number of results to return. Maximum and default are 50. Any page size larger than 50 will be coerced to 50.
func (*CustomersAppsFetchUsersRequestingExtensionCall) PageToken ¶ added in v0.170.0
func (c *CustomersAppsFetchUsersRequestingExtensionCall) PageToken(pageToken string) *CustomersAppsFetchUsersRequestingExtensionCall
PageToken sets the optional parameter "pageToken": Token to specify the page of the request to be returned. Token expires after 1 day.
func (*CustomersAppsFetchUsersRequestingExtensionCall) Pages ¶ added in v0.170.0
func (c *CustomersAppsFetchUsersRequestingExtensionCall) Pages(ctx context.Context, f func(*GoogleChromeManagementV1FetchUsersRequestingExtensionResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type CustomersAppsService ¶ added in v0.53.0
type CustomersAppsService struct { Android *CustomersAppsAndroidService Chrome *CustomersAppsChromeService Web *CustomersAppsWebService // contains filtered or unexported fields }
func NewCustomersAppsService ¶ added in v0.53.0
func NewCustomersAppsService(s *Service) *CustomersAppsService
func (*CustomersAppsService) CountChromeAppRequests ¶ added in v0.60.0
func (r *CustomersAppsService) CountChromeAppRequests(customer string) *CustomersAppsCountChromeAppRequestsCall
CountChromeAppRequests: Generate summary of app installation requests.
- customer: Customer id or "my_customer" to use the customer associated to the account making the request.
func (*CustomersAppsService) FetchDevicesRequestingExtension ¶ added in v0.170.0
func (r *CustomersAppsService) FetchDevicesRequestingExtension(customer string) *CustomersAppsFetchDevicesRequestingExtensionCall
FetchDevicesRequestingExtension: Get a list of devices that have requested to install an extension.
- customer: The customer ID or "my_customer" prefixed with "customers/".
func (*CustomersAppsService) FetchUsersRequestingExtension ¶ added in v0.170.0
func (r *CustomersAppsService) FetchUsersRequestingExtension(customer string) *CustomersAppsFetchUsersRequestingExtensionCall
FetchUsersRequestingExtension: Get a list of users that have requested to install an extension.
- customer: The customer ID or "my_customer" prefixed with "customers/".
type CustomersAppsWebGetCall ¶ added in v0.53.0
type CustomersAppsWebGetCall struct {
// contains filtered or unexported fields
}
func (*CustomersAppsWebGetCall) Context ¶ added in v0.53.0
func (c *CustomersAppsWebGetCall) Context(ctx context.Context) *CustomersAppsWebGetCall
Context sets the context to be used in this call's Do method.
func (*CustomersAppsWebGetCall) Do ¶ added in v0.53.0
func (c *CustomersAppsWebGetCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1AppDetails, error)
Do executes the "chromemanagement.customers.apps.web.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleChromeManagementV1AppDetails.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 (*CustomersAppsWebGetCall) Fields ¶ added in v0.53.0
func (c *CustomersAppsWebGetCall) Fields(s ...googleapi.Field) *CustomersAppsWebGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*CustomersAppsWebGetCall) Header ¶ added in v0.53.0
func (c *CustomersAppsWebGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*CustomersAppsWebGetCall) IfNoneMatch ¶ added in v0.53.0
func (c *CustomersAppsWebGetCall) IfNoneMatch(entityTag string) *CustomersAppsWebGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type CustomersAppsWebService ¶ added in v0.53.0
type CustomersAppsWebService struct {
// contains filtered or unexported fields
}
func NewCustomersAppsWebService ¶ added in v0.53.0
func NewCustomersAppsWebService(s *Service) *CustomersAppsWebService
func (*CustomersAppsWebService) Get ¶ added in v0.53.0
func (r *CustomersAppsWebService) Get(name string) *CustomersAppsWebGetCall
Get: Get a specific app for a customer by its resource name.
- name: The app for which details are being queried. Examples: "customers/my_customer/apps/chrome/gmbmikajjgmnabiglmofipeabaddhgne@2.1.2" for the Save to Google Drive Chrome extension version 2.1.2, "customers/my_customer/apps/android/com.google.android.apps.docs" for the Google Drive Android app's latest version.
type CustomersReportsCountChromeBrowsersNeedingAttentionCall ¶ added in v0.110.0
type CustomersReportsCountChromeBrowsersNeedingAttentionCall struct {
// contains filtered or unexported fields
}
func (*CustomersReportsCountChromeBrowsersNeedingAttentionCall) Context ¶ added in v0.110.0
func (c *CustomersReportsCountChromeBrowsersNeedingAttentionCall) Context(ctx context.Context) *CustomersReportsCountChromeBrowsersNeedingAttentionCall
Context sets the context to be used in this call's Do method.
func (*CustomersReportsCountChromeBrowsersNeedingAttentionCall) Do ¶ added in v0.110.0
func (c *CustomersReportsCountChromeBrowsersNeedingAttentionCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse, error)
Do executes the "chromemanagement.customers.reports.countChromeBrowsersNeedingAttention" call. Any non-2xx status code is an error. Response headers are in either *GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse.ServerRe sponse.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 (*CustomersReportsCountChromeBrowsersNeedingAttentionCall) Fields ¶ added in v0.110.0
func (c *CustomersReportsCountChromeBrowsersNeedingAttentionCall) Fields(s ...googleapi.Field) *CustomersReportsCountChromeBrowsersNeedingAttentionCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*CustomersReportsCountChromeBrowsersNeedingAttentionCall) Header ¶ added in v0.110.0
func (c *CustomersReportsCountChromeBrowsersNeedingAttentionCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*CustomersReportsCountChromeBrowsersNeedingAttentionCall) IfNoneMatch ¶ added in v0.110.0
func (c *CustomersReportsCountChromeBrowsersNeedingAttentionCall) IfNoneMatch(entityTag string) *CustomersReportsCountChromeBrowsersNeedingAttentionCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*CustomersReportsCountChromeBrowsersNeedingAttentionCall) OrgUnitId ¶ added in v0.110.0
func (c *CustomersReportsCountChromeBrowsersNeedingAttentionCall) OrgUnitId(orgUnitId string) *CustomersReportsCountChromeBrowsersNeedingAttentionCall
OrgUnitId sets the optional parameter "orgUnitId": The ID of the organizational unit. If omitted, all data will be returned.
type CustomersReportsCountChromeCrashEventsCall ¶ added in v0.171.0
type CustomersReportsCountChromeCrashEventsCall struct {
// contains filtered or unexported fields
}
func (*CustomersReportsCountChromeCrashEventsCall) Context ¶ added in v0.171.0
func (c *CustomersReportsCountChromeCrashEventsCall) Context(ctx context.Context) *CustomersReportsCountChromeCrashEventsCall
Context sets the context to be used in this call's Do method.
func (*CustomersReportsCountChromeCrashEventsCall) Do ¶ added in v0.171.0
func (c *CustomersReportsCountChromeCrashEventsCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1CountChromeCrashEventsResponse, error)
Do executes the "chromemanagement.customers.reports.countChromeCrashEvents" call. Any non-2xx status code is an error. Response headers are in either *GoogleChromeManagementV1CountChromeCrashEventsResponse.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 (*CustomersReportsCountChromeCrashEventsCall) Fields ¶ added in v0.171.0
func (c *CustomersReportsCountChromeCrashEventsCall) Fields(s ...googleapi.Field) *CustomersReportsCountChromeCrashEventsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*CustomersReportsCountChromeCrashEventsCall) Filter ¶ added in v0.171.0
func (c *CustomersReportsCountChromeCrashEventsCall) Filter(filter string) *CustomersReportsCountChromeCrashEventsCall
Filter sets the optional parameter "filter": Query string to filter results, AND-separated fields in EBNF syntax. Supported filter fields: * major_browser_version * minor_browser_version * browser_channel * device_platform * past_number_days Example: `major_browser_version = 'M115' AND past_number_days = '28'`.
func (*CustomersReportsCountChromeCrashEventsCall) Header ¶ added in v0.171.0
func (c *CustomersReportsCountChromeCrashEventsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*CustomersReportsCountChromeCrashEventsCall) IfNoneMatch ¶ added in v0.171.0
func (c *CustomersReportsCountChromeCrashEventsCall) IfNoneMatch(entityTag string) *CustomersReportsCountChromeCrashEventsCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*CustomersReportsCountChromeCrashEventsCall) OrderBy ¶ added in v0.171.0
func (c *CustomersReportsCountChromeCrashEventsCall) OrderBy(orderBy string) *CustomersReportsCountChromeCrashEventsCall
OrderBy sets the optional parameter "orderBy": Field used to order results. Supported order by fields: * browser_version * count * date
func (*CustomersReportsCountChromeCrashEventsCall) OrgUnitId ¶ added in v0.171.0
func (c *CustomersReportsCountChromeCrashEventsCall) OrgUnitId(orgUnitId string) *CustomersReportsCountChromeCrashEventsCall
OrgUnitId sets the optional parameter "orgUnitId": If specified, only count the number of crash events of the devices in this organizational unit.
type CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall ¶ added in v0.88.0
type CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall struct {
// contains filtered or unexported fields
}
func (*CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall) Context ¶ added in v0.88.0
func (c *CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall) Context(ctx context.Context) *CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall
Context sets the context to be used in this call's Do method.
func (*CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall) Do ¶ added in v0.88.0
func (c *CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse, error)
Do executes the "chromemanagement.customers.reports.countChromeDevicesReachingAutoExpirationDate" call. Any non-2xx status code is an error. Response headers are in either *GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse .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 (*CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall) Fields ¶ added in v0.88.0
func (c *CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall) Fields(s ...googleapi.Field) *CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall) Header ¶ added in v0.88.0
func (c *CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall) IfNoneMatch ¶ added in v0.88.0
func (c *CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall) IfNoneMatch(entityTag string) *CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall) MaxAueDate ¶ added in v0.88.0
func (c *CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall) MaxAueDate(maxAueDate string) *CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall
MaxAueDate sets the optional parameter "maxAueDate": Maximum expiration date in format yyyy-mm-dd in UTC timezone. If included returns all devices that have already expired and devices with auto expiration date equal to or earlier than the maximum date.
func (*CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall) MinAueDate ¶ added in v0.88.0
func (c *CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall) MinAueDate(minAueDate string) *CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall
MinAueDate sets the optional parameter "minAueDate": Maximum expiration date in format yyyy-mm-dd in UTC timezone. If included returns all devices that have already expired and devices with auto expiration date equal to or later than the minimum date.
func (*CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall) OrgUnitId ¶ added in v0.88.0
func (c *CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall) OrgUnitId(orgUnitId string) *CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall
OrgUnitId sets the optional parameter "orgUnitId": The organizational unit ID, if omitted, will return data for all organizational units.
type CustomersReportsCountChromeDevicesThatNeedAttentionCall ¶ added in v0.88.0
type CustomersReportsCountChromeDevicesThatNeedAttentionCall struct {
// contains filtered or unexported fields
}
func (*CustomersReportsCountChromeDevicesThatNeedAttentionCall) Context ¶ added in v0.88.0
func (c *CustomersReportsCountChromeDevicesThatNeedAttentionCall) Context(ctx context.Context) *CustomersReportsCountChromeDevicesThatNeedAttentionCall
Context sets the context to be used in this call's Do method.
func (*CustomersReportsCountChromeDevicesThatNeedAttentionCall) Do ¶ added in v0.88.0
func (c *CustomersReportsCountChromeDevicesThatNeedAttentionCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse, error)
Do executes the "chromemanagement.customers.reports.countChromeDevicesThatNeedAttention" call. Any non-2xx status code is an error. Response headers are in either *GoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse.ServerRe sponse.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 (*CustomersReportsCountChromeDevicesThatNeedAttentionCall) Fields ¶ added in v0.88.0
func (c *CustomersReportsCountChromeDevicesThatNeedAttentionCall) Fields(s ...googleapi.Field) *CustomersReportsCountChromeDevicesThatNeedAttentionCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*CustomersReportsCountChromeDevicesThatNeedAttentionCall) Header ¶ added in v0.88.0
func (c *CustomersReportsCountChromeDevicesThatNeedAttentionCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*CustomersReportsCountChromeDevicesThatNeedAttentionCall) IfNoneMatch ¶ added in v0.88.0
func (c *CustomersReportsCountChromeDevicesThatNeedAttentionCall) IfNoneMatch(entityTag string) *CustomersReportsCountChromeDevicesThatNeedAttentionCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*CustomersReportsCountChromeDevicesThatNeedAttentionCall) OrgUnitId ¶ added in v0.88.0
func (c *CustomersReportsCountChromeDevicesThatNeedAttentionCall) OrgUnitId(orgUnitId string) *CustomersReportsCountChromeDevicesThatNeedAttentionCall
OrgUnitId sets the optional parameter "orgUnitId": The ID of the organizational unit. If omitted, all data will be returned.
func (*CustomersReportsCountChromeDevicesThatNeedAttentionCall) ReadMask ¶ added in v0.88.0
func (c *CustomersReportsCountChromeDevicesThatNeedAttentionCall) ReadMask(readMask string) *CustomersReportsCountChromeDevicesThatNeedAttentionCall
ReadMask sets the optional parameter "readMask": Required. Mask of the fields that should be populated in the returned report.
type CustomersReportsCountChromeHardwareFleetDevicesCall ¶ added in v0.97.0
type CustomersReportsCountChromeHardwareFleetDevicesCall struct {
// contains filtered or unexported fields
}
func (*CustomersReportsCountChromeHardwareFleetDevicesCall) Context ¶ added in v0.97.0
func (c *CustomersReportsCountChromeHardwareFleetDevicesCall) Context(ctx context.Context) *CustomersReportsCountChromeHardwareFleetDevicesCall
Context sets the context to be used in this call's Do method.
func (*CustomersReportsCountChromeHardwareFleetDevicesCall) Do ¶ added in v0.97.0
func (c *CustomersReportsCountChromeHardwareFleetDevicesCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse, error)
Do executes the "chromemanagement.customers.reports.countChromeHardwareFleetDevices" call. Any non-2xx status code is an error. Response headers are in either *GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse.ServerRespon se.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 (*CustomersReportsCountChromeHardwareFleetDevicesCall) Fields ¶ added in v0.97.0
func (c *CustomersReportsCountChromeHardwareFleetDevicesCall) Fields(s ...googleapi.Field) *CustomersReportsCountChromeHardwareFleetDevicesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*CustomersReportsCountChromeHardwareFleetDevicesCall) Header ¶ added in v0.97.0
func (c *CustomersReportsCountChromeHardwareFleetDevicesCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*CustomersReportsCountChromeHardwareFleetDevicesCall) IfNoneMatch ¶ added in v0.97.0
func (c *CustomersReportsCountChromeHardwareFleetDevicesCall) IfNoneMatch(entityTag string) *CustomersReportsCountChromeHardwareFleetDevicesCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*CustomersReportsCountChromeHardwareFleetDevicesCall) OrgUnitId ¶ added in v0.97.0
func (c *CustomersReportsCountChromeHardwareFleetDevicesCall) OrgUnitId(orgUnitId string) *CustomersReportsCountChromeHardwareFleetDevicesCall
OrgUnitId sets the optional parameter "orgUnitId": The ID of the organizational unit. If omitted, all data will be returned.
func (*CustomersReportsCountChromeHardwareFleetDevicesCall) ReadMask ¶ added in v0.97.0
func (c *CustomersReportsCountChromeHardwareFleetDevicesCall) ReadMask(readMask string) *CustomersReportsCountChromeHardwareFleetDevicesCall
ReadMask sets the optional parameter "readMask": Required. Mask of the fields that should be populated in the returned report.
type CustomersReportsCountChromeVersionsCall ¶
type CustomersReportsCountChromeVersionsCall struct {
// contains filtered or unexported fields
}
func (*CustomersReportsCountChromeVersionsCall) Context ¶
func (c *CustomersReportsCountChromeVersionsCall) Context(ctx context.Context) *CustomersReportsCountChromeVersionsCall
Context sets the context to be used in this call's Do method.
func (*CustomersReportsCountChromeVersionsCall) Do ¶
func (c *CustomersReportsCountChromeVersionsCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1CountChromeVersionsResponse, error)
Do executes the "chromemanagement.customers.reports.countChromeVersions" call. Any non-2xx status code is an error. Response headers are in either *GoogleChromeManagementV1CountChromeVersionsResponse.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 (*CustomersReportsCountChromeVersionsCall) Fields ¶
func (c *CustomersReportsCountChromeVersionsCall) Fields(s ...googleapi.Field) *CustomersReportsCountChromeVersionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*CustomersReportsCountChromeVersionsCall) Filter ¶
func (c *CustomersReportsCountChromeVersionsCall) Filter(filter string) *CustomersReportsCountChromeVersionsCall
Filter sets the optional parameter "filter": Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not supported in this filter. Supported filter fields: * last_active_date
func (*CustomersReportsCountChromeVersionsCall) Header ¶
func (c *CustomersReportsCountChromeVersionsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*CustomersReportsCountChromeVersionsCall) IfNoneMatch ¶
func (c *CustomersReportsCountChromeVersionsCall) IfNoneMatch(entityTag string) *CustomersReportsCountChromeVersionsCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*CustomersReportsCountChromeVersionsCall) OrgUnitId ¶
func (c *CustomersReportsCountChromeVersionsCall) OrgUnitId(orgUnitId string) *CustomersReportsCountChromeVersionsCall
OrgUnitId sets the optional parameter "orgUnitId": The ID of the organizational unit.
func (*CustomersReportsCountChromeVersionsCall) PageSize ¶
func (c *CustomersReportsCountChromeVersionsCall) PageSize(pageSize int64) *CustomersReportsCountChromeVersionsCall
PageSize sets the optional parameter "pageSize": Maximum number of results to return. Maximum and default are 100.
func (*CustomersReportsCountChromeVersionsCall) PageToken ¶
func (c *CustomersReportsCountChromeVersionsCall) PageToken(pageToken string) *CustomersReportsCountChromeVersionsCall
PageToken sets the optional parameter "pageToken": Token to specify the page of the request to be returned.
func (*CustomersReportsCountChromeVersionsCall) Pages ¶
func (c *CustomersReportsCountChromeVersionsCall) Pages(ctx context.Context, f func(*GoogleChromeManagementV1CountChromeVersionsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type CustomersReportsCountInstalledAppsCall ¶
type CustomersReportsCountInstalledAppsCall struct {
// contains filtered or unexported fields
}
func (*CustomersReportsCountInstalledAppsCall) Context ¶
func (c *CustomersReportsCountInstalledAppsCall) Context(ctx context.Context) *CustomersReportsCountInstalledAppsCall
Context sets the context to be used in this call's Do method.
func (*CustomersReportsCountInstalledAppsCall) Do ¶
func (c *CustomersReportsCountInstalledAppsCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1CountInstalledAppsResponse, error)
Do executes the "chromemanagement.customers.reports.countInstalledApps" call. Any non-2xx status code is an error. Response headers are in either *GoogleChromeManagementV1CountInstalledAppsResponse.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 (*CustomersReportsCountInstalledAppsCall) Fields ¶
func (c *CustomersReportsCountInstalledAppsCall) Fields(s ...googleapi.Field) *CustomersReportsCountInstalledAppsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*CustomersReportsCountInstalledAppsCall) Filter ¶
func (c *CustomersReportsCountInstalledAppsCall) Filter(filter string) *CustomersReportsCountInstalledAppsCall
Filter sets the optional parameter "filter": Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not supported in this filter. Supported filter fields: * app_name * app_type * install_type * number_of_permissions * total_install_count * latest_profile_active_date * permission_name * app_id * manifest_versions
func (*CustomersReportsCountInstalledAppsCall) Header ¶
func (c *CustomersReportsCountInstalledAppsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*CustomersReportsCountInstalledAppsCall) IfNoneMatch ¶
func (c *CustomersReportsCountInstalledAppsCall) IfNoneMatch(entityTag string) *CustomersReportsCountInstalledAppsCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*CustomersReportsCountInstalledAppsCall) OrderBy ¶
func (c *CustomersReportsCountInstalledAppsCall) OrderBy(orderBy string) *CustomersReportsCountInstalledAppsCall
OrderBy sets the optional parameter "orderBy": Field used to order results. Supported order by fields: * app_name * app_type * install_type * number_of_permissions * total_install_count * app_id * manifest_versions
func (*CustomersReportsCountInstalledAppsCall) OrgUnitId ¶
func (c *CustomersReportsCountInstalledAppsCall) OrgUnitId(orgUnitId string) *CustomersReportsCountInstalledAppsCall
OrgUnitId sets the optional parameter "orgUnitId": The ID of the organizational unit.
func (*CustomersReportsCountInstalledAppsCall) PageSize ¶
func (c *CustomersReportsCountInstalledAppsCall) PageSize(pageSize int64) *CustomersReportsCountInstalledAppsCall
PageSize sets the optional parameter "pageSize": Maximum number of results to return. Maximum and default are 100.
func (*CustomersReportsCountInstalledAppsCall) PageToken ¶
func (c *CustomersReportsCountInstalledAppsCall) PageToken(pageToken string) *CustomersReportsCountInstalledAppsCall
PageToken sets the optional parameter "pageToken": Token to specify the page of the request to be returned.
func (*CustomersReportsCountInstalledAppsCall) Pages ¶
func (c *CustomersReportsCountInstalledAppsCall) Pages(ctx context.Context, f func(*GoogleChromeManagementV1CountInstalledAppsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type CustomersReportsCountPrintJobsByPrinterCall ¶ added in v0.111.0
type CustomersReportsCountPrintJobsByPrinterCall struct {
// contains filtered or unexported fields
}
func (*CustomersReportsCountPrintJobsByPrinterCall) Context ¶ added in v0.111.0
func (c *CustomersReportsCountPrintJobsByPrinterCall) Context(ctx context.Context) *CustomersReportsCountPrintJobsByPrinterCall
Context sets the context to be used in this call's Do method.
func (*CustomersReportsCountPrintJobsByPrinterCall) Do ¶ added in v0.111.0
func (c *CustomersReportsCountPrintJobsByPrinterCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1CountPrintJobsByPrinterResponse, error)
Do executes the "chromemanagement.customers.reports.countPrintJobsByPrinter" call. Any non-2xx status code is an error. Response headers are in either *GoogleChromeManagementV1CountPrintJobsByPrinterResponse.ServerResponse.Heade r 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 (*CustomersReportsCountPrintJobsByPrinterCall) Fields ¶ added in v0.111.0
func (c *CustomersReportsCountPrintJobsByPrinterCall) Fields(s ...googleapi.Field) *CustomersReportsCountPrintJobsByPrinterCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*CustomersReportsCountPrintJobsByPrinterCall) Filter ¶ added in v0.111.0
func (c *CustomersReportsCountPrintJobsByPrinterCall) Filter(filter string) *CustomersReportsCountPrintJobsByPrinterCall
Filter sets the optional parameter "filter": Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not supported in this filter. Note: Only >= and <= comparators are supported in this filter. Supported filter fields: * complete_time
func (*CustomersReportsCountPrintJobsByPrinterCall) Header ¶ added in v0.111.0
func (c *CustomersReportsCountPrintJobsByPrinterCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*CustomersReportsCountPrintJobsByPrinterCall) IfNoneMatch ¶ added in v0.111.0
func (c *CustomersReportsCountPrintJobsByPrinterCall) IfNoneMatch(entityTag string) *CustomersReportsCountPrintJobsByPrinterCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*CustomersReportsCountPrintJobsByPrinterCall) OrderBy ¶ added in v0.111.0
func (c *CustomersReportsCountPrintJobsByPrinterCall) OrderBy(orderBy string) *CustomersReportsCountPrintJobsByPrinterCall
OrderBy sets the optional parameter "orderBy": Field used to order results. If omitted, results will be ordered in ascending order of the 'printer' field. Supported order_by fields: * printer * job_count * device_count * user_count
func (*CustomersReportsCountPrintJobsByPrinterCall) PageSize ¶ added in v0.111.0
func (c *CustomersReportsCountPrintJobsByPrinterCall) PageSize(pageSize int64) *CustomersReportsCountPrintJobsByPrinterCall
PageSize sets the optional parameter "pageSize": Maximum number of results to return. Maximum and default are 100.
func (*CustomersReportsCountPrintJobsByPrinterCall) PageToken ¶ added in v0.111.0
func (c *CustomersReportsCountPrintJobsByPrinterCall) PageToken(pageToken string) *CustomersReportsCountPrintJobsByPrinterCall
PageToken sets the optional parameter "pageToken": Token to specify the page of the response to be returned.
func (*CustomersReportsCountPrintJobsByPrinterCall) Pages ¶ added in v0.111.0
func (c *CustomersReportsCountPrintJobsByPrinterCall) Pages(ctx context.Context, f func(*GoogleChromeManagementV1CountPrintJobsByPrinterResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (*CustomersReportsCountPrintJobsByPrinterCall) PrinterOrgUnitId ¶ added in v0.111.0
func (c *CustomersReportsCountPrintJobsByPrinterCall) PrinterOrgUnitId(printerOrgUnitId string) *CustomersReportsCountPrintJobsByPrinterCall
PrinterOrgUnitId sets the optional parameter "printerOrgUnitId": The ID of the organizational unit for printers. If specified, only data for printers from the specified organizational unit will be returned. If omitted, data for printers from all organizational units will be returned.
type CustomersReportsCountPrintJobsByUserCall ¶ added in v0.111.0
type CustomersReportsCountPrintJobsByUserCall struct {
// contains filtered or unexported fields
}
func (*CustomersReportsCountPrintJobsByUserCall) Context ¶ added in v0.111.0
func (c *CustomersReportsCountPrintJobsByUserCall) Context(ctx context.Context) *CustomersReportsCountPrintJobsByUserCall
Context sets the context to be used in this call's Do method.
func (*CustomersReportsCountPrintJobsByUserCall) Do ¶ added in v0.111.0
func (c *CustomersReportsCountPrintJobsByUserCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1CountPrintJobsByUserResponse, error)
Do executes the "chromemanagement.customers.reports.countPrintJobsByUser" call. Any non-2xx status code is an error. Response headers are in either *GoogleChromeManagementV1CountPrintJobsByUserResponse.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 (*CustomersReportsCountPrintJobsByUserCall) Fields ¶ added in v0.111.0
func (c *CustomersReportsCountPrintJobsByUserCall) Fields(s ...googleapi.Field) *CustomersReportsCountPrintJobsByUserCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*CustomersReportsCountPrintJobsByUserCall) Filter ¶ added in v0.111.0
func (c *CustomersReportsCountPrintJobsByUserCall) Filter(filter string) *CustomersReportsCountPrintJobsByUserCall
Filter sets the optional parameter "filter": Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not supported in this filter. Note: Only >= and <= comparators are supported in this filter. Supported filter fields: * complete_time
func (*CustomersReportsCountPrintJobsByUserCall) Header ¶ added in v0.111.0
func (c *CustomersReportsCountPrintJobsByUserCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*CustomersReportsCountPrintJobsByUserCall) IfNoneMatch ¶ added in v0.111.0
func (c *CustomersReportsCountPrintJobsByUserCall) IfNoneMatch(entityTag string) *CustomersReportsCountPrintJobsByUserCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*CustomersReportsCountPrintJobsByUserCall) OrderBy ¶ added in v0.111.0
func (c *CustomersReportsCountPrintJobsByUserCall) OrderBy(orderBy string) *CustomersReportsCountPrintJobsByUserCall
OrderBy sets the optional parameter "orderBy": Field used to order results. If omitted, results will be ordered in ascending order of the 'user_email' field. Supported order_by fields: * user_email * job_count * printer_count * device_count
func (*CustomersReportsCountPrintJobsByUserCall) PageSize ¶ added in v0.111.0
func (c *CustomersReportsCountPrintJobsByUserCall) PageSize(pageSize int64) *CustomersReportsCountPrintJobsByUserCall
PageSize sets the optional parameter "pageSize": Maximum number of results to return. Maximum and default are 100.
func (*CustomersReportsCountPrintJobsByUserCall) PageToken ¶ added in v0.111.0
func (c *CustomersReportsCountPrintJobsByUserCall) PageToken(pageToken string) *CustomersReportsCountPrintJobsByUserCall
PageToken sets the optional parameter "pageToken": Token to specify the page of the response to be returned.
func (*CustomersReportsCountPrintJobsByUserCall) Pages ¶ added in v0.111.0
func (c *CustomersReportsCountPrintJobsByUserCall) Pages(ctx context.Context, f func(*GoogleChromeManagementV1CountPrintJobsByUserResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (*CustomersReportsCountPrintJobsByUserCall) PrinterOrgUnitId ¶ added in v0.111.0
func (c *CustomersReportsCountPrintJobsByUserCall) PrinterOrgUnitId(printerOrgUnitId string) *CustomersReportsCountPrintJobsByUserCall
PrinterOrgUnitId sets the optional parameter "printerOrgUnitId": The ID of the organizational unit for printers. If specified, only print jobs initiated with printers from the specified organizational unit will be counted. If omitted, all print jobs will be counted.
type CustomersReportsEnumeratePrintJobsCall ¶ added in v0.139.0
type CustomersReportsEnumeratePrintJobsCall struct {
// contains filtered or unexported fields
}
func (*CustomersReportsEnumeratePrintJobsCall) Context ¶ added in v0.139.0
func (c *CustomersReportsEnumeratePrintJobsCall) Context(ctx context.Context) *CustomersReportsEnumeratePrintJobsCall
Context sets the context to be used in this call's Do method.
func (*CustomersReportsEnumeratePrintJobsCall) Do ¶ added in v0.139.0
func (c *CustomersReportsEnumeratePrintJobsCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1EnumeratePrintJobsResponse, error)
Do executes the "chromemanagement.customers.reports.enumeratePrintJobs" call. Any non-2xx status code is an error. Response headers are in either *GoogleChromeManagementV1EnumeratePrintJobsResponse.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 (*CustomersReportsEnumeratePrintJobsCall) Fields ¶ added in v0.139.0
func (c *CustomersReportsEnumeratePrintJobsCall) Fields(s ...googleapi.Field) *CustomersReportsEnumeratePrintJobsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*CustomersReportsEnumeratePrintJobsCall) Filter ¶ added in v0.139.0
func (c *CustomersReportsEnumeratePrintJobsCall) Filter(filter string) *CustomersReportsEnumeratePrintJobsCall
Filter sets the optional parameter "filter": Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not supported in this filter. Note: Only >= and <= comparators are supported for `complete_time`. Note: Only = comparator supported for `user_id` and `printer_id`. Supported filter fields: * complete_time * printer_id * user_id
func (*CustomersReportsEnumeratePrintJobsCall) Header ¶ added in v0.139.0
func (c *CustomersReportsEnumeratePrintJobsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*CustomersReportsEnumeratePrintJobsCall) IfNoneMatch ¶ added in v0.139.0
func (c *CustomersReportsEnumeratePrintJobsCall) IfNoneMatch(entityTag string) *CustomersReportsEnumeratePrintJobsCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*CustomersReportsEnumeratePrintJobsCall) OrderBy ¶ added in v0.139.0
func (c *CustomersReportsEnumeratePrintJobsCall) OrderBy(orderBy string) *CustomersReportsEnumeratePrintJobsCall
OrderBy sets the optional parameter "orderBy": Field used to order results. If not specified, results will be ordered in descending order of the `complete_time` field. Supported order by fields: * title * state * create_time * complete_time * document_page_count * color_mode * duplex_mode * printer * user_email
func (*CustomersReportsEnumeratePrintJobsCall) PageSize ¶ added in v0.139.0
func (c *CustomersReportsEnumeratePrintJobsCall) PageSize(pageSize int64) *CustomersReportsEnumeratePrintJobsCall
PageSize sets the optional parameter "pageSize": The number of print jobs in the page from 0 to 100 inclusive, if page_size is not specified or zero, the size will be 50.
func (*CustomersReportsEnumeratePrintJobsCall) PageToken ¶ added in v0.139.0
func (c *CustomersReportsEnumeratePrintJobsCall) PageToken(pageToken string) *CustomersReportsEnumeratePrintJobsCall
PageToken sets the optional parameter "pageToken": A page token received from a previous `EnumeratePrintJobs` call. Provide this to retrieve the subsequent page. If omitted, the first page of results will be returned. When paginating, all other parameters provided to `EnumeratePrintJobs` must match the call that provided the page token.
func (*CustomersReportsEnumeratePrintJobsCall) Pages ¶ added in v0.139.0
func (c *CustomersReportsEnumeratePrintJobsCall) Pages(ctx context.Context, f func(*GoogleChromeManagementV1EnumeratePrintJobsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (*CustomersReportsEnumeratePrintJobsCall) PrinterOrgUnitId ¶ added in v0.139.0
func (c *CustomersReportsEnumeratePrintJobsCall) PrinterOrgUnitId(printerOrgUnitId string) *CustomersReportsEnumeratePrintJobsCall
PrinterOrgUnitId sets the optional parameter "printerOrgUnitId": The ID of the organizational unit for printers. If specified, only print jobs submitted to printers from the specified organizational unit will be returned.
type CustomersReportsFindInstalledAppDevicesCall ¶
type CustomersReportsFindInstalledAppDevicesCall struct {
// contains filtered or unexported fields
}
func (*CustomersReportsFindInstalledAppDevicesCall) AppId ¶
func (c *CustomersReportsFindInstalledAppDevicesCall) AppId(appId string) *CustomersReportsFindInstalledAppDevicesCall
AppId sets the optional parameter "appId": Unique identifier of the app. For Chrome apps and extensions, the 32-character id (e.g. ehoadneljpdggcbbknedodolkkjodefl). For Android apps, the package name (e.g. com.evernote).
func (*CustomersReportsFindInstalledAppDevicesCall) AppType ¶
func (c *CustomersReportsFindInstalledAppDevicesCall) AppType(appType string) *CustomersReportsFindInstalledAppDevicesCall
AppType sets the optional parameter "appType": Type of the app.
Possible values:
"APP_TYPE_UNSPECIFIED" - App type not specified. "EXTENSION" - Chrome extension. "APP" - Chrome app. "THEME" - Chrome theme. "HOSTED_APP" - Chrome hosted app. "ANDROID_APP" - ARC++ app.
func (*CustomersReportsFindInstalledAppDevicesCall) Context ¶
func (c *CustomersReportsFindInstalledAppDevicesCall) Context(ctx context.Context) *CustomersReportsFindInstalledAppDevicesCall
Context sets the context to be used in this call's Do method.
func (*CustomersReportsFindInstalledAppDevicesCall) Do ¶
func (c *CustomersReportsFindInstalledAppDevicesCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1FindInstalledAppDevicesResponse, error)
Do executes the "chromemanagement.customers.reports.findInstalledAppDevices" call. Any non-2xx status code is an error. Response headers are in either *GoogleChromeManagementV1FindInstalledAppDevicesResponse.ServerResponse.Heade r 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 (*CustomersReportsFindInstalledAppDevicesCall) Fields ¶
func (c *CustomersReportsFindInstalledAppDevicesCall) Fields(s ...googleapi.Field) *CustomersReportsFindInstalledAppDevicesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*CustomersReportsFindInstalledAppDevicesCall) Filter ¶
func (c *CustomersReportsFindInstalledAppDevicesCall) Filter(filter string) *CustomersReportsFindInstalledAppDevicesCall
Filter sets the optional parameter "filter": Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not supported in this filter. Supported filter fields: * last_active_date
func (*CustomersReportsFindInstalledAppDevicesCall) Header ¶
func (c *CustomersReportsFindInstalledAppDevicesCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*CustomersReportsFindInstalledAppDevicesCall) IfNoneMatch ¶
func (c *CustomersReportsFindInstalledAppDevicesCall) IfNoneMatch(entityTag string) *CustomersReportsFindInstalledAppDevicesCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*CustomersReportsFindInstalledAppDevicesCall) OrderBy ¶
func (c *CustomersReportsFindInstalledAppDevicesCall) OrderBy(orderBy string) *CustomersReportsFindInstalledAppDevicesCall
OrderBy sets the optional parameter "orderBy": Field used to order results. Supported order by fields: * machine * device_id
func (*CustomersReportsFindInstalledAppDevicesCall) OrgUnitId ¶
func (c *CustomersReportsFindInstalledAppDevicesCall) OrgUnitId(orgUnitId string) *CustomersReportsFindInstalledAppDevicesCall
OrgUnitId sets the optional parameter "orgUnitId": The ID of the organizational unit.
func (*CustomersReportsFindInstalledAppDevicesCall) PageSize ¶
func (c *CustomersReportsFindInstalledAppDevicesCall) PageSize(pageSize int64) *CustomersReportsFindInstalledAppDevicesCall
PageSize sets the optional parameter "pageSize": Maximum number of results to return. Maximum and default are 100.
func (*CustomersReportsFindInstalledAppDevicesCall) PageToken ¶
func (c *CustomersReportsFindInstalledAppDevicesCall) PageToken(pageToken string) *CustomersReportsFindInstalledAppDevicesCall
PageToken sets the optional parameter "pageToken": Token to specify the page of the request to be returned.
func (*CustomersReportsFindInstalledAppDevicesCall) Pages ¶
func (c *CustomersReportsFindInstalledAppDevicesCall) Pages(ctx context.Context, f func(*GoogleChromeManagementV1FindInstalledAppDevicesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type CustomersReportsService ¶
type CustomersReportsService struct {
// contains filtered or unexported fields
}
func NewCustomersReportsService ¶
func NewCustomersReportsService(s *Service) *CustomersReportsService
func (*CustomersReportsService) CountChromeBrowsersNeedingAttention ¶ added in v0.110.0
func (r *CustomersReportsService) CountChromeBrowsersNeedingAttention(customer string) *CustomersReportsCountChromeBrowsersNeedingAttentionCall
CountChromeBrowsersNeedingAttention: Count of Chrome Browsers that have been recently enrolled, have new policy to be synced, or have no recent activity.
- customer: The customer ID or "my_customer" prefixed with "customers/".
func (*CustomersReportsService) CountChromeCrashEvents ¶ added in v0.171.0
func (r *CustomersReportsService) CountChromeCrashEvents(customer string) *CustomersReportsCountChromeCrashEventsCall
CountChromeCrashEvents: Get a count of Chrome crash events.
- customer: Customer ID.
func (*CustomersReportsService) CountChromeDevicesReachingAutoExpirationDate ¶ added in v0.88.0
func (r *CustomersReportsService) CountChromeDevicesReachingAutoExpirationDate(customer string) *CustomersReportsCountChromeDevicesReachingAutoExpirationDateCall
CountChromeDevicesReachingAutoExpirationDate: Generate report of the number of devices expiring in each month of the selected time frame. Devices are grouped by auto update expiration date and model. Further information can be found here (https://support.google.com/chrome/a/answer/10564947).
- customer: The customer ID or "my_customer" prefixed with "customers/".
func (*CustomersReportsService) CountChromeDevicesThatNeedAttention ¶ added in v0.88.0
func (r *CustomersReportsService) CountChromeDevicesThatNeedAttention(customer string) *CustomersReportsCountChromeDevicesThatNeedAttentionCall
CountChromeDevicesThatNeedAttention: Counts of ChromeOS devices that have not synced policies or have lacked user activity in the past 28 days, are out of date, or are not complaint. Further information can be found here https://support.google.com/chrome/a/answer/10564947
- customer: The customer ID or "my_customer" prefixed with "customers/".
func (*CustomersReportsService) CountChromeHardwareFleetDevices ¶ added in v0.97.0
func (r *CustomersReportsService) CountChromeHardwareFleetDevices(customer string) *CustomersReportsCountChromeHardwareFleetDevicesCall
CountChromeHardwareFleetDevices: Counts of devices with a specific hardware specification from the requested hardware type (for example model name, processor type). Further information can be found here https://support.google.com/chrome/a/answer/10564947
- customer: The customer ID or "my_customer".
func (*CustomersReportsService) CountChromeVersions ¶
func (r *CustomersReportsService) CountChromeVersions(customer string) *CustomersReportsCountChromeVersionsCall
CountChromeVersions: Generate report of installed Chrome versions.
- customer: Customer id or "my_customer" to use the customer associated to the account making the request.
func (*CustomersReportsService) CountInstalledApps ¶
func (r *CustomersReportsService) CountInstalledApps(customer string) *CustomersReportsCountInstalledAppsCall
CountInstalledApps: Generate report of app installations.
- customer: Customer id or "my_customer" to use the customer associated to the account making the request.
func (*CustomersReportsService) CountPrintJobsByPrinter ¶ added in v0.111.0
func (r *CustomersReportsService) CountPrintJobsByPrinter(customer string) *CustomersReportsCountPrintJobsByPrinterCall
CountPrintJobsByPrinter: Get a summary of printing done by each printer.
- customer: Customer ID prefixed with "customers/" or "customers/my_customer" to use the customer associated to the account making the request.
func (*CustomersReportsService) CountPrintJobsByUser ¶ added in v0.111.0
func (r *CustomersReportsService) CountPrintJobsByUser(customer string) *CustomersReportsCountPrintJobsByUserCall
CountPrintJobsByUser: Get a summary of printing done by each user.
- customer: Customer ID prefixed with "customers/" or "customers/my_customer" to use the customer associated to the account making the request.
func (*CustomersReportsService) EnumeratePrintJobs ¶ added in v0.139.0
func (r *CustomersReportsService) EnumeratePrintJobs(customer string) *CustomersReportsEnumeratePrintJobsCall
EnumeratePrintJobs: Get a list of print jobs.
- customer: Customer ID prefixed with "customers/" or "customers/my_customer" to use the customer associated to the account making the request.
func (*CustomersReportsService) FindInstalledAppDevices ¶
func (r *CustomersReportsService) FindInstalledAppDevices(customer string) *CustomersReportsFindInstalledAppDevicesCall
FindInstalledAppDevices: Generate report of managed Chrome browser devices that have a specified app installed.
- customer: Customer id or "my_customer" to use the customer associated to the account making the request.
type CustomersService ¶
type CustomersService struct { Apps *CustomersAppsService Reports *CustomersReportsService Telemetry *CustomersTelemetryService // contains filtered or unexported fields }
func NewCustomersService ¶
func NewCustomersService(s *Service) *CustomersService
type CustomersTelemetryDevicesGetCall ¶ added in v0.79.0
type CustomersTelemetryDevicesGetCall struct {
// contains filtered or unexported fields
}
func (*CustomersTelemetryDevicesGetCall) Context ¶ added in v0.79.0
func (c *CustomersTelemetryDevicesGetCall) Context(ctx context.Context) *CustomersTelemetryDevicesGetCall
Context sets the context to be used in this call's Do method.
func (*CustomersTelemetryDevicesGetCall) Do ¶ added in v0.79.0
func (c *CustomersTelemetryDevicesGetCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1TelemetryDevice, error)
Do executes the "chromemanagement.customers.telemetry.devices.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleChromeManagementV1TelemetryDevice.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 (*CustomersTelemetryDevicesGetCall) Fields ¶ added in v0.79.0
func (c *CustomersTelemetryDevicesGetCall) Fields(s ...googleapi.Field) *CustomersTelemetryDevicesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*CustomersTelemetryDevicesGetCall) Header ¶ added in v0.79.0
func (c *CustomersTelemetryDevicesGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*CustomersTelemetryDevicesGetCall) IfNoneMatch ¶ added in v0.79.0
func (c *CustomersTelemetryDevicesGetCall) IfNoneMatch(entityTag string) *CustomersTelemetryDevicesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*CustomersTelemetryDevicesGetCall) ReadMask ¶ added in v0.84.0
func (c *CustomersTelemetryDevicesGetCall) ReadMask(readMask string) *CustomersTelemetryDevicesGetCall
ReadMask sets the optional parameter "readMask": Required. Read mask to specify which fields to return. Supported read_mask paths are: - name - org_unit_id - device_id - serial_number - cpu_info - cpu_status_report - memory_info - memory_status_report - network_info - network_diagnostics_report - network_status_report - os_update_status - graphics_info - graphics_status_report - battery_info - battery_status_report - storage_info - storage_status_report - thunderbolt_info - audio_status_report - boot_performance_report - heartbeat_status_report - network_bandwidth_report - peripherals_report - kiosk_app_status_report - app_report - runtime_counters_report
type CustomersTelemetryDevicesListCall ¶ added in v0.61.0
type CustomersTelemetryDevicesListCall struct {
// contains filtered or unexported fields
}
func (*CustomersTelemetryDevicesListCall) Context ¶ added in v0.61.0
func (c *CustomersTelemetryDevicesListCall) Context(ctx context.Context) *CustomersTelemetryDevicesListCall
Context sets the context to be used in this call's Do method.
func (*CustomersTelemetryDevicesListCall) Do ¶ added in v0.61.0
func (c *CustomersTelemetryDevicesListCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1ListTelemetryDevicesResponse, error)
Do executes the "chromemanagement.customers.telemetry.devices.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleChromeManagementV1ListTelemetryDevicesResponse.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 (*CustomersTelemetryDevicesListCall) Fields ¶ added in v0.61.0
func (c *CustomersTelemetryDevicesListCall) Fields(s ...googleapi.Field) *CustomersTelemetryDevicesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*CustomersTelemetryDevicesListCall) Filter ¶ added in v0.61.0
func (c *CustomersTelemetryDevicesListCall) Filter(filter string) *CustomersTelemetryDevicesListCall
Filter sets the optional parameter "filter": Only include resources that match the filter. Requests that don't specify a "reports_timestamp" value will default to returning only recent reports. Specify "reports_timestamp>=0" to get all report data. Supported filter fields: - org_unit_id - serial_number - device_id - reports_timestamp The "reports_timestamp" filter accepts either the Unix Epoch milliseconds format or the RFC3339 UTC "Zulu" format with nanosecond resolution and up to nine fractional digits. Both formats should be surrounded by simple double quotes. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z", "1679283943823".
func (*CustomersTelemetryDevicesListCall) Header ¶ added in v0.61.0
func (c *CustomersTelemetryDevicesListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*CustomersTelemetryDevicesListCall) IfNoneMatch ¶ added in v0.61.0
func (c *CustomersTelemetryDevicesListCall) IfNoneMatch(entityTag string) *CustomersTelemetryDevicesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*CustomersTelemetryDevicesListCall) PageSize ¶ added in v0.61.0
func (c *CustomersTelemetryDevicesListCall) PageSize(pageSize int64) *CustomersTelemetryDevicesListCall
PageSize sets the optional parameter "pageSize": Maximum number of results to return. Default value is 100. Maximum value is 1000.
func (*CustomersTelemetryDevicesListCall) PageToken ¶ added in v0.61.0
func (c *CustomersTelemetryDevicesListCall) PageToken(pageToken string) *CustomersTelemetryDevicesListCall
PageToken sets the optional parameter "pageToken": Token to specify next page in the list.
func (*CustomersTelemetryDevicesListCall) Pages ¶ added in v0.61.0
func (c *CustomersTelemetryDevicesListCall) Pages(ctx context.Context, f func(*GoogleChromeManagementV1ListTelemetryDevicesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (*CustomersTelemetryDevicesListCall) ReadMask ¶ added in v0.61.0
func (c *CustomersTelemetryDevicesListCall) ReadMask(readMask string) *CustomersTelemetryDevicesListCall
ReadMask sets the optional parameter "readMask": Required. Read mask to specify which fields to return. Supported read_mask paths are: - name - org_unit_id - device_id - serial_number - cpu_info - cpu_status_report - memory_info - memory_status_report - network_info - network_diagnostics_report - network_status_report - os_update_status - graphics_info - graphics_status_report - battery_info - battery_status_report - storage_info - storage_status_report - thunderbolt_info - audio_status_report - boot_performance_report - heartbeat_status_report - network_bandwidth_report - peripherals_report - kiosk_app_status_report - app_report - runtime_counters_report
type CustomersTelemetryDevicesService ¶ added in v0.61.0
type CustomersTelemetryDevicesService struct {
// contains filtered or unexported fields
}
func NewCustomersTelemetryDevicesService ¶ added in v0.61.0
func NewCustomersTelemetryDevicesService(s *Service) *CustomersTelemetryDevicesService
func (*CustomersTelemetryDevicesService) Get ¶ added in v0.79.0
func (r *CustomersTelemetryDevicesService) Get(name string) *CustomersTelemetryDevicesGetCall
Get: Get telemetry device.
- name: Name of the `TelemetryDevice` to return.
func (*CustomersTelemetryDevicesService) List ¶ added in v0.61.0
func (r *CustomersTelemetryDevicesService) List(parent string) *CustomersTelemetryDevicesListCall
List: List all telemetry devices.
- parent: Customer id or "my_customer" to use the customer associated to the account making the request.
type CustomersTelemetryEventsListCall ¶ added in v0.104.0
type CustomersTelemetryEventsListCall struct {
// contains filtered or unexported fields
}
func (*CustomersTelemetryEventsListCall) Context ¶ added in v0.104.0
func (c *CustomersTelemetryEventsListCall) Context(ctx context.Context) *CustomersTelemetryEventsListCall
Context sets the context to be used in this call's Do method.
func (*CustomersTelemetryEventsListCall) Do ¶ added in v0.104.0
func (c *CustomersTelemetryEventsListCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1ListTelemetryEventsResponse, error)
Do executes the "chromemanagement.customers.telemetry.events.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleChromeManagementV1ListTelemetryEventsResponse.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 (*CustomersTelemetryEventsListCall) Fields ¶ added in v0.104.0
func (c *CustomersTelemetryEventsListCall) Fields(s ...googleapi.Field) *CustomersTelemetryEventsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*CustomersTelemetryEventsListCall) Filter ¶ added in v0.104.0
func (c *CustomersTelemetryEventsListCall) Filter(filter string) *CustomersTelemetryEventsListCall
Filter sets the optional parameter "filter": Only include resources that match the filter. Although this parameter is currently optional, this parameter will be required- please specify at least 1 event type. Supported filter fields: - device_id - user_id - device_org_unit_id - user_org_unit_id - timestamp - event_type The "timestamp" filter accepts either the Unix Epoch milliseconds format or the RFC3339 UTC "Zulu" format with nanosecond resolution and up to nine fractional digits. Both formats should be surrounded by simple double quotes. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z", "1679283943823".
func (*CustomersTelemetryEventsListCall) Header ¶ added in v0.104.0
func (c *CustomersTelemetryEventsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*CustomersTelemetryEventsListCall) IfNoneMatch ¶ added in v0.104.0
func (c *CustomersTelemetryEventsListCall) IfNoneMatch(entityTag string) *CustomersTelemetryEventsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*CustomersTelemetryEventsListCall) PageSize ¶ added in v0.104.0
func (c *CustomersTelemetryEventsListCall) PageSize(pageSize int64) *CustomersTelemetryEventsListCall
PageSize sets the optional parameter "pageSize": Maximum number of results to return. Default value is 100. Maximum value is 1000.
func (*CustomersTelemetryEventsListCall) PageToken ¶ added in v0.104.0
func (c *CustomersTelemetryEventsListCall) PageToken(pageToken string) *CustomersTelemetryEventsListCall
PageToken sets the optional parameter "pageToken": Token to specify next page in the list.
func (*CustomersTelemetryEventsListCall) Pages ¶ added in v0.104.0
func (c *CustomersTelemetryEventsListCall) Pages(ctx context.Context, f func(*GoogleChromeManagementV1ListTelemetryEventsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (*CustomersTelemetryEventsListCall) ReadMask ¶ added in v0.104.0
func (c *CustomersTelemetryEventsListCall) ReadMask(readMask string) *CustomersTelemetryEventsListCall
ReadMask sets the optional parameter "readMask": Required. Read mask to specify which fields to return. Although currently required, this field will become optional, while the filter parameter with an event type will be come required. Supported read_mask paths are: - device - user - audio_severe_underrun_event - usb_peripherals_event - https_latency_change_event - network_state_change_event - wifi_signal_strength_event - vpn_connection_state_change_event - app_install_event - app_uninstall_event - app_launch_event - os_crash_event
type CustomersTelemetryEventsService ¶ added in v0.104.0
type CustomersTelemetryEventsService struct {
// contains filtered or unexported fields
}
func NewCustomersTelemetryEventsService ¶ added in v0.104.0
func NewCustomersTelemetryEventsService(s *Service) *CustomersTelemetryEventsService
func (*CustomersTelemetryEventsService) List ¶ added in v0.104.0
func (r *CustomersTelemetryEventsService) List(parent string) *CustomersTelemetryEventsListCall
List: List telemetry events.
- parent: Customer id or "my_customer" to use the customer associated to the account making the request.
type CustomersTelemetryNotificationConfigsCreateCall ¶ added in v0.139.0
type CustomersTelemetryNotificationConfigsCreateCall struct {
// contains filtered or unexported fields
}
func (*CustomersTelemetryNotificationConfigsCreateCall) Context ¶ added in v0.139.0
func (c *CustomersTelemetryNotificationConfigsCreateCall) Context(ctx context.Context) *CustomersTelemetryNotificationConfigsCreateCall
Context sets the context to be used in this call's Do method.
func (*CustomersTelemetryNotificationConfigsCreateCall) Do ¶ added in v0.139.0
func (c *CustomersTelemetryNotificationConfigsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1TelemetryNotificationConfig, error)
Do executes the "chromemanagement.customers.telemetry.notificationConfigs.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleChromeManagementV1TelemetryNotificationConfig.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 (*CustomersTelemetryNotificationConfigsCreateCall) Fields ¶ added in v0.139.0
func (c *CustomersTelemetryNotificationConfigsCreateCall) Fields(s ...googleapi.Field) *CustomersTelemetryNotificationConfigsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*CustomersTelemetryNotificationConfigsCreateCall) Header ¶ added in v0.139.0
func (c *CustomersTelemetryNotificationConfigsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type CustomersTelemetryNotificationConfigsDeleteCall ¶ added in v0.139.0
type CustomersTelemetryNotificationConfigsDeleteCall struct {
// contains filtered or unexported fields
}
func (*CustomersTelemetryNotificationConfigsDeleteCall) Context ¶ added in v0.139.0
func (c *CustomersTelemetryNotificationConfigsDeleteCall) Context(ctx context.Context) *CustomersTelemetryNotificationConfigsDeleteCall
Context sets the context to be used in this call's Do method.
func (*CustomersTelemetryNotificationConfigsDeleteCall) Do ¶ added in v0.139.0
func (c *CustomersTelemetryNotificationConfigsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "chromemanagement.customers.telemetry.notificationConfigs.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.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 (*CustomersTelemetryNotificationConfigsDeleteCall) Fields ¶ added in v0.139.0
func (c *CustomersTelemetryNotificationConfigsDeleteCall) Fields(s ...googleapi.Field) *CustomersTelemetryNotificationConfigsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*CustomersTelemetryNotificationConfigsDeleteCall) Header ¶ added in v0.139.0
func (c *CustomersTelemetryNotificationConfigsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type CustomersTelemetryNotificationConfigsListCall ¶ added in v0.139.0
type CustomersTelemetryNotificationConfigsListCall struct {
// contains filtered or unexported fields
}
func (*CustomersTelemetryNotificationConfigsListCall) Context ¶ added in v0.139.0
func (c *CustomersTelemetryNotificationConfigsListCall) Context(ctx context.Context) *CustomersTelemetryNotificationConfigsListCall
Context sets the context to be used in this call's Do method.
func (*CustomersTelemetryNotificationConfigsListCall) Do ¶ added in v0.139.0
func (c *CustomersTelemetryNotificationConfigsListCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse, error)
Do executes the "chromemanagement.customers.telemetry.notificationConfigs.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse.ServerRespo nse.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 (*CustomersTelemetryNotificationConfigsListCall) Fields ¶ added in v0.139.0
func (c *CustomersTelemetryNotificationConfigsListCall) Fields(s ...googleapi.Field) *CustomersTelemetryNotificationConfigsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*CustomersTelemetryNotificationConfigsListCall) Header ¶ added in v0.139.0
func (c *CustomersTelemetryNotificationConfigsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*CustomersTelemetryNotificationConfigsListCall) IfNoneMatch ¶ added in v0.139.0
func (c *CustomersTelemetryNotificationConfigsListCall) IfNoneMatch(entityTag string) *CustomersTelemetryNotificationConfigsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*CustomersTelemetryNotificationConfigsListCall) PageSize ¶ added in v0.139.0
func (c *CustomersTelemetryNotificationConfigsListCall) PageSize(pageSize int64) *CustomersTelemetryNotificationConfigsListCall
PageSize sets the optional parameter "pageSize": The maximum number of notification configs to return. The service may return fewer than this value. If unspecified, at most 100 notification configs will be returned. The maximum value is 100; values above 100 will be coerced to 100.
func (*CustomersTelemetryNotificationConfigsListCall) PageToken ¶ added in v0.139.0
func (c *CustomersTelemetryNotificationConfigsListCall) PageToken(pageToken string) *CustomersTelemetryNotificationConfigsListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListTelemetryNotificationConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTelemetryNotificationConfigs` must match the call that provided the page token.
func (*CustomersTelemetryNotificationConfigsListCall) Pages ¶ added in v0.139.0
func (c *CustomersTelemetryNotificationConfigsListCall) Pages(ctx context.Context, f func(*GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type CustomersTelemetryNotificationConfigsService ¶ added in v0.139.0
type CustomersTelemetryNotificationConfigsService struct {
// contains filtered or unexported fields
}
func NewCustomersTelemetryNotificationConfigsService ¶ added in v0.139.0
func NewCustomersTelemetryNotificationConfigsService(s *Service) *CustomersTelemetryNotificationConfigsService
func (*CustomersTelemetryNotificationConfigsService) Create ¶ added in v0.139.0
func (r *CustomersTelemetryNotificationConfigsService) Create(parent string, googlechromemanagementv1telemetrynotificationconfig *GoogleChromeManagementV1TelemetryNotificationConfig) *CustomersTelemetryNotificationConfigsCreateCall
Create: Create a telemetry notification config.
- parent: The parent resource where this notification config will be created. Format: `customers/{customer}`.
func (*CustomersTelemetryNotificationConfigsService) Delete ¶ added in v0.139.0
func (r *CustomersTelemetryNotificationConfigsService) Delete(name string) *CustomersTelemetryNotificationConfigsDeleteCall
Delete: Delete a telemetry notification config.
- name: The name of the notification config to delete. Format: `customers/{customer}/telemetry/notificationConfigs/{notification_config}`.
func (*CustomersTelemetryNotificationConfigsService) List ¶ added in v0.139.0
func (r *CustomersTelemetryNotificationConfigsService) List(parent string) *CustomersTelemetryNotificationConfigsListCall
List: List all telemetry notification configs.
- parent: The parent which owns the notification configs.
type CustomersTelemetryService ¶ added in v0.61.0
type CustomersTelemetryService struct { Devices *CustomersTelemetryDevicesService Events *CustomersTelemetryEventsService NotificationConfigs *CustomersTelemetryNotificationConfigsService Users *CustomersTelemetryUsersService // contains filtered or unexported fields }
func NewCustomersTelemetryService ¶ added in v0.61.0
func NewCustomersTelemetryService(s *Service) *CustomersTelemetryService
type CustomersTelemetryUsersGetCall ¶ added in v0.109.0
type CustomersTelemetryUsersGetCall struct {
// contains filtered or unexported fields
}
func (*CustomersTelemetryUsersGetCall) Context ¶ added in v0.109.0
func (c *CustomersTelemetryUsersGetCall) Context(ctx context.Context) *CustomersTelemetryUsersGetCall
Context sets the context to be used in this call's Do method.
func (*CustomersTelemetryUsersGetCall) Do ¶ added in v0.109.0
func (c *CustomersTelemetryUsersGetCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1TelemetryUser, error)
Do executes the "chromemanagement.customers.telemetry.users.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleChromeManagementV1TelemetryUser.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 (*CustomersTelemetryUsersGetCall) Fields ¶ added in v0.109.0
func (c *CustomersTelemetryUsersGetCall) Fields(s ...googleapi.Field) *CustomersTelemetryUsersGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*CustomersTelemetryUsersGetCall) Header ¶ added in v0.109.0
func (c *CustomersTelemetryUsersGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*CustomersTelemetryUsersGetCall) IfNoneMatch ¶ added in v0.109.0
func (c *CustomersTelemetryUsersGetCall) IfNoneMatch(entityTag string) *CustomersTelemetryUsersGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*CustomersTelemetryUsersGetCall) ReadMask ¶ added in v0.109.0
func (c *CustomersTelemetryUsersGetCall) ReadMask(readMask string) *CustomersTelemetryUsersGetCall
ReadMask sets the optional parameter "readMask": Read mask to specify which fields to return. Supported read_mask paths are: - name - org_unit_id - user_id - user_email - user_device.device_id - user_device.audio_status_report - user_device.device_activity_report - user_device.network_bandwidth_report - user_device.peripherals_report - user_device.app_report
type CustomersTelemetryUsersListCall ¶ added in v0.109.0
type CustomersTelemetryUsersListCall struct {
// contains filtered or unexported fields
}
func (*CustomersTelemetryUsersListCall) Context ¶ added in v0.109.0
func (c *CustomersTelemetryUsersListCall) Context(ctx context.Context) *CustomersTelemetryUsersListCall
Context sets the context to be used in this call's Do method.
func (*CustomersTelemetryUsersListCall) Do ¶ added in v0.109.0
func (c *CustomersTelemetryUsersListCall) Do(opts ...googleapi.CallOption) (*GoogleChromeManagementV1ListTelemetryUsersResponse, error)
Do executes the "chromemanagement.customers.telemetry.users.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleChromeManagementV1ListTelemetryUsersResponse.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 (*CustomersTelemetryUsersListCall) Fields ¶ added in v0.109.0
func (c *CustomersTelemetryUsersListCall) Fields(s ...googleapi.Field) *CustomersTelemetryUsersListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*CustomersTelemetryUsersListCall) Filter ¶ added in v0.109.0
func (c *CustomersTelemetryUsersListCall) Filter(filter string) *CustomersTelemetryUsersListCall
Filter sets the optional parameter "filter": Only include resources that match the filter. Supported filter fields: - user_id - user_org_unit_id
func (*CustomersTelemetryUsersListCall) Header ¶ added in v0.109.0
func (c *CustomersTelemetryUsersListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*CustomersTelemetryUsersListCall) IfNoneMatch ¶ added in v0.109.0
func (c *CustomersTelemetryUsersListCall) IfNoneMatch(entityTag string) *CustomersTelemetryUsersListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*CustomersTelemetryUsersListCall) PageSize ¶ added in v0.109.0
func (c *CustomersTelemetryUsersListCall) PageSize(pageSize int64) *CustomersTelemetryUsersListCall
PageSize sets the optional parameter "pageSize": Maximum number of results to return. Default value is 100. Maximum value is 1000.
func (*CustomersTelemetryUsersListCall) PageToken ¶ added in v0.109.0
func (c *CustomersTelemetryUsersListCall) PageToken(pageToken string) *CustomersTelemetryUsersListCall
PageToken sets the optional parameter "pageToken": Token to specify next page in the list.
func (*CustomersTelemetryUsersListCall) Pages ¶ added in v0.109.0
func (c *CustomersTelemetryUsersListCall) Pages(ctx context.Context, f func(*GoogleChromeManagementV1ListTelemetryUsersResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (*CustomersTelemetryUsersListCall) ReadMask ¶ added in v0.109.0
func (c *CustomersTelemetryUsersListCall) ReadMask(readMask string) *CustomersTelemetryUsersListCall
ReadMask sets the optional parameter "readMask": Read mask to specify which fields to return. Supported read_mask paths are: - name - org_unit_id - user_id - user_email - user_device.device_id - user_device.audio_status_report - user_device.device_activity_report - user_device.network_bandwidth_report - user_device.peripherals_report - user_device.app_report
type CustomersTelemetryUsersService ¶ added in v0.109.0
type CustomersTelemetryUsersService struct {
// contains filtered or unexported fields
}
func NewCustomersTelemetryUsersService ¶ added in v0.109.0
func NewCustomersTelemetryUsersService(s *Service) *CustomersTelemetryUsersService
func (*CustomersTelemetryUsersService) Get ¶ added in v0.109.0
func (r *CustomersTelemetryUsersService) Get(name string) *CustomersTelemetryUsersGetCall
Get: Get telemetry user.
- name: Name of the `TelemetryUser` to return.
func (*CustomersTelemetryUsersService) List ¶ added in v0.109.0
func (r *CustomersTelemetryUsersService) List(parent string) *CustomersTelemetryUsersListCall
List: List all telemetry users.
- parent: Customer id or "my_customer" to use the customer associated to the account making the request.
type GoogleChromeManagementV1AndroidAppInfo ¶ added in v0.53.0
type GoogleChromeManagementV1AndroidAppInfo struct { // Permissions: Output only. Permissions requested by an Android app. Permissions []*GoogleChromeManagementV1AndroidAppPermission `json:"permissions,omitempty"` // ForceSendFields is a list of field names (e.g. "Permissions") 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. "Permissions") 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:"-"` }
GoogleChromeManagementV1AndroidAppInfo: Android app information.
func (GoogleChromeManagementV1AndroidAppInfo) MarshalJSON ¶ added in v0.53.0
func (s GoogleChromeManagementV1AndroidAppInfo) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1AndroidAppPermission ¶ added in v0.53.0
type GoogleChromeManagementV1AndroidAppPermission struct { // Type: Output only. The type of the permission. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Type") 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. "Type") 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:"-"` }
GoogleChromeManagementV1AndroidAppPermission: Permission requested by an Android app.
func (GoogleChromeManagementV1AndroidAppPermission) MarshalJSON ¶ added in v0.53.0
func (s GoogleChromeManagementV1AndroidAppPermission) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1AppDetails ¶ added in v0.53.0
type GoogleChromeManagementV1AppDetails struct { // AndroidAppInfo: Output only. Android app information. AndroidAppInfo *GoogleChromeManagementV1AndroidAppInfo `json:"androidAppInfo,omitempty"` // AppId: Output only. Unique store identifier for the item. Examples: // "gmbmikajjgmnabiglmofipeabaddhgne" for the Save to Google Drive Chrome // extension, "com.google.android.apps.docs" for the Google Drive Android app. AppId string `json:"appId,omitempty"` // ChromeAppInfo: Output only. Chrome Web Store app information. ChromeAppInfo *GoogleChromeManagementV1ChromeAppInfo `json:"chromeAppInfo,omitempty"` // Description: Output only. App's description. Description string `json:"description,omitempty"` // DetailUri: Output only. The uri for the detail page of the item. DetailUri string `json:"detailUri,omitempty"` // DisplayName: Output only. App's display name. DisplayName string `json:"displayName,omitempty"` // FirstPublishTime: Output only. First published time. FirstPublishTime string `json:"firstPublishTime,omitempty"` // HomepageUri: Output only. Home page or Website uri. HomepageUri string `json:"homepageUri,omitempty"` // IconUri: Output only. A link to an image that can be used as an icon for the // product. IconUri string `json:"iconUri,omitempty"` // IsPaidApp: Output only. Indicates if the app has to be paid for OR has paid // content. IsPaidApp bool `json:"isPaidApp,omitempty"` // LatestPublishTime: Output only. Latest published time. LatestPublishTime string `json:"latestPublishTime,omitempty"` // Name: Output only. Format: // name=customers/{customer_id}/apps/{chrome|android|web}/{app_id}@{version} Name string `json:"name,omitempty"` // PrivacyPolicyUri: Output only. The URI pointing to the privacy policy of the // app, if it was provided by the developer. Version-specific field that will // only be set when the requested app version is found. PrivacyPolicyUri string `json:"privacyPolicyUri,omitempty"` // Publisher: Output only. The publisher of the item. Publisher string `json:"publisher,omitempty"` // ReviewNumber: Output only. Number of reviews received. Chrome Web Store // review information will always be for the latest version of an app. ReviewNumber int64 `json:"reviewNumber,omitempty,string"` // ReviewRating: Output only. The rating of the app (on 5 stars). Chrome Web // Store review information will always be for the latest version of an app. ReviewRating float64 `json:"reviewRating,omitempty"` // RevisionId: Output only. App version. A new revision is committed whenever a // new version of the app is published. RevisionId string `json:"revisionId,omitempty"` // ServiceError: Output only. Information about a partial service error if // applicable. ServiceError *GoogleRpcStatus `json:"serviceError,omitempty"` // Type: Output only. App type. // // Possible values: // "APP_ITEM_TYPE_UNSPECIFIED" - App type unspecified. // "CHROME" - Chrome app. // "ANDROID" - ARC++ app. // "WEB" - Web app. Type string `json:"type,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AndroidAppInfo") 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. "AndroidAppInfo") 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:"-"` }
GoogleChromeManagementV1AppDetails: Resource representing app details.
func (GoogleChromeManagementV1AppDetails) MarshalJSON ¶ added in v0.53.0
func (s GoogleChromeManagementV1AppDetails) MarshalJSON() ([]byte, error)
func (*GoogleChromeManagementV1AppDetails) UnmarshalJSON ¶ added in v0.53.0
func (s *GoogleChromeManagementV1AppDetails) UnmarshalJSON(data []byte) error
type GoogleChromeManagementV1AppReport ¶ added in v0.183.0
type GoogleChromeManagementV1AppReport struct { // ReportTime: Timestamp when the report was collected. ReportTime string `json:"reportTime,omitempty"` // UsageData: App usage data. UsageData []*GoogleChromeManagementV1AppUsageData `json:"usageData,omitempty"` // ForceSendFields is a list of field names (e.g. "ReportTime") 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. "ReportTime") 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:"-"` }
GoogleChromeManagementV1AppReport: App report.
func (GoogleChromeManagementV1AppReport) MarshalJSON ¶ added in v0.183.0
func (s GoogleChromeManagementV1AppReport) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1AppUsageData ¶ added in v0.183.0
type GoogleChromeManagementV1AppUsageData struct { // AppId: App id. AppId string `json:"appId,omitempty"` // AppInstanceId: Application instance id. This will be unique per // window/instance. AppInstanceId string `json:"appInstanceId,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"` // RunningDuration: App foreground running time. RunningDuration string `json:"runningDuration,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:"-"` }
GoogleChromeManagementV1AppUsageData: App usage data.
func (GoogleChromeManagementV1AppUsageData) MarshalJSON ¶ added in v0.183.0
func (s GoogleChromeManagementV1AppUsageData) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1AudioStatusReport ¶ added in v0.75.0
type GoogleChromeManagementV1AudioStatusReport struct { // InputDevice: Output only. Active input device's name. InputDevice string `json:"inputDevice,omitempty"` // InputGain: Output only. Active input device's gain in [0, 100]. InputGain int64 `json:"inputGain,omitempty"` // InputMute: Output only. Is active input device mute or not. InputMute bool `json:"inputMute,omitempty"` // OutputDevice: Output only. Active output device's name. OutputDevice string `json:"outputDevice,omitempty"` // OutputMute: Output only. Is active output device mute or not. OutputMute bool `json:"outputMute,omitempty"` // OutputVolume: Output only. Active output device's volume in [0, 100]. OutputVolume int64 `json:"outputVolume,omitempty"` // ReportTime: Output only. Timestamp of when the sample was collected on // device. ReportTime string `json:"reportTime,omitempty"` // ForceSendFields is a list of field names (e.g. "InputDevice") 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. "InputDevice") 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:"-"` }
GoogleChromeManagementV1AudioStatusReport: Status data for storage. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: ReportDeviceAudioStatus (https://chromeenterprise.google/policies/#ReportDeviceAudioStatus) * Data Collection Frequency: 10 minutes * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A * Granular permission needed: TELEMETRY_API_AUDIO_REPORT
func (GoogleChromeManagementV1AudioStatusReport) MarshalJSON ¶ added in v0.75.0
func (s GoogleChromeManagementV1AudioStatusReport) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1BatteryInfo ¶ added in v0.61.0
type GoogleChromeManagementV1BatteryInfo struct { // DesignCapacity: Output only. Design capacity (mAmpere-hours). DesignCapacity int64 `json:"designCapacity,omitempty,string"` // DesignMinVoltage: Output only. Designed minimum output voltage (mV) DesignMinVoltage int64 `json:"designMinVoltage,omitempty"` // ManufactureDate: Output only. The date the battery was manufactured. ManufactureDate *GoogleTypeDate `json:"manufactureDate,omitempty"` // Manufacturer: Output only. Battery manufacturer. Manufacturer string `json:"manufacturer,omitempty"` // SerialNumber: Output only. Battery serial number. SerialNumber string `json:"serialNumber,omitempty"` // Technology: Output only. Technology of the battery. Example: Li-ion Technology string `json:"technology,omitempty"` // ForceSendFields is a list of field names (e.g. "DesignCapacity") 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. "DesignCapacity") 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:"-"` }
GoogleChromeManagementV1BatteryInfo: Information about the battery. * This field provides device information, which is static and will not change over time. * Data for this field is controlled via policy: ReportDevicePowerStatus (https://chromeenterprise.google/policies/#ReportDevicePowerStatus) * Data Collection Frequency: Only at Upload * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A * Granular permission needed: TELEMETRY_API_BATTERY_INFO
func (GoogleChromeManagementV1BatteryInfo) MarshalJSON ¶ added in v0.61.0
func (s GoogleChromeManagementV1BatteryInfo) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1BatterySampleReport ¶ added in v0.61.0
type GoogleChromeManagementV1BatterySampleReport struct { // ChargeRate: Output only. Battery charge percentage. ChargeRate int64 `json:"chargeRate,omitempty"` // Current: Output only. Battery current (mA). Current int64 `json:"current,omitempty,string"` // DischargeRate: Output only. The battery discharge rate measured in mW. // Positive if the battery is being discharged, negative if it's being charged. DischargeRate int64 `json:"dischargeRate,omitempty"` // RemainingCapacity: Output only. Battery remaining capacity (mAmpere-hours). RemainingCapacity int64 `json:"remainingCapacity,omitempty,string"` // ReportTime: Output only. Timestamp of when the sample was collected on // device ReportTime string `json:"reportTime,omitempty"` // Status: Output only. Battery status read from sysfs. Example: Discharging Status string `json:"status,omitempty"` // Temperature: Output only. Temperature in Celsius degrees. Temperature int64 `json:"temperature,omitempty"` // Voltage: Output only. Battery voltage (millivolt). Voltage int64 `json:"voltage,omitempty,string"` // ForceSendFields is a list of field names (e.g. "ChargeRate") 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. "ChargeRate") 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:"-"` }
GoogleChromeManagementV1BatterySampleReport: Sampling data for battery. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: ReportDevicePowerStatus (https://chromeenterprise.google/policies/#ReportDevicePowerStatus) * Data Collection Frequency: Only at Upload * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A
func (GoogleChromeManagementV1BatterySampleReport) MarshalJSON ¶ added in v0.61.0
func (s GoogleChromeManagementV1BatterySampleReport) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1BatteryStatusReport ¶ added in v0.61.0
type GoogleChromeManagementV1BatteryStatusReport struct { // BatteryHealth: Output only. Battery health. // // Possible values: // "BATTERY_HEALTH_UNSPECIFIED" - Health unknown. // "BATTERY_HEALTH_NORMAL" - Battery is healthy, full charge capacity / // design capacity > 80% // "BATTERY_REPLACE_SOON" - Battery is moderately unhealthy and suggested to // be replaced soon, full charge capacity / design capacity 75% - 80% // "BATTERY_REPLACE_NOW" - Battery is unhealthy and suggested to be replaced, // full charge capacity / design capacity < 75% BatteryHealth string `json:"batteryHealth,omitempty"` // CycleCount: Output only. Cycle count. CycleCount int64 `json:"cycleCount,omitempty"` // FullChargeCapacity: Output only. Full charge capacity (mAmpere-hours). FullChargeCapacity int64 `json:"fullChargeCapacity,omitempty,string"` // ReportTime: Output only. Timestamp of when the sample was collected on // device ReportTime string `json:"reportTime,omitempty"` // Sample: Output only. Sampling data for the battery sorted in a decreasing // order of report_time. Sample []*GoogleChromeManagementV1BatterySampleReport `json:"sample,omitempty"` // SerialNumber: Output only. Battery serial number. SerialNumber string `json:"serialNumber,omitempty"` // ForceSendFields is a list of field names (e.g. "BatteryHealth") 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. "BatteryHealth") 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:"-"` }
GoogleChromeManagementV1BatteryStatusReport: Status data for battery. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: ReportDevicePowerStatus (https://chromeenterprise.google/policies/#ReportDevicePowerStatus) * Data Collection Frequency: Only at Upload * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A * Granular permission needed: TELEMETRY_API_BATTERY_REPORT
func (GoogleChromeManagementV1BatteryStatusReport) MarshalJSON ¶ added in v0.61.0
func (s GoogleChromeManagementV1BatteryStatusReport) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1BootPerformanceReport ¶ added in v0.100.0
type GoogleChromeManagementV1BootPerformanceReport struct { // BootUpDuration: Total time to boot up. BootUpDuration string `json:"bootUpDuration,omitempty"` // BootUpTime: The timestamp when power came on. BootUpTime string `json:"bootUpTime,omitempty"` // ReportTime: Timestamp when the report was collected. ReportTime string `json:"reportTime,omitempty"` // ShutdownDuration: Total time since shutdown start to power off. ShutdownDuration string `json:"shutdownDuration,omitempty"` // ShutdownReason: The shutdown reason. // // Possible values: // "SHUTDOWN_REASON_UNSPECIFIED" - Shutdown reason is not specified. // "USER_REQUEST" - User initiated. // "SYSTEM_UPDATE" - System update initiated. // "LOW_BATTERY" - Shutdown due to low battery. // "OTHER" - Shutdown due to other reasons. ShutdownReason string `json:"shutdownReason,omitempty"` // ShutdownTime: The timestamp when shutdown. ShutdownTime string `json:"shutdownTime,omitempty"` // ForceSendFields is a list of field names (e.g. "BootUpDuration") 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. "BootUpDuration") 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:"-"` }
GoogleChromeManagementV1BootPerformanceReport: Boot performance report of a device. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: ReportDeviceBootMode (https://chromeenterprise.google/policies/#ReportDeviceBootMode) * Data Collection Frequency: On every boot up event * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: Yes * Reported for affiliated users only: N/A * Granular permission needed: TELEMETRY_API_OS_REPORT
func (GoogleChromeManagementV1BootPerformanceReport) MarshalJSON ¶ added in v0.100.0
func (s GoogleChromeManagementV1BootPerformanceReport) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1BrowserVersion ¶
type GoogleChromeManagementV1BrowserVersion struct { // Channel: Output only. The release channel of the installed browser. // // Possible values: // "RELEASE_CHANNEL_UNSPECIFIED" - No release channel specified. // "CANARY" - Canary release channel. // "DEV" - Dev release channel. // "BETA" - Beta release channel. // "STABLE" - Stable release channel. Channel string `json:"channel,omitempty"` // Count: Output only. Count grouped by device_system and major version Count int64 `json:"count,omitempty,string"` // DeviceOsVersion: Output only. Version of the system-specified operating // system. DeviceOsVersion string `json:"deviceOsVersion,omitempty"` // System: Output only. The device operating system. // // Possible values: // "DEVICE_SYSTEM_UNSPECIFIED" - No operating system specified. // "SYSTEM_OTHER" - Other operating system. // "SYSTEM_ANDROID" - Android operating system. // "SYSTEM_IOS" - Apple iOS operating system. // "SYSTEM_CROS" - ChromeOS operating system. // "SYSTEM_WINDOWS" - Microsoft Windows operating system. // "SYSTEM_MAC" - Apple macOS operating system. // "SYSTEM_LINUX" - Linux operating system. System string `json:"system,omitempty"` // Version: Output only. The full version of the installed browser. Version string `json:"version,omitempty"` // ForceSendFields is a list of field names (e.g. "Channel") 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. "Channel") 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:"-"` }
GoogleChromeManagementV1BrowserVersion: Describes a browser version and its install count.
func (GoogleChromeManagementV1BrowserVersion) MarshalJSON ¶
func (s GoogleChromeManagementV1BrowserVersion) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1ChromeAppInfo ¶ added in v0.53.0
type GoogleChromeManagementV1ChromeAppInfo struct { // GoogleOwned: Output only. Whether the app or extension is built and // maintained by Google. Version-specific field that will only be set when the // requested app version is found. GoogleOwned bool `json:"googleOwned,omitempty"` // IsCwsHosted: Output only. Whether the app or extension is in a published // state in the Chrome Web Store. IsCwsHosted bool `json:"isCwsHosted,omitempty"` // IsExtensionPolicySupported: Output only. Whether an app supports policy for // extensions. IsExtensionPolicySupported bool `json:"isExtensionPolicySupported,omitempty"` // IsKioskOnly: Output only. Whether the app is only for Kiosk mode on ChromeOS // devices IsKioskOnly bool `json:"isKioskOnly,omitempty"` // IsTheme: Output only. Whether the app or extension is a theme. IsTheme bool `json:"isTheme,omitempty"` // KioskEnabled: Output only. Whether this app is enabled for Kiosk mode on // ChromeOS devices KioskEnabled bool `json:"kioskEnabled,omitempty"` // MinUserCount: Output only. The minimum number of users using this app. MinUserCount int64 `json:"minUserCount,omitempty"` // Permissions: Output only. Every custom permission requested by the app. // Version-specific field that will only be set when the requested app version // is found. Permissions []*GoogleChromeManagementV1ChromeAppPermission `json:"permissions,omitempty"` // SiteAccess: Output only. Every permission giving access to domains or broad // host patterns. ( e.g. www.google.com). This includes the matches from // content scripts as well as hosts in the permissions node of the manifest. // Version-specific field that will only be set when the requested app version // is found. SiteAccess []*GoogleChromeManagementV1ChromeAppSiteAccess `json:"siteAccess,omitempty"` // SupportEnabled: Output only. The app developer has enabled support for their // app. Version-specific field that will only be set when the requested app // version is found. SupportEnabled bool `json:"supportEnabled,omitempty"` // Type: Output only. Types of an item in the Chrome Web Store // // Possible values: // "ITEM_TYPE_UNSPECIFIED" - Unspecified ItemType. // "EXTENSION" - Chrome Extensions. // "OTHERS" - Any other type than extension. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "GoogleOwned") 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. "GoogleOwned") 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:"-"` }
GoogleChromeManagementV1ChromeAppInfo: Chrome Web Store app information.
func (GoogleChromeManagementV1ChromeAppInfo) MarshalJSON ¶ added in v0.53.0
func (s GoogleChromeManagementV1ChromeAppInfo) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1ChromeAppPermission ¶ added in v0.53.0
type GoogleChromeManagementV1ChromeAppPermission struct { // AccessUserData: Output only. If available, whether this permissions grants // the app/extension access to user data. AccessUserData bool `json:"accessUserData,omitempty"` // DocumentationUri: Output only. If available, a URI to a page that has // documentation for the current permission. DocumentationUri string `json:"documentationUri,omitempty"` // Type: Output only. The type of the permission. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "AccessUserData") 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. "AccessUserData") 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:"-"` }
GoogleChromeManagementV1ChromeAppPermission: Permission requested by a Chrome app or extension.
func (GoogleChromeManagementV1ChromeAppPermission) MarshalJSON ¶ added in v0.53.0
func (s GoogleChromeManagementV1ChromeAppPermission) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1ChromeAppRequest ¶ added in v0.60.0
type GoogleChromeManagementV1ChromeAppRequest struct { // AppDetails: Output only. Format: // app_details=customers/{customer_id}/apps/chrome/{app_id} AppDetails string `json:"appDetails,omitempty"` // AppId: Output only. Unique store identifier for the app. Example: // "gmbmikajjgmnabiglmofipeabaddhgne" for the Save to Google Drive Chrome // extension. AppId string `json:"appId,omitempty"` // DetailUri: Output only. The uri for the detail page of the item. DetailUri string `json:"detailUri,omitempty"` // DisplayName: Output only. App's display name. DisplayName string `json:"displayName,omitempty"` // IconUri: Output only. A link to an image that can be used as an icon for the // product. IconUri string `json:"iconUri,omitempty"` // LatestRequestTime: Output only. The timestamp of the most recently made // request for this app. LatestRequestTime string `json:"latestRequestTime,omitempty"` // RequestCount: Output only. Total count of requests for this app. RequestCount int64 `json:"requestCount,omitempty,string"` // ForceSendFields is a list of field names (e.g. "AppDetails") 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. "AppDetails") 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:"-"` }
GoogleChromeManagementV1ChromeAppRequest: Details of an app installation request.
func (GoogleChromeManagementV1ChromeAppRequest) MarshalJSON ¶ added in v0.60.0
func (s GoogleChromeManagementV1ChromeAppRequest) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1ChromeAppSiteAccess ¶ added in v0.53.0
type GoogleChromeManagementV1ChromeAppSiteAccess struct { // HostMatch: Output only. This can contain very specific hosts, or patterns // like "*.com" for instance. HostMatch string `json:"hostMatch,omitempty"` // ForceSendFields is a list of field names (e.g. "HostMatch") 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. "HostMatch") 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:"-"` }
GoogleChromeManagementV1ChromeAppSiteAccess: Represent one host permission.
func (GoogleChromeManagementV1ChromeAppSiteAccess) MarshalJSON ¶ added in v0.53.0
func (s GoogleChromeManagementV1ChromeAppSiteAccess) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1CountChromeAppRequestsResponse ¶ added in v0.60.0
type GoogleChromeManagementV1CountChromeAppRequestsResponse struct { // NextPageToken: Token to specify the next page in the list. NextPageToken string `json:"nextPageToken,omitempty"` // RequestedApps: Count of requested apps matching request. RequestedApps []*GoogleChromeManagementV1ChromeAppRequest `json:"requestedApps,omitempty"` // TotalSize: Total number of matching app requests. TotalSize int64 `json:"totalSize,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") 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. "NextPageToken") 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:"-"` }
GoogleChromeManagementV1CountChromeAppRequestsResponse: Response containing summary of requested app installations.
func (GoogleChromeManagementV1CountChromeAppRequestsResponse) MarshalJSON ¶ added in v0.60.0
func (s GoogleChromeManagementV1CountChromeAppRequestsResponse) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse ¶ added in v0.110.0
type GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse struct { // NoRecentActivityCount: Number of browsers that haven’t had any recent // activity NoRecentActivityCount int64 `json:"noRecentActivityCount,omitempty,string"` // PendingBrowserUpdateCount: Number of browsers that are pending an OS update PendingBrowserUpdateCount int64 `json:"pendingBrowserUpdateCount,omitempty,string"` // RecentlyEnrolledCount: Number of browsers that have been recently enrolled RecentlyEnrolledCount int64 `json:"recentlyEnrolledCount,omitempty,string"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NoRecentActivityCount") 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. "NoRecentActivityCount") 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:"-"` }
GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse: Response containing counts for browsers that need attention.
func (GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse) MarshalJSON ¶ added in v0.110.0
func (s GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1CountChromeCrashEventsResponse ¶ added in v0.171.0
type GoogleChromeManagementV1CountChromeCrashEventsResponse struct { // CrashEventCounts: Crash event counts grouped by date and browser version. CrashEventCounts []*GoogleChromeManagementV1CountChromeCrashEventsResponseCrashEventCount `json:"crashEventCounts,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CrashEventCounts") 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. "CrashEventCounts") 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:"-"` }
GoogleChromeManagementV1CountChromeCrashEventsResponse: Response contains a list of CrashEventCountByVersionPerDay which count the chrome crash at the certain date.
func (GoogleChromeManagementV1CountChromeCrashEventsResponse) MarshalJSON ¶ added in v0.171.0
func (s GoogleChromeManagementV1CountChromeCrashEventsResponse) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1CountChromeCrashEventsResponseCrashEventCount ¶ added in v0.171.0
type GoogleChromeManagementV1CountChromeCrashEventsResponseCrashEventCount struct { // BrowserVersion: Browser version this is counting. BrowserVersion string `json:"browserVersion,omitempty"` // Count: Total count of crash events. Count int64 `json:"count,omitempty,string"` // Date: Date of the crash event. Date *GoogleTypeDate `json:"date,omitempty"` // ForceSendFields is a list of field names (e.g. "BrowserVersion") 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. "BrowserVersion") 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:"-"` }
GoogleChromeManagementV1CountChromeCrashEventsResponseCrashEventCount: The `count` of the Chrome crash events at the `date`.
func (GoogleChromeManagementV1CountChromeCrashEventsResponseCrashEventCount) MarshalJSON ¶ added in v0.171.0
func (s GoogleChromeManagementV1CountChromeCrashEventsResponseCrashEventCount) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse ¶ added in v0.88.0
type GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse struct { // DeviceAueCountReports: The list of reports sorted by auto update expiration // date in ascending order. DeviceAueCountReports []*GoogleChromeManagementV1DeviceAueCountReport `json:"deviceAueCountReports,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "DeviceAueCountReports") 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. "DeviceAueCountReports") 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:"-"` }
GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse:
Response containing a list of devices expiring in each month of a selected
time frame. Counts are grouped by model and Auto Update Expiration date.
func (GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse) MarshalJSON ¶ added in v0.88.0
func (s GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse ¶ added in v0.88.0
type GoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse struct { // NoRecentPolicySyncCount: Number of ChromeOS devices have not synced policies // in the past 28 days. NoRecentPolicySyncCount int64 `json:"noRecentPolicySyncCount,omitempty,string"` // NoRecentUserActivityCount: Number of ChromeOS devices that have not seen any // user activity in the past 28 days. NoRecentUserActivityCount int64 `json:"noRecentUserActivityCount,omitempty,string"` // OsVersionNotCompliantCount: Number of devices whose OS version is not // compliant. OsVersionNotCompliantCount int64 `json:"osVersionNotCompliantCount,omitempty,string"` // PendingUpdate: Number of devices that are pending an OS update. PendingUpdate int64 `json:"pendingUpdate,omitempty,string"` // UnsupportedPolicyCount: Number of devices that are unable to apply a policy // due to an OS version mismatch. UnsupportedPolicyCount int64 `json:"unsupportedPolicyCount,omitempty,string"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NoRecentPolicySyncCount") 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. "NoRecentPolicySyncCount") 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:"-"` }
GoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse: Response containing counts for devices that need attention.
func (GoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse) MarshalJSON ¶ added in v0.88.0
func (s GoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse ¶ added in v0.97.0
type GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse struct { // CpuReports: The DeviceHardwareCountReport for device cpu type (for example // Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz). CpuReports []*GoogleChromeManagementV1DeviceHardwareCountReport `json:"cpuReports,omitempty"` // MemoryReports: The DeviceHardwareCountReport for device memory amount in // gigabytes (for example 16). MemoryReports []*GoogleChromeManagementV1DeviceHardwareCountReport `json:"memoryReports,omitempty"` // ModelReports: The DeviceHardwareCountReport for device model type (for // example Acer C7 Chromebook). ModelReports []*GoogleChromeManagementV1DeviceHardwareCountReport `json:"modelReports,omitempty"` // StorageReports: The DeviceHardwareCountReport for device storage amount in // gigabytes (for example 128). StorageReports []*GoogleChromeManagementV1DeviceHardwareCountReport `json:"storageReports,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CpuReports") 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. "CpuReports") 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:"-"` }
GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse: Response containing a list of devices with a specific type of hardware specification from the requested hardware type.
func (GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse) MarshalJSON ¶ added in v0.97.0
func (s GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1CountChromeVersionsResponse ¶
type GoogleChromeManagementV1CountChromeVersionsResponse struct { // BrowserVersions: List of all browser versions and their install counts. BrowserVersions []*GoogleChromeManagementV1BrowserVersion `json:"browserVersions,omitempty"` // NextPageToken: Token to specify the next page of the request. NextPageToken string `json:"nextPageToken,omitempty"` // TotalSize: Total number browser versions matching request. TotalSize int64 `json:"totalSize,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "BrowserVersions") 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. "BrowserVersions") 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:"-"` }
GoogleChromeManagementV1CountChromeVersionsResponse: Response containing requested browser versions details and counts.
func (GoogleChromeManagementV1CountChromeVersionsResponse) MarshalJSON ¶
func (s GoogleChromeManagementV1CountChromeVersionsResponse) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1CountInstalledAppsResponse ¶
type GoogleChromeManagementV1CountInstalledAppsResponse struct { // InstalledApps: List of installed apps matching request. InstalledApps []*GoogleChromeManagementV1InstalledApp `json:"installedApps,omitempty"` // NextPageToken: Token to specify the next page of the request. NextPageToken string `json:"nextPageToken,omitempty"` // TotalSize: Total number of installed apps matching request. TotalSize int64 `json:"totalSize,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "InstalledApps") 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. "InstalledApps") 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:"-"` }
GoogleChromeManagementV1CountInstalledAppsResponse: Response containing details of queried installed apps.
func (GoogleChromeManagementV1CountInstalledAppsResponse) MarshalJSON ¶
func (s GoogleChromeManagementV1CountInstalledAppsResponse) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1CountPrintJobsByPrinterResponse ¶ added in v0.111.0
type GoogleChromeManagementV1CountPrintJobsByPrinterResponse struct { // NextPageToken: Pagination token for requesting the next page. NextPageToken string `json:"nextPageToken,omitempty"` // PrinterReports: List of PrinterReports matching request. PrinterReports []*GoogleChromeManagementV1PrinterReport `json:"printerReports,omitempty"` // TotalSize: Total number of printers matching request. TotalSize int64 `json:"totalSize,omitempty,string"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") 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. "NextPageToken") 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:"-"` }
GoogleChromeManagementV1CountPrintJobsByPrinterResponse: Response containing a summary printing report for each printer from the specified organizational unit for the requested time interval.
func (GoogleChromeManagementV1CountPrintJobsByPrinterResponse) MarshalJSON ¶ added in v0.111.0
func (s GoogleChromeManagementV1CountPrintJobsByPrinterResponse) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1CountPrintJobsByUserResponse ¶ added in v0.111.0
type GoogleChromeManagementV1CountPrintJobsByUserResponse struct { // NextPageToken: Pagination token for requesting the next page. NextPageToken string `json:"nextPageToken,omitempty"` // TotalSize: Total number of users matching request. TotalSize int64 `json:"totalSize,omitempty,string"` // UserPrintReports: List of UserPrintReports matching request. UserPrintReports []*GoogleChromeManagementV1UserPrintReport `json:"userPrintReports,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") 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. "NextPageToken") 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:"-"` }
GoogleChromeManagementV1CountPrintJobsByUserResponse: Response containing a summary printing report for each user that has initiated a print job with a printer from the specified organizational unit during the requested time interval.
func (GoogleChromeManagementV1CountPrintJobsByUserResponse) MarshalJSON ¶ added in v0.111.0
func (s GoogleChromeManagementV1CountPrintJobsByUserResponse) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1CpuInfo ¶ added in v0.61.0
type GoogleChromeManagementV1CpuInfo struct { // Architecture: Output only. Architecture type for the CPU. * This field // provides device information, which is static and will not change over time. // * Data for this field is controlled via policy: ReportDeviceCpuInfo // (https://chromeenterprise.google/policies/#ReportDeviceCpuInfo) * Data // Collection Frequency: Only at Upload * Default Data Reporting Frequency: 3 // hours - Policy Controlled: Yes * Cache: If the device is offline, the // collected data is stored locally, and will be reported when the device is // next online: No * Reported for affiliated users only: N/A // // Possible values: // "ARCHITECTURE_UNSPECIFIED" - Architecture unknown. // "X64" - x64 architecture Architecture string `json:"architecture,omitempty"` // KeylockerConfigured: Output only. Whether keylocker is configured.`TRUE` = // Enabled; `FALSE` = disabled. Only reported if keylockerSupported = `TRUE`. KeylockerConfigured bool `json:"keylockerConfigured,omitempty"` // KeylockerSupported: Output only. Whether keylocker is supported. KeylockerSupported bool `json:"keylockerSupported,omitempty"` // MaxClockSpeed: Output only. The max CPU clock speed in kHz. MaxClockSpeed int64 `json:"maxClockSpeed,omitempty"` // Model: Output only. The CPU model name. Example: Intel(R) Core(TM) i5-8250U // CPU @ 1.60GHz Model string `json:"model,omitempty"` // ForceSendFields is a list of field names (e.g. "Architecture") 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. "Architecture") 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:"-"` }
GoogleChromeManagementV1CpuInfo: CPU specifications for the device * This field provides device information, which is static and will not change over time. * Data for this field is controlled via policy: ReportDeviceCpuInfo (https://chromeenterprise.google/policies/#ReportDeviceCpuInfo) * Data Collection Frequency: Only at Upload * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A * Granular permission needed: TELEMETRY_API_CPU_INFO
func (GoogleChromeManagementV1CpuInfo) MarshalJSON ¶ added in v0.61.0
func (s GoogleChromeManagementV1CpuInfo) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1CpuStatusReport ¶ added in v0.61.0
type GoogleChromeManagementV1CpuStatusReport struct { // CpuTemperatureInfo: Output only. CPU temperature sample info per CPU core in // Celsius CpuTemperatureInfo []*GoogleChromeManagementV1CpuTemperatureInfo `json:"cpuTemperatureInfo,omitempty"` // CpuUtilizationPct: Output only. Sample of CPU utilization (0-100 percent). CpuUtilizationPct int64 `json:"cpuUtilizationPct,omitempty"` // ReportTime: Output only. The timestamp in milliseconds representing time at // which this report was sampled. ReportTime string `json:"reportTime,omitempty"` // SampleFrequency: Output only. Frequency the report is sampled. SampleFrequency string `json:"sampleFrequency,omitempty"` // ForceSendFields is a list of field names (e.g. "CpuTemperatureInfo") 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. "CpuTemperatureInfo") 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:"-"` }
GoogleChromeManagementV1CpuStatusReport: Provides information about the status of the CPU. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: ReportDeviceCpuInfo (https://chromeenterprise.google/policies/#ReportDeviceCpuInfo) * Data Collection Frequency: Every 10 minutes * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A * Granular permission needed: TELEMETRY_API_CPU_REPORT
func (GoogleChromeManagementV1CpuStatusReport) MarshalJSON ¶ added in v0.61.0
func (s GoogleChromeManagementV1CpuStatusReport) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1CpuTemperatureInfo ¶ added in v0.61.0
type GoogleChromeManagementV1CpuTemperatureInfo struct { // Label: Output only. CPU label. Example: Core 0 Label string `json:"label,omitempty"` // TemperatureCelsius: Output only. CPU temperature in Celsius. TemperatureCelsius int64 `json:"temperatureCelsius,omitempty"` // ForceSendFields is a list of field names (e.g. "Label") 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. "Label") 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:"-"` }
GoogleChromeManagementV1CpuTemperatureInfo: CPU temperature of a device. Sampled per CPU core in Celsius. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: ReportDeviceCpuInfo (https://chromeenterprise.google/policies/#ReportDeviceCpuInfo) * Data Collection Frequency: Every 10 minutes * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A
func (GoogleChromeManagementV1CpuTemperatureInfo) MarshalJSON ¶ added in v0.61.0
func (s GoogleChromeManagementV1CpuTemperatureInfo) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1Device ¶
type GoogleChromeManagementV1Device struct { // DeviceId: Output only. The ID of the device that reported this Chrome // browser information. DeviceId string `json:"deviceId,omitempty"` // Machine: Output only. The name of the machine within its local network. Machine string `json:"machine,omitempty"` // ForceSendFields is a list of field names (e.g. "DeviceId") 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. "DeviceId") 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:"-"` }
GoogleChromeManagementV1Device: Describes a device reporting Chrome browser information.
func (GoogleChromeManagementV1Device) MarshalJSON ¶
func (s GoogleChromeManagementV1Device) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1DeviceActivityReport ¶ added in v0.139.0
type GoogleChromeManagementV1DeviceActivityReport struct { // DeviceActivityState: Output only. Device activity state. // // Possible values: // "DEVICE_ACTIVITY_STATE_UNSPECIFIED" - Device activity state is // unspecified. // "ACTIVE" - Device is currently being used. // "IDLE" - Device is currently idle. // "LOCKED" - Device is currently locked. DeviceActivityState string `json:"deviceActivityState,omitempty"` // ReportTime: Output only. Timestamp of when the report was collected. ReportTime string `json:"reportTime,omitempty"` // ForceSendFields is a list of field names (e.g. "DeviceActivityState") 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. "DeviceActivityState") 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:"-"` }
GoogleChromeManagementV1DeviceActivityReport: Device activity report. * Granular permission needed: TELEMETRY_API_DEVICE_ACTIVITY_REPORT
func (GoogleChromeManagementV1DeviceActivityReport) MarshalJSON ¶ added in v0.139.0
func (s GoogleChromeManagementV1DeviceActivityReport) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1DeviceAueCountReport ¶ added in v0.88.0
type GoogleChromeManagementV1DeviceAueCountReport struct { // AueMonth: Enum value of month corresponding to the auto update expiration // date in UTC time zone. If the device is already expired, this field is // empty. // // Possible values: // "MONTH_UNSPECIFIED" - The unspecified month. // "JANUARY" - The month of January. // "FEBRUARY" - The month of February. // "MARCH" - The month of March. // "APRIL" - The month of April. // "MAY" - The month of May. // "JUNE" - The month of June. // "JULY" - The month of July. // "AUGUST" - The month of August. // "SEPTEMBER" - The month of September. // "OCTOBER" - The month of October. // "NOVEMBER" - The month of November. // "DECEMBER" - The month of December. AueMonth string `json:"aueMonth,omitempty"` // AueYear: Int value of year corresponding to the Auto Update Expiration date // in UTC time zone. If the device is already expired, this field is empty. AueYear int64 `json:"aueYear,omitempty,string"` // Count: Count of devices of this model. Count int64 `json:"count,omitempty,string"` // Expired: Boolean value for whether or not the device has already expired. Expired bool `json:"expired,omitempty"` // Model: Public model name of the devices. Model string `json:"model,omitempty"` // ForceSendFields is a list of field names (e.g. "AueMonth") 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. "AueMonth") 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:"-"` }
GoogleChromeManagementV1DeviceAueCountReport: Report for CountChromeDevicesPerAueDateResponse, contains the count of devices of a specific model and auto update expiration range.
func (GoogleChromeManagementV1DeviceAueCountReport) MarshalJSON ¶ added in v0.88.0
func (s GoogleChromeManagementV1DeviceAueCountReport) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1DeviceHardwareCountReport ¶ added in v0.97.0
type GoogleChromeManagementV1DeviceHardwareCountReport struct { // Bucket: Public name of the hardware specification. Bucket string `json:"bucket,omitempty"` // Count: Count of devices with a unique hardware specification. Count int64 `json:"count,omitempty,string"` // ForceSendFields is a list of field names (e.g. "Bucket") 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. "Bucket") 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:"-"` }
GoogleChromeManagementV1DeviceHardwareCountReport: Report for CountChromeDevicesPerHardwareSpecResponse, contains the count of devices with a unique hardware specification.
func (GoogleChromeManagementV1DeviceHardwareCountReport) MarshalJSON ¶ added in v0.97.0
func (s GoogleChromeManagementV1DeviceHardwareCountReport) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1DeviceRequestingExtensionDetails ¶ added in v0.170.0
type GoogleChromeManagementV1DeviceRequestingExtensionDetails struct { // DeviceName: The name of a device that has requested the extension. DeviceName string `json:"deviceName,omitempty"` // Justification: Request justification as entered by the user. Justification string `json:"justification,omitempty"` // ForceSendFields is a list of field names (e.g. "DeviceName") 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. "DeviceName") 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:"-"` }
GoogleChromeManagementV1DeviceRequestingExtensionDetails: Details of a device requesting an extension, including the name of the device and the justification of the request.
func (GoogleChromeManagementV1DeviceRequestingExtensionDetails) MarshalJSON ¶ added in v0.170.0
func (s GoogleChromeManagementV1DeviceRequestingExtensionDetails) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1DiskInfo ¶ added in v0.61.0
type GoogleChromeManagementV1DiskInfo struct { // BytesReadThisSession: Output only. Number of bytes read since last boot. BytesReadThisSession int64 `json:"bytesReadThisSession,omitempty,string"` // BytesWrittenThisSession: Output only. Number of bytes written since last // boot. BytesWrittenThisSession int64 `json:"bytesWrittenThisSession,omitempty,string"` // DiscardTimeThisSession: Output only. Time spent discarding since last boot. // Discarding is writing to clear blocks which are no longer in use. Supported // on kernels 4.18+. DiscardTimeThisSession string `json:"discardTimeThisSession,omitempty"` // Health: Output only. Disk health. Health string `json:"health,omitempty"` // IoTimeThisSession: Output only. Counts the time the disk and queue were // busy, so unlike the fields above, parallel requests are not counted multiple // times. IoTimeThisSession string `json:"ioTimeThisSession,omitempty"` // Manufacturer: Output only. Disk manufacturer. Manufacturer string `json:"manufacturer,omitempty"` // Model: Output only. Disk model. Model string `json:"model,omitempty"` // ReadTimeThisSession: Output only. Time spent reading from disk since last // boot. ReadTimeThisSession string `json:"readTimeThisSession,omitempty"` // SerialNumber: Output only. Disk serial number. SerialNumber string `json:"serialNumber,omitempty"` // SizeBytes: Output only. Disk size. SizeBytes int64 `json:"sizeBytes,omitempty,string"` // Type: Output only. Disk type: eMMC / NVMe / ATA / SCSI. Type string `json:"type,omitempty"` // VolumeIds: Output only. Disk volumes. VolumeIds []string `json:"volumeIds,omitempty"` // WriteTimeThisSession: Output only. Time spent writing to disk since last // boot. WriteTimeThisSession string `json:"writeTimeThisSession,omitempty"` // ForceSendFields is a list of field names (e.g. "BytesReadThisSession") 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. "BytesReadThisSession") 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:"-"` }
GoogleChromeManagementV1DiskInfo: Status of the single storage device.
func (GoogleChromeManagementV1DiskInfo) MarshalJSON ¶ added in v0.61.0
func (s GoogleChromeManagementV1DiskInfo) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1DisplayDevice ¶ added in v0.111.0
type GoogleChromeManagementV1DisplayDevice struct { // DisplayHeightMm: Output only. Display height in millimeters. DisplayHeightMm int64 `json:"displayHeightMm,omitempty"` // DisplayName: Output only. Display device name. DisplayName string `json:"displayName,omitempty"` // DisplayWidthMm: Output only. Display width in millimeters. DisplayWidthMm int64 `json:"displayWidthMm,omitempty"` // Internal: Output only. Is display internal or not. Internal bool `json:"internal,omitempty"` // ManufactureYear: Output only. Year of manufacture. ManufactureYear int64 `json:"manufactureYear,omitempty"` // ManufacturerId: Output only. Three letter manufacturer ID. ManufacturerId string `json:"manufacturerId,omitempty"` // ModelId: Output only. Manufacturer product code. ModelId int64 `json:"modelId,omitempty"` // ForceSendFields is a list of field names (e.g. "DisplayHeightMm") 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. "DisplayHeightMm") 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:"-"` }
GoogleChromeManagementV1DisplayDevice: Information of a display device.
func (GoogleChromeManagementV1DisplayDevice) MarshalJSON ¶ added in v0.111.0
func (s GoogleChromeManagementV1DisplayDevice) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1DisplayInfo ¶ added in v0.61.0
type GoogleChromeManagementV1DisplayInfo struct { // DeviceId: Output only. Represents the graphics card device id. DeviceId int64 `json:"deviceId,omitempty,string"` // DisplayName: Output only. Display device name. DisplayName string `json:"displayName,omitempty"` // IsInternal: Output only. Indicates if display is internal or not. IsInternal bool `json:"isInternal,omitempty"` // RefreshRate: Output only. Refresh rate in Hz. RefreshRate int64 `json:"refreshRate,omitempty"` // ResolutionHeight: Output only. Resolution height in pixels. ResolutionHeight int64 `json:"resolutionHeight,omitempty"` // ResolutionWidth: Output only. Resolution width in pixels. ResolutionWidth int64 `json:"resolutionWidth,omitempty"` // ForceSendFields is a list of field names (e.g. "DeviceId") 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. "DeviceId") 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:"-"` }
GoogleChromeManagementV1DisplayInfo: Information for a display.
func (GoogleChromeManagementV1DisplayInfo) MarshalJSON ¶ added in v0.61.0
func (s GoogleChromeManagementV1DisplayInfo) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1EnumeratePrintJobsResponse ¶ added in v0.139.0
type GoogleChromeManagementV1EnumeratePrintJobsResponse struct { // NextPageToken: A token, which can be used in a subsequent request to // retrieve the next page. If this field is omitted, there are no subsequent // pages. NextPageToken string `json:"nextPageToken,omitempty"` // PrintJobs: List of requested print jobs. PrintJobs []*GoogleChromeManagementV1PrintJob `json:"printJobs,omitempty"` // TotalSize: Total number of print jobs matching request. TotalSize int64 `json:"totalSize,omitempty,string"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") 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. "NextPageToken") 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:"-"` }
GoogleChromeManagementV1EnumeratePrintJobsResponse: Response containing a list of print jobs.
func (GoogleChromeManagementV1EnumeratePrintJobsResponse) MarshalJSON ¶ added in v0.139.0
func (s GoogleChromeManagementV1EnumeratePrintJobsResponse) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse ¶ added in v0.170.0
type GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse struct { // DeviceDetails: Details of devices that have requested the queried extension. DeviceDetails []*GoogleChromeManagementV1DeviceRequestingExtensionDetails `json:"deviceDetails,omitempty"` // NextPageToken: Optional. Token to specify the next page in the list. Token // expires after 1 day. NextPageToken string `json:"nextPageToken,omitempty"` // TotalSize: Optional. Total number of devices in response. TotalSize int64 `json:"totalSize,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "DeviceDetails") 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. "DeviceDetails") 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:"-"` }
GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse: Response containing a list of devices that have requested the queried extension.
func (GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse) MarshalJSON ¶ added in v0.170.0
func (s GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1FetchUsersRequestingExtensionResponse ¶ added in v0.170.0
type GoogleChromeManagementV1FetchUsersRequestingExtensionResponse struct { // NextPageToken: Token to specify the next page in the list. NextPageToken string `json:"nextPageToken,omitempty"` // TotalSize: Total number of users in response. TotalSize int64 `json:"totalSize,omitempty"` // UserDetails: Details of users that have requested the queried extension. UserDetails []*GoogleChromeManagementV1UserRequestingExtensionDetails `json:"userDetails,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") 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. "NextPageToken") 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:"-"` }
GoogleChromeManagementV1FetchUsersRequestingExtensionResponse: Response containing a list of users that have requested the queried extension.
func (GoogleChromeManagementV1FetchUsersRequestingExtensionResponse) MarshalJSON ¶ added in v0.170.0
func (s GoogleChromeManagementV1FetchUsersRequestingExtensionResponse) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1FindInstalledAppDevicesResponse ¶
type GoogleChromeManagementV1FindInstalledAppDevicesResponse struct { // Devices: A list of devices which have the app installed. Sorted in ascending // alphabetical order on the Device.machine field. Devices []*GoogleChromeManagementV1Device `json:"devices,omitempty"` // NextPageToken: Token to specify the next page of the request. NextPageToken string `json:"nextPageToken,omitempty"` // TotalSize: Total number of devices matching request. TotalSize int64 `json:"totalSize,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Devices") 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. "Devices") 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:"-"` }
GoogleChromeManagementV1FindInstalledAppDevicesResponse: Response containing a list of devices with queried app installed.
func (GoogleChromeManagementV1FindInstalledAppDevicesResponse) MarshalJSON ¶
func (s GoogleChromeManagementV1FindInstalledAppDevicesResponse) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1GraphicsAdapterInfo ¶ added in v0.61.0
type GoogleChromeManagementV1GraphicsAdapterInfo struct { // Adapter: Output only. Adapter name. Example: Mesa DRI Intel(R) UHD Graphics // 620 (Kabylake GT2). Adapter string `json:"adapter,omitempty"` // DeviceId: Output only. Represents the graphics card device id. DeviceId int64 `json:"deviceId,omitempty,string"` // DriverVersion: Output only. Version of the GPU driver. DriverVersion string `json:"driverVersion,omitempty"` // ForceSendFields is a list of field names (e.g. "Adapter") 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. "Adapter") 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:"-"` }
GoogleChromeManagementV1GraphicsAdapterInfo: Information of a graphics adapter (GPU).
func (GoogleChromeManagementV1GraphicsAdapterInfo) MarshalJSON ¶ added in v0.61.0
func (s GoogleChromeManagementV1GraphicsAdapterInfo) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1GraphicsInfo ¶ added in v0.61.0
type GoogleChromeManagementV1GraphicsInfo struct { // AdapterInfo: Output only. Information about the graphics adapter (GPU). AdapterInfo *GoogleChromeManagementV1GraphicsAdapterInfo `json:"adapterInfo,omitempty"` // DisplayDevices: Output only. Information about the display(s) of the device. DisplayDevices []*GoogleChromeManagementV1DisplayDevice `json:"displayDevices,omitempty"` // EprivacySupported: Output only. Is ePrivacy screen supported or not. EprivacySupported bool `json:"eprivacySupported,omitempty"` // TouchScreenInfo: Output only. Information about the internal touch screen(s) // of the device. TouchScreenInfo *GoogleChromeManagementV1TouchScreenInfo `json:"touchScreenInfo,omitempty"` // ForceSendFields is a list of field names (e.g. "AdapterInfo") 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. "AdapterInfo") 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:"-"` }
GoogleChromeManagementV1GraphicsInfo: Information of the graphics subsystem. * This field provides device information, which is static and will not change over time. * Data for this field is controlled via policy: ReportDeviceGraphicsStatus (https://chromeenterprise.google/policies/#ReportDeviceGraphicsStatus) * Data Collection Frequency: Only at Upload * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A * Granular permission needed: TELEMETRY_API_GRAPHICS_INFO
func (GoogleChromeManagementV1GraphicsInfo) MarshalJSON ¶ added in v0.61.0
func (s GoogleChromeManagementV1GraphicsInfo) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1GraphicsStatusReport ¶ added in v0.61.0
type GoogleChromeManagementV1GraphicsStatusReport struct { // Displays: Output only. Information about the displays for the device. Displays []*GoogleChromeManagementV1DisplayInfo `json:"displays,omitempty"` // ReportTime: Output only. Time at which the graphics data was reported. ReportTime string `json:"reportTime,omitempty"` // ForceSendFields is a list of field names (e.g. "Displays") 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. "Displays") 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:"-"` }
GoogleChromeManagementV1GraphicsStatusReport: Information of the graphics subsystem. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: ReportDeviceGraphicsInfo (https://chromeenterprise.google/policies/#ReportDeviceGraphicsInfo) * Data Collection Frequency: 3 hours. * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A * Granular permission needed: TELEMETRY_API_GRAPHICS_REPORT
func (GoogleChromeManagementV1GraphicsStatusReport) MarshalJSON ¶ added in v0.61.0
func (s GoogleChromeManagementV1GraphicsStatusReport) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1HeartbeatStatusReport ¶ added in v0.123.0
type GoogleChromeManagementV1HeartbeatStatusReport struct { // ReportTime: Timestamp of when status changed was detected ReportTime string `json:"reportTime,omitempty"` // State: State the device changed to // // Possible values: // "STATE_UNSPECIFIED" - State not specified // "UNKNOWN" - Device is not eligible for heartbeat monitoring // "ONLINE" - Device is online // "OFFLINE" - Device is offline State string `json:"state,omitempty"` // ForceSendFields is a list of field names (e.g. "ReportTime") 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. "ReportTime") 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:"-"` }
GoogleChromeManagementV1HeartbeatStatusReport: Heartbeat status report of a device. * Available for Kiosks * This field provides online/offline/unknown status of a device and will only be included if the status has changed (e.g. Online -> Offline) * Data for this field is controlled via policy: HeartbeatEnabled (https://chromeenterprise.google/policies/#HeartbeatEnabled) [More Info](https://support.google.com/chrome/a/answer/6179663#:~:text=On%20the%20C hrome,device%20status%20alerts) * Heartbeat Frequency: 2 mins * Note: If a device goes offline, it can take up to 12 minutes for the online status of the device to be updated * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: N/A * Reported for affiliated users only: N/A * Granular permission needed: TELEMETRY_API_DEVICE_ACTIVITY_REPORT
func (GoogleChromeManagementV1HeartbeatStatusReport) MarshalJSON ¶ added in v0.123.0
func (s GoogleChromeManagementV1HeartbeatStatusReport) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1HttpsLatencyRoutineData ¶ added in v0.87.0
type GoogleChromeManagementV1HttpsLatencyRoutineData struct { // Latency: Output only. HTTPS latency if routine succeeded or failed because // of HIGH_LATENCY or VERY_HIGH_LATENCY. Latency string `json:"latency,omitempty"` // Problem: Output only. HTTPS latency routine problem if a problem occurred. // // Possible values: // "HTTPS_LATENCY_PROBLEM_UNSPECIFIED" - HTTPS latency problem not specified. // "FAILED_DNS_RESOLUTIONS" - One or more DNS resolutions resulted in a // failure. // "FAILED_HTTPS_REQUESTS" - One or more HTTPS requests resulted in a // failure. // "HIGH_LATENCY" - Average HTTPS request latency time between 500ms and // 1000ms is high. // "VERY_HIGH_LATENCY" - Average HTTPS request latency time greater than // 1000ms is very high. Problem string `json:"problem,omitempty"` // ForceSendFields is a list of field names (e.g. "Latency") 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. "Latency") 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:"-"` }
GoogleChromeManagementV1HttpsLatencyRoutineData: Data that describes the result of the HTTPS latency diagnostics routine, with the HTTPS requests issued to Google websites.
func (GoogleChromeManagementV1HttpsLatencyRoutineData) MarshalJSON ¶ added in v0.87.0
func (s GoogleChromeManagementV1HttpsLatencyRoutineData) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1InstalledApp ¶
type GoogleChromeManagementV1InstalledApp struct { // AppId: Output only. Unique identifier of the app. For Chrome apps and // extensions, the 32-character id (e.g. ehoadneljpdggcbbknedodolkkjodefl). For // Android apps, the package name (e.g. com.evernote). AppId string `json:"appId,omitempty"` // AppInstallType: Output only. How the app was installed. // // Possible values: // "APP_INSTALL_TYPE_UNSPECIFIED" - Application install type not specified. // "MULTIPLE" - Multiple app install types. // "NORMAL" - Normal app install type. // "ADMIN" - Administrator app install type. // "DEVELOPMENT" - Development app install type. // "SIDELOAD" - Sideloaded app install type. // "OTHER" - Other app install type. AppInstallType string `json:"appInstallType,omitempty"` // AppSource: Output only. Source of the installed app. // // Possible values: // "APP_SOURCE_UNSPECIFIED" - Application source not specified. // "CHROME_WEBSTORE" - Generally for extensions and Chrome apps. // "PLAY_STORE" - Play Store app. AppSource string `json:"appSource,omitempty"` // AppType: Output only. Type of the app. // // Possible values: // "APP_TYPE_UNSPECIFIED" - App type not specified. // "EXTENSION" - Chrome extension. // "APP" - Chrome app. // "THEME" - Chrome theme. // "HOSTED_APP" - Chrome hosted app. // "ANDROID_APP" - ARC++ app. AppType string `json:"appType,omitempty"` // BrowserDeviceCount: Output only. Count of browser devices with this app // installed. BrowserDeviceCount int64 `json:"browserDeviceCount,omitempty,string"` // Description: Output only. Description of the installed app. Description string `json:"description,omitempty"` // Disabled: Output only. Whether the app is disabled. Disabled bool `json:"disabled,omitempty"` // DisplayName: Output only. Name of the installed app. DisplayName string `json:"displayName,omitempty"` // HomepageUri: Output only. Homepage uri of the installed app. HomepageUri string `json:"homepageUri,omitempty"` // OsUserCount: Output only. Count of ChromeOS users with this app installed. OsUserCount int64 `json:"osUserCount,omitempty,string"` // Permissions: Output only. Permissions of the installed app. Permissions []string `json:"permissions,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:"-"` }
GoogleChromeManagementV1InstalledApp: Describes an installed app.
func (GoogleChromeManagementV1InstalledApp) MarshalJSON ¶
func (s GoogleChromeManagementV1InstalledApp) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1KioskAppStatusReport ¶ added in v0.123.0
type GoogleChromeManagementV1KioskAppStatusReport struct { // AppId: App id of kiosk app for example "mdmkkicfmmkgmpkmkdikhlbggogpicma" AppId string `json:"appId,omitempty"` // AppVersion: App version number of kiosk app for example "1.10.118" AppVersion string `json:"appVersion,omitempty"` // ReportTime: Timestamp of when report was collected ReportTime string `json:"reportTime,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:"-"` }
GoogleChromeManagementV1KioskAppStatusReport: Kiosk app status report of a device. * Available for Kiosks * This field provides the app id and version number running on a kiosk device and the timestamp of when the report was last updated * Data for this field is controlled via policy: ReportDeviceSessionStatus (https://chromeenterprise.google/policies/#ReportDeviceSessionStatus) * Data Collection Frequency: Only at Upload * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A * Granular permission needed: TELEMETRY_API_APPS_REPORT
func (GoogleChromeManagementV1KioskAppStatusReport) MarshalJSON ¶ added in v0.123.0
func (s GoogleChromeManagementV1KioskAppStatusReport) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1ListTelemetryDevicesResponse ¶ added in v0.61.0
type GoogleChromeManagementV1ListTelemetryDevicesResponse struct { // Devices: Telemetry devices returned in the response. Devices []*GoogleChromeManagementV1TelemetryDevice `json:"devices,omitempty"` // NextPageToken: Token to specify next page in the list. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Devices") 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. "Devices") 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 (GoogleChromeManagementV1ListTelemetryDevicesResponse) MarshalJSON ¶ added in v0.61.0
func (s GoogleChromeManagementV1ListTelemetryDevicesResponse) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1ListTelemetryEventsResponse ¶ added in v0.104.0
type GoogleChromeManagementV1ListTelemetryEventsResponse struct { // NextPageToken: Token to specify next page in the list. NextPageToken string `json:"nextPageToken,omitempty"` // TelemetryEvents: Telemetry events returned in the response. TelemetryEvents []*GoogleChromeManagementV1TelemetryEvent `json:"telemetryEvents,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") 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. "NextPageToken") 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:"-"` }
GoogleChromeManagementV1ListTelemetryEventsResponse: Response message for listing telemetry events for a customer.
func (GoogleChromeManagementV1ListTelemetryEventsResponse) MarshalJSON ¶ added in v0.104.0
func (s GoogleChromeManagementV1ListTelemetryEventsResponse) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse ¶ added in v0.139.0
type GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse struct { // NextPageToken: A token, which can be sent as `page_token` to retrieve the // next page. If this field is omitted, there are no subsequent pages. NextPageToken string `json:"nextPageToken,omitempty"` // TelemetryNotificationConfigs: The telemetry notification configs from the // specified customer. TelemetryNotificationConfigs []*GoogleChromeManagementV1TelemetryNotificationConfig `json:"telemetryNotificationConfigs,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") 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. "NextPageToken") 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:"-"` }
GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse: Response message for listing notification configs for a customer.
func (GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse) MarshalJSON ¶ added in v0.139.0
func (s GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1ListTelemetryUsersResponse ¶ added in v0.109.0
type GoogleChromeManagementV1ListTelemetryUsersResponse struct { // NextPageToken: Token to specify next page in the list. NextPageToken string `json:"nextPageToken,omitempty"` // TelemetryUsers: Telemetry users returned in the response. TelemetryUsers []*GoogleChromeManagementV1TelemetryUser `json:"telemetryUsers,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") 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. "NextPageToken") 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:"-"` }
GoogleChromeManagementV1ListTelemetryUsersResponse: Response message for listing telemetry users for a customer.
func (GoogleChromeManagementV1ListTelemetryUsersResponse) MarshalJSON ¶ added in v0.109.0
func (s GoogleChromeManagementV1ListTelemetryUsersResponse) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1MemoryInfo ¶ added in v0.61.0
type GoogleChromeManagementV1MemoryInfo struct { // AvailableRamBytes: Output only. Amount of available RAM in bytes. AvailableRamBytes int64 `json:"availableRamBytes,omitempty,string"` // TotalMemoryEncryption: Output only. Total memory encryption info for the // device. TotalMemoryEncryption *GoogleChromeManagementV1TotalMemoryEncryptionInfo `json:"totalMemoryEncryption,omitempty"` // TotalRamBytes: Output only. Total RAM in bytes. TotalRamBytes int64 `json:"totalRamBytes,omitempty,string"` // ForceSendFields is a list of field names (e.g. "AvailableRamBytes") 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. "AvailableRamBytes") 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:"-"` }
GoogleChromeManagementV1MemoryInfo: Memory information of a device. * This field has both telemetry and device information: - `totalRamBytes` - Device information - `availableRamBytes` - Telemetry information - `totalMemoryEncryption` - Device information * Data for this field is controlled via policy: ReportDeviceMemoryInfo (https://chromeenterprise.google/policies/#ReportDeviceMemoryInfo) * Data Collection Frequency: - `totalRamBytes` - Only at upload - `availableRamBytes` - Every 10 minutes - `totalMemoryEncryption` - at device startup * Default Data Reporting Frequency: - `totalRamBytes` - 3 hours - `availableRamBytes` - 3 hours - `totalMemoryEncryption` - at device startup - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: only for `totalMemoryEncryption` * Reported for affiliated users only: N/A * Granular permission needed: TELEMETRY_API_MEMORY_INFO
func (GoogleChromeManagementV1MemoryInfo) MarshalJSON ¶ added in v0.61.0
func (s GoogleChromeManagementV1MemoryInfo) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1MemoryStatusReport ¶ added in v0.61.0
type GoogleChromeManagementV1MemoryStatusReport struct { // PageFaults: Output only. Number of page faults during this collection PageFaults int64 `json:"pageFaults,omitempty"` // ReportTime: Output only. The timestamp in milliseconds representing time at // which this report was sampled. ReportTime string `json:"reportTime,omitempty"` // SampleFrequency: Output only. Frequency the report is sampled. SampleFrequency string `json:"sampleFrequency,omitempty"` // SystemRamFreeBytes: Output only. Amount of free RAM in bytes (unreliable due // to Garbage Collection). SystemRamFreeBytes int64 `json:"systemRamFreeBytes,omitempty,string"` // ForceSendFields is a list of field names (e.g. "PageFaults") 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. "PageFaults") 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:"-"` }
GoogleChromeManagementV1MemoryStatusReport: Contains samples of memory status reports. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: ReportDeviceMemoryInfo (https://chromeenterprise.google/policies/#ReportDeviceMemoryInfo) * Data Collection Frequency: Only at upload, SystemRamFreeByes is collected every 10 minutes * Default Data Reporting Frequency: Every 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A * Granular permission needed: TELEMETRY_API_MEMORY_REPORT
func (GoogleChromeManagementV1MemoryStatusReport) MarshalJSON ¶ added in v0.61.0
func (s GoogleChromeManagementV1MemoryStatusReport) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1NetworkBandwidthReport ¶ added in v0.151.0
type GoogleChromeManagementV1NetworkBandwidthReport struct { // DownloadSpeedKbps: Output only. Download speed in kilobits per second. DownloadSpeedKbps int64 `json:"downloadSpeedKbps,omitempty,string"` // ReportTime: Output only. Timestamp of when the report was collected. ReportTime string `json:"reportTime,omitempty"` // ForceSendFields is a list of field names (e.g. "DownloadSpeedKbps") 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. "DownloadSpeedKbps") 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:"-"` }
GoogleChromeManagementV1NetworkBandwidthReport: Network bandwidth report. * Granular permission needed: TELEMETRY_API_NETWORK_REPORT
func (GoogleChromeManagementV1NetworkBandwidthReport) MarshalJSON ¶ added in v0.151.0
func (s GoogleChromeManagementV1NetworkBandwidthReport) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1NetworkDevice ¶ added in v0.87.0
type GoogleChromeManagementV1NetworkDevice struct { // Iccid: Output only. The integrated circuit card ID associated with the // device's sim card. Iccid string `json:"iccid,omitempty"` // Imei: Output only. IMEI (if applicable) of the corresponding network device. Imei string `json:"imei,omitempty"` // MacAddress: Output only. MAC address (if applicable) of the corresponding // network device. MacAddress string `json:"macAddress,omitempty"` // Mdn: Output only. The mobile directory number associated with the device's // sim card. Mdn string `json:"mdn,omitempty"` // Meid: Output only. MEID (if applicable) of the corresponding network device. Meid string `json:"meid,omitempty"` // Type: Output only. Network device type. // // Possible values: // "NETWORK_DEVICE_TYPE_UNSPECIFIED" - Network device type not specified. // "CELLULAR_DEVICE" - Cellular device. // "ETHERNET_DEVICE" - Ethernet device. // "WIFI_DEVICE" - Wifi device. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Iccid") 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. "Iccid") 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:"-"` }
GoogleChromeManagementV1NetworkDevice: Details about the network device. * This field provides device information, which is static and will not change over time. * Data for this field is controlled via policy: ReportNetworkDeviceConfiguration (https://chromeenterprise.google/policies/#ReportNetworkDeviceConfiguration) * Data Collection Frequency: At device startup * Default Data Reporting Frequency: At device startup - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: Yes * Reported for affiliated users only: N/A
func (GoogleChromeManagementV1NetworkDevice) MarshalJSON ¶ added in v0.87.0
func (s GoogleChromeManagementV1NetworkDevice) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1NetworkDiagnosticsReport ¶ added in v0.87.0
type GoogleChromeManagementV1NetworkDiagnosticsReport struct { // HttpsLatencyData: Output only. HTTPS latency test data. HttpsLatencyData *GoogleChromeManagementV1HttpsLatencyRoutineData `json:"httpsLatencyData,omitempty"` // ReportTime: Output only. Timestamp of when the diagnostics were collected. ReportTime string `json:"reportTime,omitempty"` // ForceSendFields is a list of field names (e.g. "HttpsLatencyData") 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. "HttpsLatencyData") 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:"-"` }
GoogleChromeManagementV1NetworkDiagnosticsReport: Network testing results to determine the health of the device's network connection, for example whether the HTTPS latency is high or normal. * Granular permission needed: TELEMETRY_API_NETWORK_REPORT
func (GoogleChromeManagementV1NetworkDiagnosticsReport) MarshalJSON ¶ added in v0.87.0
func (s GoogleChromeManagementV1NetworkDiagnosticsReport) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1NetworkInfo ¶ added in v0.87.0
type GoogleChromeManagementV1NetworkInfo struct { // NetworkDevices: Output only. List of network devices. NetworkDevices []*GoogleChromeManagementV1NetworkDevice `json:"networkDevices,omitempty"` // ForceSendFields is a list of field names (e.g. "NetworkDevices") 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. "NetworkDevices") 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:"-"` }
GoogleChromeManagementV1NetworkInfo: Network device information. * This field provides device information, which is static and will not change over time. * Data for this field is controlled via policy: ReportNetworkDeviceConfiguration (https://chromeenterprise.google/policies/#ReportNetworkDeviceConfiguration) * Data Collection Frequency: At device startup * Default Data Reporting Frequency: At device startup - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: Yes * Reported for affiliated users only: N/A * Granular permission needed: TELEMETRY_API_NETWORK_INFO
func (GoogleChromeManagementV1NetworkInfo) MarshalJSON ¶ added in v0.87.0
func (s GoogleChromeManagementV1NetworkInfo) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1NetworkStatusReport ¶ added in v0.61.0
type GoogleChromeManagementV1NetworkStatusReport struct { // ConnectionState: Output only. Current connection state of the network. // // Possible values: // "NETWORK_CONNECTION_STATE_UNSPECIFIED" - Network connection state // unspecified. // "ONLINE" - The network is connected and internet connectivity is // available. // "CONNECTED" - The network is connected and not in a detected portal state, // but internet connectivity may not be available. // "PORTAL" - The network is connected but a portal state was detected. // Internet connectivity may be limited. // "CONNECTING" - The network is in the process of connecting. // "NOT_CONNECTED" - The network is not connected. ConnectionState string `json:"connectionState,omitempty"` // ConnectionType: Output only. Network connection type. // // Possible values: // "NETWORK_TYPE_UNSPECIFIED" - Network connection type unspecified // "CELLULAR" - Cellular network connection. // "ETHERNET" - Ethernet network connection. // "TETHER" - Tether network connection. // "VPN" - VPN network connection. // "WIFI" - Wifi network connection. ConnectionType string `json:"connectionType,omitempty"` // EncryptionOn: Output only. Whether the wifi encryption key is turned off. EncryptionOn bool `json:"encryptionOn,omitempty"` // GatewayIpAddress: Output only. Gateway IP address. GatewayIpAddress string `json:"gatewayIpAddress,omitempty"` // Guid: Output only. Network connection guid. Guid string `json:"guid,omitempty"` // LanIpAddress: Output only. LAN IP address. LanIpAddress string `json:"lanIpAddress,omitempty"` // ReceivingBitRateMbps: Output only. Receiving bit rate measured in Megabits // per second. ReceivingBitRateMbps int64 `json:"receivingBitRateMbps,omitempty,string"` // ReportTime: Output only. Time at which the network state was reported. ReportTime string `json:"reportTime,omitempty"` // SampleFrequency: Output only. Frequency the report is sampled. SampleFrequency string `json:"sampleFrequency,omitempty"` // SignalStrengthDbm: Output only. Signal strength for wireless networks // measured in decibels. SignalStrengthDbm int64 `json:"signalStrengthDbm,omitempty"` // TransmissionBitRateMbps: Output only. Transmission bit rate measured in // Megabits per second. TransmissionBitRateMbps int64 `json:"transmissionBitRateMbps,omitempty,string"` // TransmissionPowerDbm: Output only. Transmission power measured in decibels. TransmissionPowerDbm int64 `json:"transmissionPowerDbm,omitempty"` // WifiLinkQuality: Output only. Wifi link quality. Value ranges from [0, 70]. // 0 indicates no signal and 70 indicates a strong signal. WifiLinkQuality int64 `json:"wifiLinkQuality,omitempty,string"` // WifiPowerManagementEnabled: Output only. Wifi power management enabled WifiPowerManagementEnabled bool `json:"wifiPowerManagementEnabled,omitempty"` // ForceSendFields is a list of field names (e.g. "ConnectionState") 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. "ConnectionState") 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:"-"` }
GoogleChromeManagementV1NetworkStatusReport: State of visible/configured networks. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: ReportNetworkStatus (https://chromeenterprise.google/policies/#ReportNetworkStatus) * Data Collection Frequency: 60 minutes * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: Yes * Reported for affiliated users only: Yes * Granular permission needed: TELEMETRY_API_NETWORK_REPORT
func (GoogleChromeManagementV1NetworkStatusReport) MarshalJSON ¶ added in v0.61.0
func (s GoogleChromeManagementV1NetworkStatusReport) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1OsUpdateStatus ¶ added in v0.61.0
type GoogleChromeManagementV1OsUpdateStatus struct { // LastRebootTime: Output only. Timestamp of the last reboot. LastRebootTime string `json:"lastRebootTime,omitempty"` // LastUpdateCheckTime: Output only. Timestamp of the last update check. LastUpdateCheckTime string `json:"lastUpdateCheckTime,omitempty"` // LastUpdateTime: Output only. Timestamp of the last successful update. LastUpdateTime string `json:"lastUpdateTime,omitempty"` // NewPlatformVersion: Output only. New platform version of the os image being // downloaded and applied. It is only set when update status is // OS_IMAGE_DOWNLOAD_IN_PROGRESS or OS_UPDATE_NEED_REBOOT. Note this could be a // dummy "0.0.0.0" for OS_UPDATE_NEED_REBOOT status for some edge cases, e.g. // update engine is restarted without a reboot. NewPlatformVersion string `json:"newPlatformVersion,omitempty"` // NewRequestedPlatformVersion: Output only. New requested platform version // from the pending updated kiosk app. NewRequestedPlatformVersion string `json:"newRequestedPlatformVersion,omitempty"` // UpdateState: Output only. Current state of the os update. // // Possible values: // "UPDATE_STATE_UNSPECIFIED" - State unspecified. // "OS_IMAGE_DOWNLOAD_NOT_STARTED" - OS has not started downloading. // "OS_IMAGE_DOWNLOAD_IN_PROGRESS" - OS has started download on device. // "OS_UPDATE_NEED_REBOOT" - Device needs reboot to finish upload. UpdateState string `json:"updateState,omitempty"` // ForceSendFields is a list of field names (e.g. "LastRebootTime") 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. "LastRebootTime") 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:"-"` }
GoogleChromeManagementV1OsUpdateStatus: Contains information regarding the current OS update status. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: ReportDeviceOsUpdateStatus (https://chromeenterprise.google/policies/#ReportDeviceOsUpdateStatus) * Data Collection Frequency: Only at Upload * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A * Granular permission needed: TELEMETRY_API_OS_REPORT
func (GoogleChromeManagementV1OsUpdateStatus) MarshalJSON ¶ added in v0.61.0
func (s GoogleChromeManagementV1OsUpdateStatus) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1PeripheralsReport ¶ added in v0.109.0
type GoogleChromeManagementV1PeripheralsReport struct { // ReportTime: Output only. Timestamp of when the report was collected. ReportTime string `json:"reportTime,omitempty"` // UsbPeripheralReport: Reports of all usb connected devices. UsbPeripheralReport []*GoogleChromeManagementV1UsbPeripheralReport `json:"usbPeripheralReport,omitempty"` // ForceSendFields is a list of field names (e.g. "ReportTime") 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. "ReportTime") 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:"-"` }
GoogleChromeManagementV1PeripheralsReport: Peripherals report. * Granular permission needed: TELEMETRY_API_PERIPHERALS_REPORT
func (GoogleChromeManagementV1PeripheralsReport) MarshalJSON ¶ added in v0.109.0
func (s GoogleChromeManagementV1PeripheralsReport) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1PrintJob ¶ added in v0.139.0
type GoogleChromeManagementV1PrintJob struct { // ColorMode: Color mode. // // Possible values: // "COLOR_MODE_UNSPECIFIED" - Unspecified. // "BLACK_AND_WHITE" - Black and white. // "COLOR" - Color. ColorMode string `json:"colorMode,omitempty"` // CompleteTime: Print job completion timestamp. CompleteTime string `json:"completeTime,omitempty"` // CopyCount: Number of copies. CopyCount int64 `json:"copyCount,omitempty"` // CreateTime: Print job creation timestamp. CreateTime string `json:"createTime,omitempty"` // DocumentPageCount: Number of pages in the document. DocumentPageCount int64 `json:"documentPageCount,omitempty"` // DuplexMode: Duplex mode. // // Possible values: // "DUPLEX_MODE_UNSPECIFIED" - Unspecified. // "ONE_SIDED" - One-sided. // "TWO_SIDED_LONG_EDGE" - Two-sided flipping over long edge. // "TWO_SIDED_SHORT_EDGE" - Two-sided flipping over short edge. DuplexMode string `json:"duplexMode,omitempty"` // Id: Unique ID of the print job. Id string `json:"id,omitempty"` // Printer: Name of the printer used for printing. Printer string `json:"printer,omitempty"` // PrinterId: API ID of the printer used for printing. PrinterId string `json:"printerId,omitempty"` // State: The final state of the job. // // Possible values: // "STATE_UNSPECIFIED" - Print job is in an unspecified state. // "PRINTED" - The document was successfully printed. // "CANCELLED" - Print job was cancelled. // "FAILED" - Print job failed. State string `json:"state,omitempty"` // Title: The title of the document. Title string `json:"title,omitempty"` // UserEmail: The primary e-mail address of the user who submitted the print // job. UserEmail string `json:"userEmail,omitempty"` // UserId: The unique Directory API ID of the user who submitted the print job. UserId string `json:"userId,omitempty"` // ForceSendFields is a list of field names (e.g. "ColorMode") 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. "ColorMode") 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:"-"` }
GoogleChromeManagementV1PrintJob: Represents a request to print a document that has been submitted to a printer.
func (GoogleChromeManagementV1PrintJob) MarshalJSON ¶ added in v0.139.0
func (s GoogleChromeManagementV1PrintJob) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1PrinterReport ¶ added in v0.111.0
type GoogleChromeManagementV1PrinterReport struct { // DeviceCount: Number of chrome devices that have been used to send print jobs // to the specified printer. DeviceCount int64 `json:"deviceCount,omitempty,string"` // JobCount: Number of print jobs sent to the printer. JobCount int64 `json:"jobCount,omitempty,string"` // Printer: Printer name. Printer string `json:"printer,omitempty"` // PrinterId: Printer API ID. PrinterId string `json:"printerId,omitempty"` // PrinterModel: Printer model. PrinterModel string `json:"printerModel,omitempty"` // UserCount: Number of users that have sent print jobs to the printer. UserCount int64 `json:"userCount,omitempty,string"` // ForceSendFields is a list of field names (e.g. "DeviceCount") 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. "DeviceCount") 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:"-"` }
GoogleChromeManagementV1PrinterReport: Report for CountPrintJobsByPrinter, contains statistics on printer usage. Contains the total number of print jobs initiated with this printer, the number of users and the number of devices that have initiated at least one print job with this printer.
func (GoogleChromeManagementV1PrinterReport) MarshalJSON ¶ added in v0.111.0
func (s GoogleChromeManagementV1PrinterReport) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1RuntimeCountersReport ¶ added in v0.168.0
type GoogleChromeManagementV1RuntimeCountersReport struct { // EnterHibernationCount: Number of times that the device has entered into the // hibernation state. Currently obtained via the PSR, count from S0->S4. EnterHibernationCount int64 `json:"enterHibernationCount,omitempty,string"` // EnterPoweroffCount: Number of times that the device has entered into the // power-off state. Currently obtained via the PSR, count from S0->S5. EnterPoweroffCount int64 `json:"enterPoweroffCount,omitempty,string"` // EnterSleepCount: Number of times that the device has entered into the sleep // state. Currently obtained via the PSR, count from S0->S3. EnterSleepCount int64 `json:"enterSleepCount,omitempty,string"` // ReportTime: Timestamp when the report was collected. ReportTime string `json:"reportTime,omitempty"` // UptimeRuntimeDuration: Total lifetime runtime. Currently always S0 runtime // from Intel vPro PSR. UptimeRuntimeDuration string `json:"uptimeRuntimeDuration,omitempty"` // ForceSendFields is a list of field names (e.g. "EnterHibernationCount") 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. "EnterHibernationCount") 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:"-"` }
GoogleChromeManagementV1RuntimeCountersReport: Runtime counters retrieved from CPU. Currently the runtime counters telemetry is only supported by Intel vPro PSR on Gen 14+.
func (GoogleChromeManagementV1RuntimeCountersReport) MarshalJSON ¶ added in v0.168.0
func (s GoogleChromeManagementV1RuntimeCountersReport) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1StorageInfo ¶ added in v0.61.0
type GoogleChromeManagementV1StorageInfo struct { // AvailableDiskBytes: The available space for user data storage in the device // in bytes. AvailableDiskBytes int64 `json:"availableDiskBytes,omitempty,string"` // TotalDiskBytes: The total space for user data storage in the device in // bytes. TotalDiskBytes int64 `json:"totalDiskBytes,omitempty,string"` // Volume: Information for disk volumes Volume []*GoogleChromeManagementV1StorageInfoDiskVolume `json:"volume,omitempty"` // ForceSendFields is a list of field names (e.g. "AvailableDiskBytes") 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. "AvailableDiskBytes") 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:"-"` }
GoogleChromeManagementV1StorageInfo: Status data for storage. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: ReportDeviceStorageStatus (https://chromeenterprise.google/policies/#ReportDeviceStorageStatus) * Data Collection Frequency: Only at Upload * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A * Granular permission needed: TELEMETRY_API_STORAGE_INFO
func (GoogleChromeManagementV1StorageInfo) MarshalJSON ¶ added in v0.61.0
func (s GoogleChromeManagementV1StorageInfo) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1StorageInfoDiskVolume ¶ added in v0.61.0
type GoogleChromeManagementV1StorageInfoDiskVolume struct { // StorageFreeBytes: Free storage space in bytes. StorageFreeBytes int64 `json:"storageFreeBytes,omitempty,string"` // StorageTotalBytes: Total storage space in bytes. StorageTotalBytes int64 `json:"storageTotalBytes,omitempty,string"` // VolumeId: Disk volume id. VolumeId string `json:"volumeId,omitempty"` // ForceSendFields is a list of field names (e.g. "StorageFreeBytes") 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. "StorageFreeBytes") 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:"-"` }
GoogleChromeManagementV1StorageInfoDiskVolume: Information for disk volumes
func (GoogleChromeManagementV1StorageInfoDiskVolume) MarshalJSON ¶ added in v0.61.0
func (s GoogleChromeManagementV1StorageInfoDiskVolume) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1StorageStatusReport ¶ added in v0.61.0
type GoogleChromeManagementV1StorageStatusReport struct { // Disk: Output only. Reports on disk. Disk []*GoogleChromeManagementV1DiskInfo `json:"disk,omitempty"` // ReportTime: Output only. Timestamp of when the sample was collected on // device ReportTime string `json:"reportTime,omitempty"` // ForceSendFields is a list of field names (e.g. "Disk") 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. "Disk") 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:"-"` }
GoogleChromeManagementV1StorageStatusReport: Status data for storage. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: ReportDeviceStorageStatus (https://chromeenterprise.google/policies/#ReportDeviceStorageStatus) * Data Collection Frequency: Only at Upload * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A * Granular permission needed: TELEMETRY_API_STORAGE_REPORT
func (GoogleChromeManagementV1StorageStatusReport) MarshalJSON ¶ added in v0.61.0
func (s GoogleChromeManagementV1StorageStatusReport) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1TelemetryAppInstallEvent ¶ added in v0.182.0
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:"-"` }
GoogleChromeManagementV1TelemetryAppInstallEvent: App installation data.
func (GoogleChromeManagementV1TelemetryAppInstallEvent) MarshalJSON ¶ added in v0.182.0
func (s GoogleChromeManagementV1TelemetryAppInstallEvent) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1TelemetryAppLaunchEvent ¶ added in v0.182.0
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. // "APPLICATION_LAUNCH_SOURCE_SPARKY" - Application launched from // experimental feature Sparky. 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:"-"` }
GoogleChromeManagementV1TelemetryAppLaunchEvent: App launch data.
func (GoogleChromeManagementV1TelemetryAppLaunchEvent) MarshalJSON ¶ added in v0.182.0
func (s GoogleChromeManagementV1TelemetryAppLaunchEvent) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1TelemetryAppUninstallEvent ¶ added in v0.182.0
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:"-"` }
GoogleChromeManagementV1TelemetryAppUninstallEvent: App uninstall data.
func (GoogleChromeManagementV1TelemetryAppUninstallEvent) MarshalJSON ¶ added in v0.182.0
func (s GoogleChromeManagementV1TelemetryAppUninstallEvent) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1TelemetryAudioSevereUnderrunEvent ¶ added in v0.104.0
type GoogleChromeManagementV1TelemetryAudioSevereUnderrunEvent struct { }
GoogleChromeManagementV1TelemetryAudioSevereUnderrunEvent: `TelemetryAudioSevereUnderrunEvent` is triggered when a audio devices run out of buffer data for more than 5 seconds. * Granular permission needed: TELEMETRY_API_AUDIO_REPORT
type GoogleChromeManagementV1TelemetryDevice ¶ added in v0.61.0
type GoogleChromeManagementV1TelemetryDevice struct { // AppReport: Output only. App reports collected periodically sorted in a // decreasing order of report_time. AppReport []*GoogleChromeManagementV1AppReport `json:"appReport,omitempty"` // AudioStatusReport: Output only. Audio reports collected periodically sorted // in a decreasing order of report_time. AudioStatusReport []*GoogleChromeManagementV1AudioStatusReport `json:"audioStatusReport,omitempty"` // BatteryInfo: Output only. Information on battery specs for the device. BatteryInfo []*GoogleChromeManagementV1BatteryInfo `json:"batteryInfo,omitempty"` // BatteryStatusReport: Output only. Battery reports collected periodically. BatteryStatusReport []*GoogleChromeManagementV1BatteryStatusReport `json:"batteryStatusReport,omitempty"` // BootPerformanceReport: Output only. Boot performance reports of the device. BootPerformanceReport []*GoogleChromeManagementV1BootPerformanceReport `json:"bootPerformanceReport,omitempty"` // CpuInfo: Output only. Information regarding CPU specs for the device. CpuInfo []*GoogleChromeManagementV1CpuInfo `json:"cpuInfo,omitempty"` // CpuStatusReport: Output only. CPU status reports collected periodically // sorted in a decreasing order of report_time. CpuStatusReport []*GoogleChromeManagementV1CpuStatusReport `json:"cpuStatusReport,omitempty"` // Customer: Output only. Google Workspace Customer whose enterprise enrolled // the device. Customer string `json:"customer,omitempty"` // DeviceId: Output only. The unique Directory API ID of the device. This value // is the same as the Admin Console's Directory API ID in the ChromeOS Devices // tab DeviceId string `json:"deviceId,omitempty"` // GraphicsInfo: Output only. Contains information regarding Graphic // peripherals for the device. GraphicsInfo *GoogleChromeManagementV1GraphicsInfo `json:"graphicsInfo,omitempty"` // GraphicsStatusReport: Output only. Graphics reports collected periodically. GraphicsStatusReport []*GoogleChromeManagementV1GraphicsStatusReport `json:"graphicsStatusReport,omitempty"` // HeartbeatStatusReport: Output only. Heartbeat status report containing // timestamps periodically sorted in decreasing order of report_time HeartbeatStatusReport []*GoogleChromeManagementV1HeartbeatStatusReport `json:"heartbeatStatusReport,omitempty"` // KioskAppStatusReport: Output only. Kiosk app status report for the kiosk // device KioskAppStatusReport []*GoogleChromeManagementV1KioskAppStatusReport `json:"kioskAppStatusReport,omitempty"` // MemoryInfo: Output only. Information regarding memory specs for the device. MemoryInfo *GoogleChromeManagementV1MemoryInfo `json:"memoryInfo,omitempty"` // MemoryStatusReport: Output only. Memory status reports collected // periodically sorted decreasing by report_time. MemoryStatusReport []*GoogleChromeManagementV1MemoryStatusReport `json:"memoryStatusReport,omitempty"` // Name: Output only. Resource name of the device. Name string `json:"name,omitempty"` // NetworkBandwidthReport: Output only. Network bandwidth reports collected // periodically sorted in a decreasing order of report_time. NetworkBandwidthReport []*GoogleChromeManagementV1NetworkBandwidthReport `json:"networkBandwidthReport,omitempty"` // NetworkDiagnosticsReport: Output only. Network diagnostics collected // periodically. NetworkDiagnosticsReport []*GoogleChromeManagementV1NetworkDiagnosticsReport `json:"networkDiagnosticsReport,omitempty"` // NetworkInfo: Output only. Network devices information. NetworkInfo *GoogleChromeManagementV1NetworkInfo `json:"networkInfo,omitempty"` // NetworkStatusReport: Output only. Network specs collected periodically. NetworkStatusReport []*GoogleChromeManagementV1NetworkStatusReport `json:"networkStatusReport,omitempty"` // OrgUnitId: Output only. Organization unit ID of the device. OrgUnitId string `json:"orgUnitId,omitempty"` // OsUpdateStatus: Output only. Contains relevant information regarding // ChromeOS update status. OsUpdateStatus []*GoogleChromeManagementV1OsUpdateStatus `json:"osUpdateStatus,omitempty"` // PeripheralsReport: Output only. Peripherals reports collected periodically // sorted in a decreasing order of report_time. PeripheralsReport []*GoogleChromeManagementV1PeripheralsReport `json:"peripheralsReport,omitempty"` // RuntimeCountersReport: Output only. Runtime counters reports collected // device lifetime runtime, as well as the counts of S0->S3, S0->S4, and S0->S5 // transitions, meaning entering into sleep, hibernation, and power-off states RuntimeCountersReport []*GoogleChromeManagementV1RuntimeCountersReport `json:"runtimeCountersReport,omitempty"` // SerialNumber: Output only. Device serial number. This value is the same as // the Admin Console's Serial Number in the ChromeOS Devices tab. SerialNumber string `json:"serialNumber,omitempty"` // StorageInfo: Output only. Information of storage specs for the device. StorageInfo *GoogleChromeManagementV1StorageInfo `json:"storageInfo,omitempty"` // StorageStatusReport: Output only. Storage reports collected periodically. StorageStatusReport []*GoogleChromeManagementV1StorageStatusReport `json:"storageStatusReport,omitempty"` // ThunderboltInfo: Output only. Information on Thunderbolt bus. ThunderboltInfo []*GoogleChromeManagementV1ThunderboltInfo `json:"thunderboltInfo,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AppReport") 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. "AppReport") 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:"-"` }
GoogleChromeManagementV1TelemetryDevice: Telemetry data collected from a managed device. * Granular permission needed: TELEMETRY_API_DEVICE
func (GoogleChromeManagementV1TelemetryDevice) MarshalJSON ¶ added in v0.61.0
func (s GoogleChromeManagementV1TelemetryDevice) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1TelemetryDeviceInfo ¶ added in v0.104.0
type GoogleChromeManagementV1TelemetryDeviceInfo struct { // DeviceId: Output only. The unique Directory API ID of the device. This value // is the same as the Admin Console's Directory API ID in the ChromeOS Devices // tab. DeviceId string `json:"deviceId,omitempty"` // OrgUnitId: Output only. Organization unit ID of the device. OrgUnitId string `json:"orgUnitId,omitempty"` // ForceSendFields is a list of field names (e.g. "DeviceId") 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. "DeviceId") 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:"-"` }
GoogleChromeManagementV1TelemetryDeviceInfo: Information about a device associated with telemetry data. * Granular Permission needed: TELEMETRY_API_DEVICE
func (GoogleChromeManagementV1TelemetryDeviceInfo) MarshalJSON ¶ added in v0.104.0
func (s GoogleChromeManagementV1TelemetryDeviceInfo) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1TelemetryEvent ¶ added in v0.104.0
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"` // Device: Output only. Information about the device associated with the event. Device *GoogleChromeManagementV1TelemetryDeviceInfo `json:"device,omitempty"` // EventType: The event type of the current event. // // Possible values: // "EVENT_TYPE_UNSPECIFIED" - Event type unknown. // "AUDIO_SEVERE_UNDERRUN" - Triggered when a audio devices run out of buffer // data for more than 5 seconds. // "NETWORK_STATE_CHANGE" - Triggered immediately on any changes to a network // connection. // "USB_ADDED" - Triggered when USB devices are added. // "USB_REMOVED" - Triggered when USB devices are removed. // "NETWORK_HTTPS_LATENCY_CHANGE" - Triggered when a new HTTPS latency // problem was detected or the device has recovered form an existing HTTPS // latency problem. // "WIFI_SIGNAL_STRENGTH_LOW" - Triggered when connected WiFi network signal // strength drops below -70dBm. // "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. // "OS_CRASH" - Triggered when a crash occurs. EventType string `json:"eventType,omitempty"` // HttpsLatencyChangeEvent: Output only. Payload for HTTPS latency change // event. Present only when `event_type` is `NETWORK_HTTPS_LATENCY_CHANGE`. HttpsLatencyChangeEvent *GoogleChromeManagementV1TelemetryHttpsLatencyChangeEvent `json:"httpsLatencyChangeEvent,omitempty"` // Name: Output only. Resource name of the event. Name string `json:"name,omitempty"` // NetworkStateChangeEvent: Output only. Payload for network connection state // change event. Present only when `event_type` is `NETWORK_STATE_CHANGE`. NetworkStateChangeEvent *GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent `json:"networkStateChangeEvent,omitempty"` // ReportTime: Timestamp that represents when the event was reported. ReportTime string `json:"reportTime,omitempty"` // UsbPeripheralsEvent: Output only. Payload for usb peripherals event. Present // only when the `event_type` field is either `USB_ADDED` or `USB_REMOVED`. UsbPeripheralsEvent *GoogleChromeManagementV1TelemetryUsbPeripheralsEvent `json:"usbPeripheralsEvent,omitempty"` // User: Output only. Information about the user associated with the event. User *GoogleChromeManagementV1TelemetryUserInfo `json:"user,omitempty"` // VpnConnectionStateChangeEvent: Output only. Payload for VPN connection state // change event. Present only when `event_type` is // `VPN_CONNECTION_STATE_CHANGE`. VpnConnectionStateChangeEvent *GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent `json:"vpnConnectionStateChangeEvent,omitempty"` // WifiSignalStrengthEvent: Output only. Payload for WiFi signal strength // 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. "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. "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:"-"` }
GoogleChromeManagementV1TelemetryEvent: Telemetry data reported by a managed device.
func (GoogleChromeManagementV1TelemetryEvent) MarshalJSON ¶ added in v0.104.0
func (s GoogleChromeManagementV1TelemetryEvent) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1TelemetryEventNotificationFilter ¶ added in v0.139.0
type GoogleChromeManagementV1TelemetryEventNotificationFilter struct { // EventTypes: Only sends the notifications for events of these types. Must not // be empty. // // Possible values: // "EVENT_TYPE_UNSPECIFIED" - Event type unknown. // "AUDIO_SEVERE_UNDERRUN" - Triggered when a audio devices run out of buffer // data for more than 5 seconds. // "NETWORK_STATE_CHANGE" - Triggered immediately on any changes to a network // connection. // "USB_ADDED" - Triggered when USB devices are added. // "USB_REMOVED" - Triggered when USB devices are removed. // "NETWORK_HTTPS_LATENCY_CHANGE" - Triggered when a new HTTPS latency // problem was detected or the device has recovered form an existing HTTPS // latency problem. // "WIFI_SIGNAL_STRENGTH_LOW" - Triggered when connected WiFi network signal // strength drops below -70dBm. // "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. // "OS_CRASH" - Triggered when a crash occurs. 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 // 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. "EventTypes") 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:"-"` }
GoogleChromeManagementV1TelemetryEventNotificationFilter: Configures how the telemetry events should be filtered.
func (GoogleChromeManagementV1TelemetryEventNotificationFilter) MarshalJSON ¶ added in v0.139.0
func (s GoogleChromeManagementV1TelemetryEventNotificationFilter) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1TelemetryHttpsLatencyChangeEvent ¶ added in v0.104.0
type GoogleChromeManagementV1TelemetryHttpsLatencyChangeEvent struct { // HttpsLatencyRoutineData: HTTPS latency routine data that triggered the // event. HttpsLatencyRoutineData *GoogleChromeManagementV1HttpsLatencyRoutineData `json:"httpsLatencyRoutineData,omitempty"` // HttpsLatencyState: Current HTTPS latency state. // // Possible values: // "HTTPS_LATENCY_STATE_UNSPECIFIED" - HTTPS latency state is unspecified. // "RECOVERY" - HTTPS latency recovered from a problem. // "PROBLEM" - HTTPS latency problem. HttpsLatencyState string `json:"httpsLatencyState,omitempty"` // ForceSendFields is a list of field names (e.g. "HttpsLatencyRoutineData") 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. "HttpsLatencyRoutineData") 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:"-"` }
GoogleChromeManagementV1TelemetryHttpsLatencyChangeEvent: Https latency routine is run periodically and `TelemetryHttpsLatencyChangeEvent` is triggered if a latency problem was detected or if the device has recovered from a latency problem. * Granular permission needed: TELEMETRY_API_NETWORK_REPORT
func (GoogleChromeManagementV1TelemetryHttpsLatencyChangeEvent) MarshalJSON ¶ added in v0.104.0
func (s GoogleChromeManagementV1TelemetryHttpsLatencyChangeEvent) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent ¶ added in v0.104.0
type GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent struct { // ConnectionState: Current connection state of the network. // // Possible values: // "NETWORK_CONNECTION_STATE_UNSPECIFIED" - Network connection state // unspecified. // "ONLINE" - The network is connected and internet connectivity is // available. // "CONNECTED" - The network is connected and not in a detected portal state, // but internet connectivity may not be available. // "PORTAL" - The network is connected but a portal state was detected. // Internet connectivity may be limited. // "CONNECTING" - The network is in the process of connecting. // "NOT_CONNECTED" - The network is not connected. ConnectionState string `json:"connectionState,omitempty"` // Guid: Unique identifier of the network. Guid string `json:"guid,omitempty"` // ForceSendFields is a list of field names (e.g. "ConnectionState") 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. "ConnectionState") 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:"-"` }
GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent: `TelemetryNetworkConnectionStateChangeEvent` is triggered on network connection state changes. * Granular permission needed: TELEMETRY_API_NETWORK_REPORT
func (GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent) MarshalJSON ¶ added in v0.104.0
func (s GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1TelemetryNetworkSignalStrengthEvent ¶ added in v0.142.0
type GoogleChromeManagementV1TelemetryNetworkSignalStrengthEvent struct { // Guid: Unique identifier of the network. Guid string `json:"guid,omitempty"` // SignalStrengthDbm: Signal strength RSSI value. SignalStrengthDbm int64 `json:"signalStrengthDbm,omitempty"` // ForceSendFields is a list of field names (e.g. "Guid") 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. "Guid") 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:"-"` }
GoogleChromeManagementV1TelemetryNetworkSignalStrengthEvent: `TelemetryNetworkSignalStrengthEvent` is triggered on WiFi signal strength events. * Granular permission needed: TELEMETRY_API_NETWORK_REPORT
func (GoogleChromeManagementV1TelemetryNetworkSignalStrengthEvent) MarshalJSON ¶ added in v0.142.0
func (s GoogleChromeManagementV1TelemetryNetworkSignalStrengthEvent) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1TelemetryNotificationConfig ¶ added in v0.139.0
type GoogleChromeManagementV1TelemetryNotificationConfig struct { // Customer: Output only. Google Workspace customer that owns the resource. Customer string `json:"customer,omitempty"` // Filter: Only send notifications for telemetry data matching this filter. Filter *GoogleChromeManagementV1TelemetryNotificationFilter `json:"filter,omitempty"` // GoogleCloudPubsubTopic: The pubsub topic to which notifications are // published to. GoogleCloudPubsubTopic string `json:"googleCloudPubsubTopic,omitempty"` // Name: Output only. Resource name of the notification configuration. Name string `json:"name,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Customer") 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. "Customer") 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:"-"` }
GoogleChromeManagementV1TelemetryNotificationConfig: Configuration to receive notifications of telemetry data.
func (GoogleChromeManagementV1TelemetryNotificationConfig) MarshalJSON ¶ added in v0.139.0
func (s GoogleChromeManagementV1TelemetryNotificationConfig) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1TelemetryNotificationFilter ¶ added in v0.139.0
type GoogleChromeManagementV1TelemetryNotificationFilter struct { // DeviceId: If set, only sends notifications for telemetry data coming from // this device. DeviceId string `json:"deviceId,omitempty"` // DeviceOrgUnitId: If set, only sends notifications for telemetry data coming // from devices in this org unit. DeviceOrgUnitId string `json:"deviceOrgUnitId,omitempty"` // TelemetryEventNotificationFilter: Only sends notifications for the telemetry // events matching this filter. TelemetryEventNotificationFilter *GoogleChromeManagementV1TelemetryEventNotificationFilter `json:"telemetryEventNotificationFilter,omitempty"` // UserEmail: If set, only sends notifications for telemetry data coming from // devices owned by this user. UserEmail string `json:"userEmail,omitempty"` // UserOrgUnitId: If set, only sends notifications for telemetry data coming // from devices owned by users in this org unit. UserOrgUnitId string `json:"userOrgUnitId,omitempty"` // ForceSendFields is a list of field names (e.g. "DeviceId") 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. "DeviceId") 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:"-"` }
GoogleChromeManagementV1TelemetryNotificationFilter: Configures how the telemetry data should be filtered.
func (GoogleChromeManagementV1TelemetryNotificationFilter) MarshalJSON ¶ added in v0.139.0
func (s GoogleChromeManagementV1TelemetryNotificationFilter) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1TelemetryUsbPeripheralsEvent ¶ added in v0.107.0
type GoogleChromeManagementV1TelemetryUsbPeripheralsEvent struct { // UsbPeripheralReport: List of usb devices that were either added or removed. UsbPeripheralReport []*GoogleChromeManagementV1UsbPeripheralReport `json:"usbPeripheralReport,omitempty"` // ForceSendFields is a list of field names (e.g. "UsbPeripheralReport") 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. "UsbPeripheralReport") 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:"-"` }
GoogleChromeManagementV1TelemetryUsbPeripheralsEvent: `TelemetryUsbPeripheralsEvent` is triggered USB devices are either added or removed. * Granular permission needed: TELEMETRY_API_PERIPHERALS_REPORT
func (GoogleChromeManagementV1TelemetryUsbPeripheralsEvent) MarshalJSON ¶ added in v0.107.0
func (s GoogleChromeManagementV1TelemetryUsbPeripheralsEvent) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1TelemetryUser ¶ added in v0.109.0
type GoogleChromeManagementV1TelemetryUser struct { // Customer: G Suite Customer whose enterprise enrolled the device. Customer string `json:"customer,omitempty"` // Name: Resource name of the user. Name string `json:"name,omitempty"` // OrgUnitId: Organization unit of the user. OrgUnitId string `json:"orgUnitId,omitempty"` // UserDevice: Telemetry data collected from a managed user and device. UserDevice []*GoogleChromeManagementV1TelemetryUserDevice `json:"userDevice,omitempty"` // UserEmail: Email address of the user. UserEmail string `json:"userEmail,omitempty"` // UserId: Directory ID of the user. UserId string `json:"userId,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Customer") 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. "Customer") 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:"-"` }
GoogleChromeManagementV1TelemetryUser: Telemetry data collected from a managed user. * Granular permission needed: TELEMETRY_API_USER
func (GoogleChromeManagementV1TelemetryUser) MarshalJSON ¶ added in v0.109.0
func (s GoogleChromeManagementV1TelemetryUser) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1TelemetryUserDevice ¶ added in v0.109.0
type GoogleChromeManagementV1TelemetryUserDevice struct { // AppReport: Output only. App reports collected periodically sorted in a // decreasing order of report_time. AppReport []*GoogleChromeManagementV1AppReport `json:"appReport,omitempty"` // AudioStatusReport: Output only. Audio reports collected periodically sorted // in a decreasing order of report_time. AudioStatusReport []*GoogleChromeManagementV1AudioStatusReport `json:"audioStatusReport,omitempty"` // DeviceActivityReport: Output only. Device activity reports collected // periodically sorted in a decreasing order of report_time. DeviceActivityReport []*GoogleChromeManagementV1DeviceActivityReport `json:"deviceActivityReport,omitempty"` // DeviceId: The unique Directory API ID of the device. This value is the same // as the Admin Console's Directory API ID in the ChromeOS Devices tab. DeviceId string `json:"deviceId,omitempty"` // NetworkBandwidthReport: Output only. Network bandwidth reports collected // periodically sorted in a decreasing order of report_time. NetworkBandwidthReport []*GoogleChromeManagementV1NetworkBandwidthReport `json:"networkBandwidthReport,omitempty"` // PeripheralsReport: Output only. Peripherals reports collected periodically // sorted in a decreasing order of report_time. PeripheralsReport []*GoogleChromeManagementV1PeripheralsReport `json:"peripheralsReport,omitempty"` // ForceSendFields is a list of field names (e.g. "AppReport") 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. "AppReport") 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:"-"` }
GoogleChromeManagementV1TelemetryUserDevice: Telemetry data collected for a managed user and device. * Granular permission needed: TELEMETRY_API_DEVICE
func (GoogleChromeManagementV1TelemetryUserDevice) MarshalJSON ¶ added in v0.109.0
func (s GoogleChromeManagementV1TelemetryUserDevice) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1TelemetryUserInfo ¶ added in v0.104.0
type GoogleChromeManagementV1TelemetryUserInfo struct { // Email: Output only. User's email. Email string `json:"email,omitempty"` // OrgUnitId: Output only. Organization unit ID of the user. OrgUnitId string `json:"orgUnitId,omitempty"` // ForceSendFields is a list of field names (e.g. "Email") 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. "Email") 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:"-"` }
GoogleChromeManagementV1TelemetryUserInfo: Information about a user associated with telemetry data. * Granular permission needed: TELEMETRY_API_USER
func (GoogleChromeManagementV1TelemetryUserInfo) MarshalJSON ¶ added in v0.104.0
func (s GoogleChromeManagementV1TelemetryUserInfo) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1ThunderboltInfo ¶ added in v0.87.0
type GoogleChromeManagementV1ThunderboltInfo struct { // SecurityLevel: Security level of the Thunderbolt bus. // // Possible values: // "THUNDERBOLT_SECURITY_LEVEL_UNSPECIFIED" - Thunderbolt security level is // not set. // "THUNDERBOLT_SECURITY_NONE_LEVEL" - All devices are automatically // connected by the firmware. No user approval is needed. // "THUNDERBOLT_SECURITY_USER_LEVEL" - User is asked whether the device is // allowed to be connected. // "THUNDERBOLT_SECURITY_SECURE_LEVEL" - User is asked whether the device is // allowed to be connected. In addition the device is sent a challenge that // should match the expected one based on a random key written to the key sysfs // attribute // "THUNDERBOLT_SECURITY_DP_ONLY_LEVEL" - The firmware automatically creates // tunnels for Thunderbolt. // "THUNDERBOLT_SECURITY_USB_ONLY_LEVEL" - The firmware automatically creates // tunnels for the USB controller and Display Port in a dock. All PCIe links // downstream of the dock are removed. // "THUNDERBOLT_SECURITY_NO_PCIE_LEVEL" - PCIE tunneling is disabled. SecurityLevel string `json:"securityLevel,omitempty"` // ForceSendFields is a list of field names (e.g. "SecurityLevel") 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. "SecurityLevel") 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:"-"` }
GoogleChromeManagementV1ThunderboltInfo: Thunderbolt bus info. * This field provides device information, which is static and will not change over time. * Data for this field is controlled via policy: ReportDeviceSecurityStatus (https://chromeenterprise.google/policies/#ReportDeviceSecurityStatus) * Data Collection Frequency: At device startup * Default Data Reporting Frequency: At device startup - Policy Controlled: No * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: Yes * Reported for affiliated users only: N/A * Granular permission needed: TELEMETRY_API_BUS_DEVICE_INFO
func (GoogleChromeManagementV1ThunderboltInfo) MarshalJSON ¶ added in v0.87.0
func (s GoogleChromeManagementV1ThunderboltInfo) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1TotalMemoryEncryptionInfo ¶ added in v0.87.0
type GoogleChromeManagementV1TotalMemoryEncryptionInfo struct { // EncryptionAlgorithm: Memory encryption algorithm. // // Possible values: // "MEMORY_ENCRYPTION_ALGORITHM_UNSPECIFIED" - Memory encryption algorithm is // not set. // "MEMORY_ENCRYPTION_ALGORITHM_UNKNOWN" - The memory encryption algorithm // being used is unknown. // "MEMORY_ENCRYPTION_ALGORITHM_AES_XTS_128" - The memory encryption // algorithm is using the AES_XTS encryption algorithm with a 128 bit block // cypher. // "MEMORY_ENCRYPTION_ALGORITHM_AES_XTS_256" - The memory encryption // algorithm is using the AES_XTS encryption algorithm with a 256 bit block // cypher. EncryptionAlgorithm string `json:"encryptionAlgorithm,omitempty"` // EncryptionState: The state of memory encryption on the device. // // Possible values: // "MEMORY_ENCRYPTION_STATE_UNSPECIFIED" - Memory encryption state is not // set. // "MEMORY_ENCRYPTION_STATE_UNKNOWN" - The memory encryption state is // unknown. // "MEMORY_ENCRYPTION_STATE_DISABLED" - Memory encrpytion on the device is // disabled. // "MEMORY_ENCRYPTION_STATE_TME" - Memory encryption on the device uses total // memory encryption. // "MEMORY_ENCRYPTION_STATE_MKTME" - Memory encryption on the device uses // multi-key total memory encryption. EncryptionState string `json:"encryptionState,omitempty"` // KeyLength: The length of the encryption keys. KeyLength int64 `json:"keyLength,omitempty,string"` // MaxKeys: The maximum number of keys that can be used for encryption. MaxKeys int64 `json:"maxKeys,omitempty,string"` // ForceSendFields is a list of field names (e.g. "EncryptionAlgorithm") 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. "EncryptionAlgorithm") 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:"-"` }
GoogleChromeManagementV1TotalMemoryEncryptionInfo: Memory encryption information of a device. * This field provides device information, which is static and will not change over time. * Data for this field is controlled via policy: ReportDeviceMemoryInfo (https://chromeenterprise.google/policies/#ReportDeviceMemoryInfo) * Data Collection Frequency: At device startup * Default Data Reporting Frequency: At device startup - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: Yes * Reported for affiliated users only: N/A
func (GoogleChromeManagementV1TotalMemoryEncryptionInfo) MarshalJSON ¶ added in v0.87.0
func (s GoogleChromeManagementV1TotalMemoryEncryptionInfo) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1TouchScreenDevice ¶ added in v0.111.0
type GoogleChromeManagementV1TouchScreenDevice struct { // DisplayName: Output only. Touch screen device display name. DisplayName string `json:"displayName,omitempty"` // StylusCapable: Output only. Touch screen device is stylus capable or not. StylusCapable bool `json:"stylusCapable,omitempty"` // TouchPointCount: Output only. Number of touch points supported on the // device. TouchPointCount int64 `json:"touchPointCount,omitempty"` // ForceSendFields is a list of field names (e.g. "DisplayName") 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. "DisplayName") 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:"-"` }
GoogleChromeManagementV1TouchScreenDevice: Information of an internal touch screen device.
func (GoogleChromeManagementV1TouchScreenDevice) MarshalJSON ¶ added in v0.111.0
func (s GoogleChromeManagementV1TouchScreenDevice) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1TouchScreenInfo ¶ added in v0.111.0
type GoogleChromeManagementV1TouchScreenInfo struct { // Devices: Output only. List of the internal touch screen devices. Devices []*GoogleChromeManagementV1TouchScreenDevice `json:"devices,omitempty"` // TouchpadLibrary: Output only. Touchpad library name used by the input stack. TouchpadLibrary string `json:"touchpadLibrary,omitempty"` // ForceSendFields is a list of field names (e.g. "Devices") 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. "Devices") 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:"-"` }
GoogleChromeManagementV1TouchScreenInfo: Information on the device touch screen.
func (GoogleChromeManagementV1TouchScreenInfo) MarshalJSON ¶ added in v0.111.0
func (s GoogleChromeManagementV1TouchScreenInfo) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1UsbPeripheralReport ¶ added in v0.107.0
type GoogleChromeManagementV1UsbPeripheralReport struct { // Categories: Output only. Categories the device belongs to // https://www.usb.org/defined-class-codes Categories []string `json:"categories,omitempty"` // ClassId: Output only. Class ID https://www.usb.org/defined-class-codes ClassId int64 `json:"classId,omitempty"` // FirmwareVersion: Output only. Firmware version FirmwareVersion string `json:"firmwareVersion,omitempty"` // Name: Output only. Device name, model name, or product name Name string `json:"name,omitempty"` // Pid: Output only. Product ID Pid int64 `json:"pid,omitempty"` // SubclassId: Output only. Subclass ID https://www.usb.org/defined-class-codes SubclassId int64 `json:"subclassId,omitempty"` // Vendor: Output only. Vendor name Vendor string `json:"vendor,omitempty"` // Vid: Output only. Vendor ID Vid int64 `json:"vid,omitempty"` // ForceSendFields is a list of field names (e.g. "Categories") 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. "Categories") 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:"-"` }
GoogleChromeManagementV1UsbPeripheralReport: USB connected peripheral report.
func (GoogleChromeManagementV1UsbPeripheralReport) MarshalJSON ¶ added in v0.107.0
func (s GoogleChromeManagementV1UsbPeripheralReport) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1UserPrintReport ¶ added in v0.111.0
type GoogleChromeManagementV1UserPrintReport struct { // DeviceCount: Number of chrome devices that have been used to initiate print // jobs by the user. DeviceCount int64 `json:"deviceCount,omitempty,string"` // JobCount: Number of print jobs initiated by the user. JobCount int64 `json:"jobCount,omitempty,string"` // PrinterCount: Number of printers used by the user. PrinterCount int64 `json:"printerCount,omitempty,string"` // UserEmail: The primary e-mail address of the user. UserEmail string `json:"userEmail,omitempty"` // UserId: The unique Directory API ID of the user. UserId string `json:"userId,omitempty"` // ForceSendFields is a list of field names (e.g. "DeviceCount") 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. "DeviceCount") 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:"-"` }
GoogleChromeManagementV1UserPrintReport: Report for CountPrintJobsByUser, contains printing statistics for a user. Contains the number of printers, the number of devices used to initiate print jobs, and the number of print jobs initiated.
func (GoogleChromeManagementV1UserPrintReport) MarshalJSON ¶ added in v0.111.0
func (s GoogleChromeManagementV1UserPrintReport) MarshalJSON() ([]byte, error)
type GoogleChromeManagementV1UserRequestingExtensionDetails ¶ added in v0.170.0
type GoogleChromeManagementV1UserRequestingExtensionDetails struct { // Email: The e-mail address of a user that has requested the extension. Email string `json:"email,omitempty"` // Justification: Request justification as entered by the user. Justification string `json:"justification,omitempty"` // ForceSendFields is a list of field names (e.g. "Email") 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. "Email") 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:"-"` }
GoogleChromeManagementV1UserRequestingExtensionDetails: Details of a user requesting an extension, including the email and the justification.
func (GoogleChromeManagementV1UserRequestingExtensionDetails) MarshalJSON ¶ added in v0.170.0
func (s GoogleChromeManagementV1UserRequestingExtensionDetails) MarshalJSON() ([]byte, error)
type GoogleProtobufEmpty ¶ added in v0.139.0
type GoogleProtobufEmpty struct { // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` }
GoogleProtobufEmpty: A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
type GoogleRpcStatus ¶ added in v0.53.0
type GoogleRpcStatus struct { // Code: The status code, which should be an enum value of google.rpc.Code. Code int64 `json:"code,omitempty"` // Details: A list of messages that carry the error details. There is a common // set of message types for APIs to use. Details []googleapi.RawMessage `json:"details,omitempty"` // Message: A developer-facing error message, which should be in English. Any // user-facing error message should be localized and sent in the // google.rpc.Status.details field, or localized by the client. Message string `json:"message,omitempty"` // ForceSendFields is a list of field names (e.g. "Code") 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. "Code") 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:"-"` }
GoogleRpcStatus: The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors).
func (GoogleRpcStatus) MarshalJSON ¶ added in v0.53.0
func (s GoogleRpcStatus) MarshalJSON() ([]byte, error)
type GoogleTypeDate ¶ added in v0.61.0
type GoogleTypeDate struct { // Day: Day of a month. Must be from 1 to 31 and valid for the year and month, // or 0 to specify a year by itself or a year and month where the day isn't // significant. Day int64 `json:"day,omitempty"` // Month: Month of a year. Must be from 1 to 12, or 0 to specify a year without // a month and day. Month int64 `json:"month,omitempty"` // Year: Year of the date. Must be from 1 to 9999, or 0 to specify a date // without a year. Year int64 `json:"year,omitempty"` // ForceSendFields is a list of field names (e.g. "Day") 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. "Day") 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:"-"` }
GoogleTypeDate: Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
func (GoogleTypeDate) MarshalJSON ¶ added in v0.61.0
func (s GoogleTypeDate) MarshalJSON() ([]byte, error)
type Service ¶
type Service struct { BasePath string // API endpoint base URL UserAgent string // optional additional User-Agent fragment Customers *CustomersService // contains filtered or unexported fields }
func New
deprecated
New creates a new Service. It uses the provided http.Client for requests.
Deprecated: please use NewService instead. To provide a custom HTTP client, use option.WithHTTPClient. If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.
func NewService ¶
NewService creates a new Service.