Documentation

Overview

Package androidenterprise provides access to the Google Play EMM API.

For product documentation, see: https://developers.google.com/android/work/play/emm-api

Creating a client

Usage example:

import "google.golang.org/api/androidenterprise/v1"
...
ctx := context.Background()
androidenterpriseService, err := androidenterprise.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

To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:

androidenterpriseService, err := androidenterprise.NewService(ctx, option.WithAPIKey("AIza..."))

To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:

config := &oauth2.Config{...}
// ...
token, err := config.Exchange(ctx, ...)
androidenterpriseService, err := androidenterprise.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))

See https://godoc.org/google.golang.org/api/option/ for details on options.

Index

Constants

View Source
const (
	// Manage corporate Android devices
	AndroidenterpriseScope = "https://www.googleapis.com/auth/androidenterprise"
)

    OAuth2 scopes used by this API.

    Variables

    This section is empty.

    Functions

    This section is empty.

    Types

    type Administrator

    type Administrator struct {
    	// Email: The admin's email address.
    	Email string `json:"email,omitempty"`
    
    	// ForceSendFields is a list of field names (e.g. "Email") to
    	// unconditionally include in API requests. By default, fields with
    	// empty values are omitted from API requests. However, any non-pointer,
    	// non-interface field appearing in ForceSendFields will be sent to the
    	// server regardless of whether the field is empty or not. This may be
    	// used to include empty fields in Patch requests.
    	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. However, any field with an
    	// empty value appearing in NullFields will be sent to the server as
    	// null. It is an error if a field in this list has a non-empty value.
    	// This may be used to include null fields in Patch requests.
    	NullFields []string `json:"-"`
    }

      Administrator: This represents an enterprise admin who can manage the enterprise in the managed Google Play store.

      func (*Administrator) MarshalJSON

      func (s *Administrator) MarshalJSON() ([]byte, error)

      type AdministratorWebToken

      type AdministratorWebToken struct {
      	Kind string `json:"kind,omitempty"`
      
      	// Token: An opaque token to be passed to the Play front-end to generate
      	// an iframe.
      	Token string `json:"token,omitempty"`
      
      	// ServerResponse contains the HTTP response code and headers from the
      	// server.
      	googleapi.ServerResponse `json:"-"`
      
      	// ForceSendFields is a list of field names (e.g. "Kind") to
      	// unconditionally include in API requests. By default, fields with
      	// empty values are omitted from API requests. However, any non-pointer,
      	// non-interface field appearing in ForceSendFields will be sent to the
      	// server regardless of whether the field is empty or not. This may be
      	// used to include empty fields in Patch requests.
      	ForceSendFields []string `json:"-"`
      
      	// NullFields is a list of field names (e.g. "Kind") to include in API
      	// requests with the JSON null value. By default, fields with empty
      	// values are omitted from API requests. However, any field with an
      	// empty value appearing in NullFields will be sent to the server as
      	// null. It is an error if a field in this list has a non-empty value.
      	// This may be used to include null fields in Patch requests.
      	NullFields []string `json:"-"`
      }

        AdministratorWebToken: A token authorizing an admin to access an iframe.

        func (*AdministratorWebToken) MarshalJSON

        func (s *AdministratorWebToken) MarshalJSON() ([]byte, error)

        type AdministratorWebTokenSpec

        type AdministratorWebTokenSpec struct {
        	Kind string `json:"kind,omitempty"`
        
        	// ManagedConfigurations: Options for displaying the Managed
        	// Configuration page.
        	ManagedConfigurations *AdministratorWebTokenSpecManagedConfigurations `json:"managedConfigurations,omitempty"`
        
        	// Parent: The URI of the parent frame hosting the iframe. To prevent
        	// XSS, the iframe may not be hosted at other URIs. This URI must be
        	// https. Use whitespaces to separate multiple parent URIs.
        	Parent string `json:"parent,omitempty"`
        
        	// Permission: Deprecated. Use PlaySearch.approveApps.
        	Permission []string `json:"permission,omitempty"`
        
        	// PlaySearch: Options for displaying the managed Play Search apps page.
        	PlaySearch *AdministratorWebTokenSpecPlaySearch `json:"playSearch,omitempty"`
        
        	// PrivateApps: Options for displaying the Private Apps page.
        	PrivateApps *AdministratorWebTokenSpecPrivateApps `json:"privateApps,omitempty"`
        
        	// StoreBuilder: Options for displaying the Organize apps page.
        	StoreBuilder *AdministratorWebTokenSpecStoreBuilder `json:"storeBuilder,omitempty"`
        
        	// WebApps: Options for displaying the Web Apps page.
        	WebApps *AdministratorWebTokenSpecWebApps `json:"webApps,omitempty"`
        
        	// ForceSendFields is a list of field names (e.g. "Kind") to
        	// unconditionally include in API requests. By default, fields with
        	// empty values are omitted from API requests. However, any non-pointer,
        	// non-interface field appearing in ForceSendFields will be sent to the
        	// server regardless of whether the field is empty or not. This may be
        	// used to include empty fields in Patch requests.
        	ForceSendFields []string `json:"-"`
        
        	// NullFields is a list of field names (e.g. "Kind") to include in API
        	// requests with the JSON null value. By default, fields with empty
        	// values are omitted from API requests. However, any field with an
        	// empty value appearing in NullFields will be sent to the server as
        	// null. It is an error if a field in this list has a non-empty value.
        	// This may be used to include null fields in Patch requests.
        	NullFields []string `json:"-"`
        }

          AdministratorWebTokenSpec: Specification for a token used to generate iframes. The token specifies what data the admin is allowed to modify and the URI the iframe is allowed to communiate with.

          func (*AdministratorWebTokenSpec) MarshalJSON

          func (s *AdministratorWebTokenSpec) MarshalJSON() ([]byte, error)

          type AdministratorWebTokenSpecManagedConfigurations

          type AdministratorWebTokenSpecManagedConfigurations struct {
          	// Enabled: Whether the Managed Configuration page is displayed. Default
          	// is true.
          	Enabled bool `json:"enabled,omitempty"`
          
          	// ForceSendFields is a list of field names (e.g. "Enabled") to
          	// unconditionally include in API requests. By default, fields with
          	// empty values are omitted from API requests. However, any non-pointer,
          	// non-interface field appearing in ForceSendFields will be sent to the
          	// server regardless of whether the field is empty or not. This may be
          	// used to include empty fields in Patch requests.
          	ForceSendFields []string `json:"-"`
          
          	// NullFields is a list of field names (e.g. "Enabled") to include in
          	// API requests with the JSON null value. By default, fields with empty
          	// values are omitted from API requests. However, any field with an
          	// empty value appearing in NullFields will be sent to the server as
          	// null. It is an error if a field in this list has a non-empty value.
          	// This may be used to include null fields in Patch requests.
          	NullFields []string `json:"-"`
          }

          func (*AdministratorWebTokenSpecManagedConfigurations) MarshalJSON

          type AdministratorWebTokenSpecPlaySearch

          type AdministratorWebTokenSpecPlaySearch struct {
          	// ApproveApps: Allow access to the iframe in approve mode. Default is
          	// false.
          	ApproveApps bool `json:"approveApps,omitempty"`
          
          	// Enabled: Whether the managed Play Search apps page is displayed.
          	// Default is true.
          	Enabled bool `json:"enabled,omitempty"`
          
          	// ForceSendFields is a list of field names (e.g. "ApproveApps") to
          	// unconditionally include in API requests. By default, fields with
          	// empty values are omitted from API requests. However, any non-pointer,
          	// non-interface field appearing in ForceSendFields will be sent to the
          	// server regardless of whether the field is empty or not. This may be
          	// used to include empty fields in Patch requests.
          	ForceSendFields []string `json:"-"`
          
          	// NullFields is a list of field names (e.g. "ApproveApps") to include
          	// in API requests with the JSON null value. By default, fields with
          	// empty values are omitted from API requests. However, any field with
          	// an empty value appearing in NullFields will be sent to the server as
          	// null. It is an error if a field in this list has a non-empty value.
          	// This may be used to include null fields in Patch requests.
          	NullFields []string `json:"-"`
          }

          func (*AdministratorWebTokenSpecPlaySearch) MarshalJSON

          func (s *AdministratorWebTokenSpecPlaySearch) MarshalJSON() ([]byte, error)

          type AdministratorWebTokenSpecPrivateApps

          type AdministratorWebTokenSpecPrivateApps struct {
          	// Enabled: Whether the Private Apps page is displayed. Default is true.
          	Enabled bool `json:"enabled,omitempty"`
          
          	// ForceSendFields is a list of field names (e.g. "Enabled") to
          	// unconditionally include in API requests. By default, fields with
          	// empty values are omitted from API requests. However, any non-pointer,
          	// non-interface field appearing in ForceSendFields will be sent to the
          	// server regardless of whether the field is empty or not. This may be
          	// used to include empty fields in Patch requests.
          	ForceSendFields []string `json:"-"`
          
          	// NullFields is a list of field names (e.g. "Enabled") to include in
          	// API requests with the JSON null value. By default, fields with empty
          	// values are omitted from API requests. However, any field with an
          	// empty value appearing in NullFields will be sent to the server as
          	// null. It is an error if a field in this list has a non-empty value.
          	// This may be used to include null fields in Patch requests.
          	NullFields []string `json:"-"`
          }

          func (*AdministratorWebTokenSpecPrivateApps) MarshalJSON

          func (s *AdministratorWebTokenSpecPrivateApps) MarshalJSON() ([]byte, error)

          type AdministratorWebTokenSpecStoreBuilder

          type AdministratorWebTokenSpecStoreBuilder struct {
          	// Enabled: Whether the Organize apps page is displayed. Default is
          	// true.
          	Enabled bool `json:"enabled,omitempty"`
          
          	// ForceSendFields is a list of field names (e.g. "Enabled") to
          	// unconditionally include in API requests. By default, fields with
          	// empty values are omitted from API requests. However, any non-pointer,
          	// non-interface field appearing in ForceSendFields will be sent to the
          	// server regardless of whether the field is empty or not. This may be
          	// used to include empty fields in Patch requests.
          	ForceSendFields []string `json:"-"`
          
          	// NullFields is a list of field names (e.g. "Enabled") to include in
          	// API requests with the JSON null value. By default, fields with empty
          	// values are omitted from API requests. However, any field with an
          	// empty value appearing in NullFields will be sent to the server as
          	// null. It is an error if a field in this list has a non-empty value.
          	// This may be used to include null fields in Patch requests.
          	NullFields []string `json:"-"`
          }

          func (*AdministratorWebTokenSpecStoreBuilder) MarshalJSON

          func (s *AdministratorWebTokenSpecStoreBuilder) MarshalJSON() ([]byte, error)

          type AdministratorWebTokenSpecWebApps

          type AdministratorWebTokenSpecWebApps struct {
          	// Enabled: Whether the Web Apps page is displayed. Default is true.
          	Enabled bool `json:"enabled,omitempty"`
          
          	// ForceSendFields is a list of field names (e.g. "Enabled") to
          	// unconditionally include in API requests. By default, fields with
          	// empty values are omitted from API requests. However, any non-pointer,
          	// non-interface field appearing in ForceSendFields will be sent to the
          	// server regardless of whether the field is empty or not. This may be
          	// used to include empty fields in Patch requests.
          	ForceSendFields []string `json:"-"`
          
          	// NullFields is a list of field names (e.g. "Enabled") to include in
          	// API requests with the JSON null value. By default, fields with empty
          	// values are omitted from API requests. However, any field with an
          	// empty value appearing in NullFields will be sent to the server as
          	// null. It is an error if a field in this list has a non-empty value.
          	// This may be used to include null fields in Patch requests.
          	NullFields []string `json:"-"`
          }

          func (*AdministratorWebTokenSpecWebApps) MarshalJSON

          func (s *AdministratorWebTokenSpecWebApps) MarshalJSON() ([]byte, error)

          type AppRestrictionsSchema

          type AppRestrictionsSchema struct {
          	Kind string `json:"kind,omitempty"`
          
          	// Restrictions: The set of restrictions that make up this schema.
          	Restrictions []*AppRestrictionsSchemaRestriction `json:"restrictions,omitempty"`
          
          	// ServerResponse contains the HTTP response code and headers from the
          	// server.
          	googleapi.ServerResponse `json:"-"`
          
          	// ForceSendFields is a list of field names (e.g. "Kind") to
          	// unconditionally include in API requests. By default, fields with
          	// empty values are omitted from API requests. However, any non-pointer,
          	// non-interface field appearing in ForceSendFields will be sent to the
          	// server regardless of whether the field is empty or not. This may be
          	// used to include empty fields in Patch requests.
          	ForceSendFields []string `json:"-"`
          
          	// NullFields is a list of field names (e.g. "Kind") to include in API
          	// requests with the JSON null value. By default, fields with empty
          	// values are omitted from API requests. However, any field with an
          	// empty value appearing in NullFields will be sent to the server as
          	// null. It is an error if a field in this list has a non-empty value.
          	// This may be used to include null fields in Patch requests.
          	NullFields []string `json:"-"`
          }

            AppRestrictionsSchema: Represents the list of app restrictions available to be pre-configured for the product.

            func (*AppRestrictionsSchema) MarshalJSON

            func (s *AppRestrictionsSchema) MarshalJSON() ([]byte, error)

            type AppRestrictionsSchemaChangeEvent

            type AppRestrictionsSchemaChangeEvent struct {
            	// ProductId: The id of the product (e.g. "app:com.google.android.gm")
            	// for which the app restriction schema changed. This field will always
            	// be present.
            	ProductId string `json:"productId,omitempty"`
            
            	// ForceSendFields is a list of field names (e.g. "ProductId") to
            	// unconditionally include in API requests. By default, fields with
            	// empty values are omitted from API requests. However, any non-pointer,
            	// non-interface field appearing in ForceSendFields will be sent to the
            	// server regardless of whether the field is empty or not. This may be
            	// used to include empty fields in Patch requests.
            	ForceSendFields []string `json:"-"`
            
            	// NullFields is a list of field names (e.g. "ProductId") to include in
            	// API requests with the JSON null value. By default, fields with empty
            	// values are omitted from API requests. However, any field with an
            	// empty value appearing in NullFields will be sent to the server as
            	// null. It is an error if a field in this list has a non-empty value.
            	// This may be used to include null fields in Patch requests.
            	NullFields []string `json:"-"`
            }

              AppRestrictionsSchemaChangeEvent: An event generated when a new app version is uploaded to Google Play and its app restrictions schema changed. To fetch the app restrictions schema for an app, use Products.getAppRestrictionsSchema on the EMM API.

              func (*AppRestrictionsSchemaChangeEvent) MarshalJSON

              func (s *AppRestrictionsSchemaChangeEvent) MarshalJSON() ([]byte, error)

              type AppRestrictionsSchemaRestriction

              type AppRestrictionsSchemaRestriction struct {
              	// DefaultValue: The default value of the restriction. bundle and
              	// bundleArray restrictions never have a default value.
              	DefaultValue *AppRestrictionsSchemaRestrictionRestrictionValue `json:"defaultValue,omitempty"`
              
              	// Description: A longer description of the restriction, giving more
              	// detail of what it affects.
              	Description string `json:"description,omitempty"`
              
              	// Entry: For choice or multiselect restrictions, the list of possible
              	// entries' human-readable names.
              	Entry []string `json:"entry,omitempty"`
              
              	// EntryValue: For choice or multiselect restrictions, the list of
              	// possible entries' machine-readable values. These values should be
              	// used in the configuration, either as a single string value for a
              	// choice restriction or in a stringArray for a multiselect restriction.
              	EntryValue []string `json:"entryValue,omitempty"`
              
              	// Key: The unique key that the product uses to identify the
              	// restriction, e.g. "com.google.android.gm.fieldname".
              	Key string `json:"key,omitempty"`
              
              	// NestedRestriction: For bundle or bundleArray restrictions, the list
              	// of nested restrictions. A bundle restriction is always nested within
              	// a bundleArray restriction, and a bundleArray restriction is at most
              	// two levels deep.
              	NestedRestriction []*AppRestrictionsSchemaRestriction `json:"nestedRestriction,omitempty"`
              
              	// RestrictionType: The type of the restriction.
              	RestrictionType string `json:"restrictionType,omitempty"`
              
              	// Title: The name of the restriction.
              	Title string `json:"title,omitempty"`
              
              	// ForceSendFields is a list of field names (e.g. "DefaultValue") to
              	// unconditionally include in API requests. By default, fields with
              	// empty values are omitted from API requests. However, any non-pointer,
              	// non-interface field appearing in ForceSendFields will be sent to the
              	// server regardless of whether the field is empty or not. This may be
              	// used to include empty fields in Patch requests.
              	ForceSendFields []string `json:"-"`
              
              	// NullFields is a list of field names (e.g. "DefaultValue") to include
              	// in API requests with the JSON null value. By default, fields with
              	// empty values are omitted from API requests. However, any field with
              	// an empty value appearing in NullFields will be sent to the server as
              	// null. It is an error if a field in this list has a non-empty value.
              	// This may be used to include null fields in Patch requests.
              	NullFields []string `json:"-"`
              }

                AppRestrictionsSchemaRestriction: A restriction in the App Restriction Schema represents a piece of configuration that may be pre-applied.

                func (*AppRestrictionsSchemaRestriction) MarshalJSON

                func (s *AppRestrictionsSchemaRestriction) MarshalJSON() ([]byte, error)

                type AppRestrictionsSchemaRestrictionRestrictionValue

                type AppRestrictionsSchemaRestrictionRestrictionValue struct {
                	// Type: The type of the value being provided.
                	Type string `json:"type,omitempty"`
                
                	// ValueBool: The boolean value - this will only be present if type is
                	// bool.
                	ValueBool bool `json:"valueBool,omitempty"`
                
                	// ValueInteger: The integer value - this will only be present if type
                	// is integer.
                	ValueInteger int64 `json:"valueInteger,omitempty"`
                
                	// ValueMultiselect: The list of string values - this will only be
                	// present if type is multiselect.
                	ValueMultiselect []string `json:"valueMultiselect,omitempty"`
                
                	// ValueString: The string value - this will be present for types
                	// string, choice and hidden.
                	ValueString string `json:"valueString,omitempty"`
                
                	// ForceSendFields is a list of field names (e.g. "Type") to
                	// unconditionally include in API requests. By default, fields with
                	// empty values are omitted from API requests. However, any non-pointer,
                	// non-interface field appearing in ForceSendFields will be sent to the
                	// server regardless of whether the field is empty or not. This may be
                	// used to include empty fields in Patch requests.
                	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. However, any field with an
                	// empty value appearing in NullFields will be sent to the server as
                	// null. It is an error if a field in this list has a non-empty value.
                	// This may be used to include null fields in Patch requests.
                	NullFields []string `json:"-"`
                }

                  AppRestrictionsSchemaRestrictionRestrictionValue: A typed value for the restriction.

                  func (*AppRestrictionsSchemaRestrictionRestrictionValue) MarshalJSON

                  type AppState

                  type AppState struct {
                  	// KeyedAppState: List of keyed app states. This field will always be
                  	// present.
                  	KeyedAppState []*KeyedAppState `json:"keyedAppState,omitempty"`
                  
                  	// PackageName: The package name of the app. This field will always be
                  	// present.
                  	PackageName string `json:"packageName,omitempty"`
                  
                  	// ForceSendFields is a list of field names (e.g. "KeyedAppState") to
                  	// unconditionally include in API requests. By default, fields with
                  	// empty values are omitted from API requests. However, any non-pointer,
                  	// non-interface field appearing in ForceSendFields will be sent to the
                  	// server regardless of whether the field is empty or not. This may be
                  	// used to include empty fields in Patch requests.
                  	ForceSendFields []string `json:"-"`
                  
                  	// NullFields is a list of field names (e.g. "KeyedAppState") to include
                  	// in API requests with the JSON null value. By default, fields with
                  	// empty values are omitted from API requests. However, any field with
                  	// an empty value appearing in NullFields will be sent to the server as
                  	// null. It is an error if a field in this list has a non-empty value.
                  	// This may be used to include null fields in Patch requests.
                  	NullFields []string `json:"-"`
                  }

                    AppState: List of states set by the app.

                    func (*AppState) MarshalJSON

                    func (s *AppState) MarshalJSON() ([]byte, error)

                    type AppUpdateEvent

                    type AppUpdateEvent struct {
                    	// ProductId: The id of the product (e.g. "app:com.google.android.gm")
                    	// that was updated. This field will always be present.
                    	ProductId string `json:"productId,omitempty"`
                    
                    	// ForceSendFields is a list of field names (e.g. "ProductId") to
                    	// unconditionally include in API requests. By default, fields with
                    	// empty values are omitted from API requests. However, any non-pointer,
                    	// non-interface field appearing in ForceSendFields will be sent to the
                    	// server regardless of whether the field is empty or not. This may be
                    	// used to include empty fields in Patch requests.
                    	ForceSendFields []string `json:"-"`
                    
                    	// NullFields is a list of field names (e.g. "ProductId") to include in
                    	// API requests with the JSON null value. By default, fields with empty
                    	// values are omitted from API requests. However, any field with an
                    	// empty value appearing in NullFields will be sent to the server as
                    	// null. It is an error if a field in this list has a non-empty value.
                    	// This may be used to include null fields in Patch requests.
                    	NullFields []string `json:"-"`
                    }

                      AppUpdateEvent: An event generated when a new version of an app is uploaded to Google Play. Notifications are sent for new public versions only: alpha, beta, or canary versions do not generate this event. To fetch up-to-date version history for an app, use Products.Get on the EMM API.

                      func (*AppUpdateEvent) MarshalJSON

                      func (s *AppUpdateEvent) MarshalJSON() ([]byte, error)

                      type AppVersion

                      type AppVersion struct {
                      	// IsProduction: True if this version is a production APK.
                      	IsProduction bool `json:"isProduction,omitempty"`
                      
                      	// Track: Deprecated, use trackId instead.
                      	Track string `json:"track,omitempty"`
                      
                      	// TrackId: Track ids that the app version is published in. Replaces the
                      	// track field (deprecated), but doesn't include the production track
                      	// (see isProduction instead).
                      	TrackId []string `json:"trackId,omitempty"`
                      
                      	// VersionCode: Unique increasing identifier for the app version.
                      	VersionCode int64 `json:"versionCode,omitempty"`
                      
                      	// VersionString: The string used in the Play store by the app developer
                      	// to identify the version. The string is not necessarily unique or
                      	// localized (for example, the string could be "1.4").
                      	VersionString string `json:"versionString,omitempty"`
                      
                      	// ForceSendFields is a list of field names (e.g. "IsProduction") to
                      	// unconditionally include in API requests. By default, fields with
                      	// empty values are omitted from API requests. However, any non-pointer,
                      	// non-interface field appearing in ForceSendFields will be sent to the
                      	// server regardless of whether the field is empty or not. This may be
                      	// used to include empty fields in Patch requests.
                      	ForceSendFields []string `json:"-"`
                      
                      	// NullFields is a list of field names (e.g. "IsProduction") to include
                      	// in API requests with the JSON null value. By default, fields with
                      	// empty values are omitted from API requests. However, any field with
                      	// an empty value appearing in NullFields will be sent to the server as
                      	// null. It is an error if a field in this list has a non-empty value.
                      	// This may be used to include null fields in Patch requests.
                      	NullFields []string `json:"-"`
                      }

                        AppVersion: This represents a single version of the app.

                        func (*AppVersion) MarshalJSON

                        func (s *AppVersion) MarshalJSON() ([]byte, error)

                        type ApprovalUrlInfo

                        type ApprovalUrlInfo struct {
                        	// ApprovalUrl: A URL that displays a product's permissions and that can
                        	// also be used to approve the product with the Products.approve call.
                        	ApprovalUrl string `json:"approvalUrl,omitempty"`
                        
                        	Kind string `json:"kind,omitempty"`
                        
                        	// ForceSendFields is a list of field names (e.g. "ApprovalUrl") to
                        	// unconditionally include in API requests. By default, fields with
                        	// empty values are omitted from API requests. However, any non-pointer,
                        	// non-interface field appearing in ForceSendFields will be sent to the
                        	// server regardless of whether the field is empty or not. This may be
                        	// used to include empty fields in Patch requests.
                        	ForceSendFields []string `json:"-"`
                        
                        	// NullFields is a list of field names (e.g. "ApprovalUrl") to include
                        	// in API requests with the JSON null value. By default, fields with
                        	// empty values are omitted from API requests. However, any field with
                        	// an empty value appearing in NullFields will be sent to the server as
                        	// null. It is an error if a field in this list has a non-empty value.
                        	// This may be used to include null fields in Patch requests.
                        	NullFields []string `json:"-"`
                        }

                          ApprovalUrlInfo: Information on an approval URL.

                          func (*ApprovalUrlInfo) MarshalJSON

                          func (s *ApprovalUrlInfo) MarshalJSON() ([]byte, error)

                          type AuthenticationToken

                          type AuthenticationToken struct {
                          	Kind string `json:"kind,omitempty"`
                          
                          	// Token: The authentication token to be passed to the device policy
                          	// client on the device where it can be used to provision the account
                          	// for which this token was generated.
                          	Token string `json:"token,omitempty"`
                          
                          	// ServerResponse contains the HTTP response code and headers from the
                          	// server.
                          	googleapi.ServerResponse `json:"-"`
                          
                          	// ForceSendFields is a list of field names (e.g. "Kind") to
                          	// unconditionally include in API requests. By default, fields with
                          	// empty values are omitted from API requests. However, any non-pointer,
                          	// non-interface field appearing in ForceSendFields will be sent to the
                          	// server regardless of whether the field is empty or not. This may be
                          	// used to include empty fields in Patch requests.
                          	ForceSendFields []string `json:"-"`
                          
                          	// NullFields is a list of field names (e.g. "Kind") to include in API
                          	// requests with the JSON null value. By default, fields with empty
                          	// values are omitted from API requests. However, any field with an
                          	// empty value appearing in NullFields will be sent to the server as
                          	// null. It is an error if a field in this list has a non-empty value.
                          	// This may be used to include null fields in Patch requests.
                          	NullFields []string `json:"-"`
                          }

                            AuthenticationToken: An AuthenticationToken is used by the EMM's device policy client on a device to provision the given EMM-managed user on that device.

                            func (*AuthenticationToken) MarshalJSON

                            func (s *AuthenticationToken) MarshalJSON() ([]byte, error)

                            type AutoInstallConstraint

                            type AutoInstallConstraint struct {
                            	// ChargingStateConstraint: Charging state constraint.
                            	ChargingStateConstraint string `json:"chargingStateConstraint,omitempty"`
                            
                            	// DeviceIdleStateConstraint: Device idle state constraint.
                            	DeviceIdleStateConstraint string `json:"deviceIdleStateConstraint,omitempty"`
                            
                            	// NetworkTypeConstraint: Network type constraint.
                            	NetworkTypeConstraint string `json:"networkTypeConstraint,omitempty"`
                            
                            	// ForceSendFields is a list of field names (e.g.
                            	// "ChargingStateConstraint") to unconditionally include in API
                            	// requests. By default, fields with empty values are omitted from API
                            	// requests. However, any non-pointer, non-interface field appearing in
                            	// ForceSendFields will be sent to the server regardless of whether the
                            	// field is empty or not. This may be used to include empty fields in
                            	// Patch requests.
                            	ForceSendFields []string `json:"-"`
                            
                            	// NullFields is a list of field names (e.g. "ChargingStateConstraint")
                            	// to include in API requests with the JSON null value. By default,
                            	// fields with empty values are omitted from API requests. However, any
                            	// field with an empty value appearing in NullFields will be sent to the
                            	// server as null. It is an error if a field in this list has a
                            	// non-empty value. This may be used to include null fields in Patch
                            	// requests.
                            	NullFields []string `json:"-"`
                            }

                              AutoInstallConstraint: The auto-install constraint. Defines a set of restrictions for installation. At least one of the fields must be set.

                              func (*AutoInstallConstraint) MarshalJSON

                              func (s *AutoInstallConstraint) MarshalJSON() ([]byte, error)

                              type AutoInstallPolicy

                              type AutoInstallPolicy struct {
                              	// AutoInstallConstraint: The constraints for auto-installing the app.
                              	// You can specify a maximum of one constraint.
                              	AutoInstallConstraint []*AutoInstallConstraint `json:"autoInstallConstraint,omitempty"`
                              
                              	// AutoInstallMode: The auto-install mode. If unset defaults to
                              	// "doNotAutoInstall".
                              	AutoInstallMode string `json:"autoInstallMode,omitempty"`
                              
                              	// AutoInstallPriority: The priority of the install, as an unsigned
                              	// integer. A lower number means higher priority.
                              	AutoInstallPriority int64 `json:"autoInstallPriority,omitempty"`
                              
                              	// MinimumVersionCode: The minimum version of the app. If a lower
                              	// version of the app is installed, then the app will be auto-updated
                              	// according to the auto-install constraints, instead of waiting for the
                              	// regular auto-update. You can set a minimum version code for at most
                              	// 20 apps per device.
                              	MinimumVersionCode int64 `json:"minimumVersionCode,omitempty"`
                              
                              	// ForceSendFields is a list of field names (e.g.
                              	// "AutoInstallConstraint") to unconditionally include in API requests.
                              	// By default, fields with empty values are omitted from API requests.
                              	// However, any non-pointer, non-interface field appearing in
                              	// ForceSendFields will be sent to the server regardless of whether the
                              	// field is empty or not. This may be used to include empty fields in
                              	// Patch requests.
                              	ForceSendFields []string `json:"-"`
                              
                              	// NullFields is a list of field names (e.g. "AutoInstallConstraint") to
                              	// include in API requests with the JSON null value. By default, fields
                              	// with empty values are omitted from API requests. However, any field
                              	// with an empty value appearing in NullFields will be sent to the
                              	// server as null. It is an error if a field in this list has a
                              	// non-empty value. This may be used to include null fields in Patch
                              	// requests.
                              	NullFields []string `json:"-"`
                              }

                              func (*AutoInstallPolicy) MarshalJSON

                              func (s *AutoInstallPolicy) MarshalJSON() ([]byte, error)

                              type ConfigurationVariables

                              type ConfigurationVariables struct {
                              	Kind string `json:"kind,omitempty"`
                              
                              	// McmId: The ID of the managed configurations settings.
                              	McmId string `json:"mcmId,omitempty"`
                              
                              	// VariableSet: The variable set that is attributed to the user.
                              	VariableSet []*VariableSet `json:"variableSet,omitempty"`
                              
                              	// ForceSendFields is a list of field names (e.g. "Kind") to
                              	// unconditionally include in API requests. By default, fields with
                              	// empty values are omitted from API requests. However, any non-pointer,
                              	// non-interface field appearing in ForceSendFields will be sent to the
                              	// server regardless of whether the field is empty or not. This may be
                              	// used to include empty fields in Patch requests.
                              	ForceSendFields []string `json:"-"`
                              
                              	// NullFields is a list of field names (e.g. "Kind") to include in API
                              	// requests with the JSON null value. By default, fields with empty
                              	// values are omitted from API requests. However, any field with an
                              	// empty value appearing in NullFields will be sent to the server as
                              	// null. It is an error if a field in this list has a non-empty value.
                              	// This may be used to include null fields in Patch requests.
                              	NullFields []string `json:"-"`
                              }

                                ConfigurationVariables: A configuration variables resource contains the managed configuration settings ID to be applied to a single user, as well as the variable set that is attributed to the user. The variable set will be used to replace placeholders in the managed configuration settings.

                                func (*ConfigurationVariables) MarshalJSON

                                func (s *ConfigurationVariables) MarshalJSON() ([]byte, error)

                                type Device

                                type Device struct {
                                	// AndroidId: The Google Play Services Android ID for the device encoded
                                	// as a lowercase hex string. For example, "123456789abcdef0".
                                	AndroidId string `json:"androidId,omitempty"`
                                
                                	Kind string `json:"kind,omitempty"`
                                
                                	// ManagementType: Identifies the extent to which the device is
                                	// controlled by a managed Google Play EMM in various deployment
                                	// configurations.
                                	//
                                	// Possible values include:
                                	// - "managedDevice", a device that has the EMM's device policy
                                	// controller (DPC) as the device owner.
                                	// - "managedProfile", a device that has a profile managed by the DPC
                                	// (DPC is profile owner) in addition to a separate, personal profile
                                	// that is unavailable to the DPC.
                                	// - "containerApp", no longer used (deprecated).
                                	// - "unmanagedProfile", a device that has been allowed (by the domain's
                                	// admin, using the Admin Console to enable the privilege) to use
                                	// managed Google Play, but the profile is itself not owned by a DPC.
                                	ManagementType string `json:"managementType,omitempty"`
                                
                                	// Policy: The policy enforced on the device.
                                	Policy *Policy `json:"policy,omitempty"`
                                
                                	// Report: The device report updated with the latest app states.
                                	Report *DeviceReport `json:"report,omitempty"`
                                
                                	// ServerResponse contains the HTTP response code and headers from the
                                	// server.
                                	googleapi.ServerResponse `json:"-"`
                                
                                	// ForceSendFields is a list of field names (e.g. "AndroidId") to
                                	// unconditionally include in API requests. By default, fields with
                                	// empty values are omitted from API requests. However, any non-pointer,
                                	// non-interface field appearing in ForceSendFields will be sent to the
                                	// server regardless of whether the field is empty or not. This may be
                                	// used to include empty fields in Patch requests.
                                	ForceSendFields []string `json:"-"`
                                
                                	// NullFields is a list of field names (e.g. "AndroidId") to include in
                                	// API requests with the JSON null value. By default, fields with empty
                                	// values are omitted from API requests. However, any field with an
                                	// empty value appearing in NullFields will be sent to the server as
                                	// null. It is an error if a field in this list has a non-empty value.
                                	// This may be used to include null fields in Patch requests.
                                	NullFields []string `json:"-"`
                                }

                                  Device: A Devices resource represents a mobile device managed by the EMM and belonging to a specific enterprise user.

                                  func (*Device) MarshalJSON

                                  func (s *Device) MarshalJSON() ([]byte, error)

                                  type DeviceReport

                                  type DeviceReport struct {
                                  	// AppState: List of app states set by managed apps on the device. App
                                  	// states are defined by the app's developers. This field will always be
                                  	// present.
                                  	AppState []*AppState `json:"appState,omitempty"`
                                  
                                  	// LastUpdatedTimestampMillis: The timestamp of the last report update
                                  	// in milliseconds since epoch. This field will always be present.
                                  	LastUpdatedTimestampMillis int64 `json:"lastUpdatedTimestampMillis,omitempty,string"`
                                  
                                  	// ForceSendFields is a list of field names (e.g. "AppState") to
                                  	// unconditionally include in API requests. By default, fields with
                                  	// empty values are omitted from API requests. However, any non-pointer,
                                  	// non-interface field appearing in ForceSendFields will be sent to the
                                  	// server regardless of whether the field is empty or not. This may be
                                  	// used to include empty fields in Patch requests.
                                  	ForceSendFields []string `json:"-"`
                                  
                                  	// NullFields is a list of field names (e.g. "AppState") to include in
                                  	// API requests with the JSON null value. By default, fields with empty
                                  	// values are omitted from API requests. However, any field with an
                                  	// empty value appearing in NullFields will be sent to the server as
                                  	// null. It is an error if a field in this list has a non-empty value.
                                  	// This may be used to include null fields in Patch requests.
                                  	NullFields []string `json:"-"`
                                  }

                                    DeviceReport: Device report updated with the latest app states for managed apps on the device.

                                    func (*DeviceReport) MarshalJSON

                                    func (s *DeviceReport) MarshalJSON() ([]byte, error)

                                    type DeviceReportUpdateEvent

                                    type DeviceReportUpdateEvent struct {
                                    	// DeviceId: The Android ID of the device. This field will always be
                                    	// present.
                                    	DeviceId string `json:"deviceId,omitempty"`
                                    
                                    	// Report: The device report updated with the latest app states. This
                                    	// field will always be present.
                                    	Report *DeviceReport `json:"report,omitempty"`
                                    
                                    	// UserId: The ID of the user. This field will always be present.
                                    	UserId string `json:"userId,omitempty"`
                                    
                                    	// ForceSendFields is a list of field names (e.g. "DeviceId") to
                                    	// unconditionally include in API requests. By default, fields with
                                    	// empty values are omitted from API requests. However, any non-pointer,
                                    	// non-interface field appearing in ForceSendFields will be sent to the
                                    	// server regardless of whether the field is empty or not. This may be
                                    	// used to include empty fields in Patch requests.
                                    	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. However, any field with an
                                    	// empty value appearing in NullFields will be sent to the server as
                                    	// null. It is an error if a field in this list has a non-empty value.
                                    	// This may be used to include null fields in Patch requests.
                                    	NullFields []string `json:"-"`
                                    }

                                      DeviceReportUpdateEvent: An event generated when an updated device report is available.

                                      func (*DeviceReportUpdateEvent) MarshalJSON

                                      func (s *DeviceReportUpdateEvent) MarshalJSON() ([]byte, error)

                                      type DeviceState

                                      type DeviceState struct {
                                      	// AccountState: The state of the Google account on the device.
                                      	// "enabled" indicates that the Google account on the device can be used
                                      	// to access Google services (including Google Play), while "disabled"
                                      	// means that it cannot. A new device is initially in the "disabled"
                                      	// state.
                                      	AccountState string `json:"accountState,omitempty"`
                                      
                                      	Kind string `json:"kind,omitempty"`
                                      
                                      	// ServerResponse contains the HTTP response code and headers from the
                                      	// server.
                                      	googleapi.ServerResponse `json:"-"`
                                      
                                      	// ForceSendFields is a list of field names (e.g. "AccountState") to
                                      	// unconditionally include in API requests. By default, fields with
                                      	// empty values are omitted from API requests. However, any non-pointer,
                                      	// non-interface field appearing in ForceSendFields will be sent to the
                                      	// server regardless of whether the field is empty or not. This may be
                                      	// used to include empty fields in Patch requests.
                                      	ForceSendFields []string `json:"-"`
                                      
                                      	// NullFields is a list of field names (e.g. "AccountState") to include
                                      	// in API requests with the JSON null value. By default, fields with
                                      	// empty values are omitted from API requests. However, any field with
                                      	// an empty value appearing in NullFields will be sent to the server as
                                      	// null. It is an error if a field in this list has a non-empty value.
                                      	// This may be used to include null fields in Patch requests.
                                      	NullFields []string `json:"-"`
                                      }

                                        DeviceState: The state of a user's device, as accessed by the getState and setState methods on device resources.

                                        func (*DeviceState) MarshalJSON

                                        func (s *DeviceState) MarshalJSON() ([]byte, error)

                                        type DevicesForceReportUploadCall

                                        type DevicesForceReportUploadCall struct {
                                        	// contains filtered or unexported fields
                                        }

                                        func (*DevicesForceReportUploadCall) Context

                                          Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                          func (*DevicesForceReportUploadCall) Do

                                            Do executes the "androidenterprise.devices.forceReportUpload" call.

                                            func (*DevicesForceReportUploadCall) Fields

                                              Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                              func (*DevicesForceReportUploadCall) Header

                                                Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                type DevicesGetCall

                                                type DevicesGetCall struct {
                                                	// contains filtered or unexported fields
                                                }

                                                func (*DevicesGetCall) Context

                                                func (c *DevicesGetCall) Context(ctx context.Context) *DevicesGetCall

                                                  Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                  func (*DevicesGetCall) Do

                                                  func (c *DevicesGetCall) Do(opts ...googleapi.CallOption) (*Device, error)

                                                    Do executes the "androidenterprise.devices.get" call. Exactly one of *Device or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Device.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 (*DevicesGetCall) Fields

                                                    func (c *DevicesGetCall) Fields(s ...googleapi.Field) *DevicesGetCall

                                                      Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                      func (*DevicesGetCall) Header

                                                      func (c *DevicesGetCall) Header() http.Header

                                                        Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                        func (*DevicesGetCall) IfNoneMatch

                                                        func (c *DevicesGetCall) IfNoneMatch(entityTag string) *DevicesGetCall

                                                          IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                          type DevicesGetStateCall

                                                          type DevicesGetStateCall struct {
                                                          	// contains filtered or unexported fields
                                                          }

                                                          func (*DevicesGetStateCall) Context

                                                            Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                            func (*DevicesGetStateCall) Do

                                                              Do executes the "androidenterprise.devices.getState" call. Exactly one of *DeviceState or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *DeviceState.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 (*DevicesGetStateCall) Fields

                                                                Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                func (*DevicesGetStateCall) Header

                                                                func (c *DevicesGetStateCall) Header() http.Header

                                                                  Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                  func (*DevicesGetStateCall) IfNoneMatch

                                                                  func (c *DevicesGetStateCall) IfNoneMatch(entityTag string) *DevicesGetStateCall

                                                                    IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                    type DevicesListCall

                                                                    type DevicesListCall struct {
                                                                    	// contains filtered or unexported fields
                                                                    }

                                                                    func (*DevicesListCall) Context

                                                                      Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                      func (*DevicesListCall) Do

                                                                        Do executes the "androidenterprise.devices.list" call. Exactly one of *DevicesListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *DevicesListResponse.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 (*DevicesListCall) Fields

                                                                          Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                          func (*DevicesListCall) Header

                                                                          func (c *DevicesListCall) Header() http.Header

                                                                            Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                            func (*DevicesListCall) IfNoneMatch

                                                                            func (c *DevicesListCall) IfNoneMatch(entityTag string) *DevicesListCall

                                                                              IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                              type DevicesListResponse

                                                                              type DevicesListResponse struct {
                                                                              	// Device: A managed device.
                                                                              	Device []*Device `json:"device,omitempty"`
                                                                              
                                                                              	// Kind: Identifies what kind of resource this is. Value: the fixed
                                                                              	// string "androidenterprise#devicesListResponse".
                                                                              	Kind string `json:"kind,omitempty"`
                                                                              
                                                                              	// ServerResponse contains the HTTP response code and headers from the
                                                                              	// server.
                                                                              	googleapi.ServerResponse `json:"-"`
                                                                              
                                                                              	// ForceSendFields is a list of field names (e.g. "Device") to
                                                                              	// unconditionally include in API requests. By default, fields with
                                                                              	// empty values are omitted from API requests. However, any non-pointer,
                                                                              	// non-interface field appearing in ForceSendFields will be sent to the
                                                                              	// server regardless of whether the field is empty or not. This may be
                                                                              	// used to include empty fields in Patch requests.
                                                                              	ForceSendFields []string `json:"-"`
                                                                              
                                                                              	// NullFields is a list of field names (e.g. "Device") to include in API
                                                                              	// requests with the JSON null value. By default, fields with empty
                                                                              	// values are omitted from API requests. However, any field with an
                                                                              	// empty value appearing in NullFields will be sent to the server as
                                                                              	// null. It is an error if a field in this list has a non-empty value.
                                                                              	// This may be used to include null fields in Patch requests.
                                                                              	NullFields []string `json:"-"`
                                                                              }

                                                                                DevicesListResponse: The device resources for the user.

                                                                                func (*DevicesListResponse) MarshalJSON

                                                                                func (s *DevicesListResponse) MarshalJSON() ([]byte, error)

                                                                                type DevicesService

                                                                                type DevicesService struct {
                                                                                	// contains filtered or unexported fields
                                                                                }

                                                                                func NewDevicesService

                                                                                func NewDevicesService(s *Service) *DevicesService

                                                                                func (*DevicesService) ForceReportUpload

                                                                                func (r *DevicesService) ForceReportUpload(enterpriseId string, userId string, deviceId string) *DevicesForceReportUploadCall

                                                                                  ForceReportUpload: Uploads a report containing any changes in app states on the device since the last report was generated. You can call this method up to 3 times every 24 hours for a given device.

                                                                                  func (*DevicesService) Get

                                                                                  func (r *DevicesService) Get(enterpriseId string, userId string, deviceId string) *DevicesGetCall

                                                                                    Get: Retrieves the details of a device.

                                                                                    func (*DevicesService) GetState

                                                                                    func (r *DevicesService) GetState(enterpriseId string, userId string, deviceId string) *DevicesGetStateCall

                                                                                      GetState: Retrieves whether a device's access to Google services is enabled or disabled. The device state takes effect only if enforcing EMM policies on Android devices is enabled in the Google Admin Console. Otherwise, the device state is ignored and all devices are allowed access to Google services. This is only supported for Google-managed users.

                                                                                      func (*DevicesService) List

                                                                                      func (r *DevicesService) List(enterpriseId string, userId string) *DevicesListCall

                                                                                        List: Retrieves the IDs of all of a user's devices.

                                                                                        func (*DevicesService) SetState

                                                                                        func (r *DevicesService) SetState(enterpriseId string, userId string, deviceId string, devicestate *DeviceState) *DevicesSetStateCall

                                                                                          SetState: Sets whether a device's access to Google services is enabled or disabled. The device state takes effect only if enforcing EMM policies on Android devices is enabled in the Google Admin Console. Otherwise, the device state is ignored and all devices are allowed access to Google services. This is only supported for Google-managed users.

                                                                                          func (*DevicesService) Update

                                                                                          func (r *DevicesService) Update(enterpriseId string, userId string, deviceId string, device *Device) *DevicesUpdateCall

                                                                                            Update: Updates the device policy

                                                                                            type DevicesSetStateCall

                                                                                            type DevicesSetStateCall struct {
                                                                                            	// contains filtered or unexported fields
                                                                                            }

                                                                                            func (*DevicesSetStateCall) Context

                                                                                              Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                              func (*DevicesSetStateCall) Do

                                                                                                Do executes the "androidenterprise.devices.setState" call. Exactly one of *DeviceState or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *DeviceState.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 (*DevicesSetStateCall) Fields

                                                                                                  Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                  func (*DevicesSetStateCall) Header

                                                                                                  func (c *DevicesSetStateCall) Header() http.Header

                                                                                                    Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                    type DevicesUpdateCall

                                                                                                    type DevicesUpdateCall struct {
                                                                                                    	// contains filtered or unexported fields
                                                                                                    }

                                                                                                    func (*DevicesUpdateCall) Context

                                                                                                      Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                      func (*DevicesUpdateCall) Do

                                                                                                      func (c *DevicesUpdateCall) Do(opts ...googleapi.CallOption) (*Device, error)

                                                                                                        Do executes the "androidenterprise.devices.update" call. Exactly one of *Device or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Device.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 (*DevicesUpdateCall) Fields

                                                                                                          Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                          func (*DevicesUpdateCall) Header

                                                                                                          func (c *DevicesUpdateCall) Header() http.Header

                                                                                                            Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                            func (*DevicesUpdateCall) UpdateMask

                                                                                                            func (c *DevicesUpdateCall) UpdateMask(updateMask string) *DevicesUpdateCall

                                                                                                              UpdateMask sets the optional parameter "updateMask": Mask that identifies which fields to update. If not set, all modifiable fields will be modified.

                                                                                                              When set in a query parameter, this field should be specified as updateMask=<field1>,<field2>,...

                                                                                                              type Enterprise

                                                                                                              type Enterprise struct {
                                                                                                              	// Administrator: Admins of the enterprise. This is only supported for
                                                                                                              	// enterprises created via the EMM-initiated flow.
                                                                                                              	Administrator []*Administrator `json:"administrator,omitempty"`
                                                                                                              
                                                                                                              	// Id: The unique ID for the enterprise.
                                                                                                              	Id string `json:"id,omitempty"`
                                                                                                              
                                                                                                              	Kind string `json:"kind,omitempty"`
                                                                                                              
                                                                                                              	// Name: The name of the enterprise, for example, "Example, Inc".
                                                                                                              	Name string `json:"name,omitempty"`
                                                                                                              
                                                                                                              	// PrimaryDomain: The enterprise's primary domain, such as
                                                                                                              	// "example.com".
                                                                                                              	PrimaryDomain string `json:"primaryDomain,omitempty"`
                                                                                                              
                                                                                                              	// ServerResponse contains the HTTP response code and headers from the
                                                                                                              	// server.
                                                                                                              	googleapi.ServerResponse `json:"-"`
                                                                                                              
                                                                                                              	// ForceSendFields is a list of field names (e.g. "Administrator") to
                                                                                                              	// unconditionally include in API requests. By default, fields with
                                                                                                              	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                              	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                              	// server regardless of whether the field is empty or not. This may be
                                                                                                              	// used to include empty fields in Patch requests.
                                                                                                              	ForceSendFields []string `json:"-"`
                                                                                                              
                                                                                                              	// NullFields is a list of field names (e.g. "Administrator") to include
                                                                                                              	// in API requests with the JSON null value. By default, fields with
                                                                                                              	// empty values are omitted from API requests. However, any field with
                                                                                                              	// an empty value appearing in NullFields will be sent to the server as
                                                                                                              	// null. It is an error if a field in this list has a non-empty value.
                                                                                                              	// This may be used to include null fields in Patch requests.
                                                                                                              	NullFields []string `json:"-"`
                                                                                                              }

                                                                                                                Enterprise: An Enterprises resource represents the binding between an EMM and a specific organization. That binding can be instantiated in one of two different ways using this API as follows: - For Google managed domain customers, the process involves using Enterprises.enroll and Enterprises.setAccount (in conjunction with artifacts obtained from the Admin console and the Google API Console) and submitted to the EMM through a more-or-less manual process. - For managed Google Play Accounts customers, the process involves using Enterprises.generateSignupUrl and Enterprises.completeSignup in conjunction with the managed Google Play sign-up UI (Google-provided mechanism) to create the binding without manual steps. As an EMM, you can support either or both approaches in your EMM console. See Create an Enterprise for details.

                                                                                                                func (*Enterprise) MarshalJSON

                                                                                                                func (s *Enterprise) MarshalJSON() ([]byte, error)

                                                                                                                type EnterpriseAccount

                                                                                                                type EnterpriseAccount struct {
                                                                                                                	// AccountEmail: The email address of the service account.
                                                                                                                	AccountEmail string `json:"accountEmail,omitempty"`
                                                                                                                
                                                                                                                	Kind string `json:"kind,omitempty"`
                                                                                                                
                                                                                                                	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                	// server.
                                                                                                                	googleapi.ServerResponse `json:"-"`
                                                                                                                
                                                                                                                	// ForceSendFields is a list of field names (e.g. "AccountEmail") to
                                                                                                                	// unconditionally include in API requests. By default, fields with
                                                                                                                	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                	// server regardless of whether the field is empty or not. This may be
                                                                                                                	// used to include empty fields in Patch requests.
                                                                                                                	ForceSendFields []string `json:"-"`
                                                                                                                
                                                                                                                	// NullFields is a list of field names (e.g. "AccountEmail") to include
                                                                                                                	// in API requests with the JSON null value. By default, fields with
                                                                                                                	// empty values are omitted from API requests. However, any field with
                                                                                                                	// an empty value appearing in NullFields will be sent to the server as
                                                                                                                	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                	// This may be used to include null fields in Patch requests.
                                                                                                                	NullFields []string `json:"-"`
                                                                                                                }

                                                                                                                  EnterpriseAccount: A service account that can be used to authenticate as the enterprise to API calls that require such authentication.

                                                                                                                  func (*EnterpriseAccount) MarshalJSON

                                                                                                                  func (s *EnterpriseAccount) MarshalJSON() ([]byte, error)

                                                                                                                  type EnterprisesAcknowledgeNotificationSetCall

                                                                                                                  type EnterprisesAcknowledgeNotificationSetCall struct {
                                                                                                                  	// contains filtered or unexported fields
                                                                                                                  }

                                                                                                                  func (*EnterprisesAcknowledgeNotificationSetCall) Context

                                                                                                                    Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                    func (*EnterprisesAcknowledgeNotificationSetCall) Do

                                                                                                                      Do executes the "androidenterprise.enterprises.acknowledgeNotificationSet" call.

                                                                                                                      func (*EnterprisesAcknowledgeNotificationSetCall) Fields

                                                                                                                        Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                        func (*EnterprisesAcknowledgeNotificationSetCall) Header

                                                                                                                          Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                          func (*EnterprisesAcknowledgeNotificationSetCall) NotificationSetId

                                                                                                                            NotificationSetId sets the optional parameter "notificationSetId": The notification set ID as returned by Enterprises.PullNotificationSet. This must be provided.

                                                                                                                            type EnterprisesCompleteSignupCall

                                                                                                                            type EnterprisesCompleteSignupCall struct {
                                                                                                                            	// contains filtered or unexported fields
                                                                                                                            }

                                                                                                                            func (*EnterprisesCompleteSignupCall) CompletionToken

                                                                                                                            func (c *EnterprisesCompleteSignupCall) CompletionToken(completionToken string) *EnterprisesCompleteSignupCall

                                                                                                                              CompletionToken sets the optional parameter "completionToken": The Completion token initially returned by GenerateSignupUrl.

                                                                                                                              func (*EnterprisesCompleteSignupCall) Context

                                                                                                                                Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                func (*EnterprisesCompleteSignupCall) Do

                                                                                                                                  Do executes the "androidenterprise.enterprises.completeSignup" call. Exactly one of *Enterprise or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Enterprise.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 (*EnterprisesCompleteSignupCall) EnterpriseToken

                                                                                                                                  func (c *EnterprisesCompleteSignupCall) EnterpriseToken(enterpriseToken string) *EnterprisesCompleteSignupCall

                                                                                                                                    EnterpriseToken sets the optional parameter "enterpriseToken": The Enterprise token appended to the Callback URL.

                                                                                                                                    func (*EnterprisesCompleteSignupCall) Fields

                                                                                                                                      Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                      func (*EnterprisesCompleteSignupCall) Header

                                                                                                                                        Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                        type EnterprisesCreateWebTokenCall

                                                                                                                                        type EnterprisesCreateWebTokenCall struct {
                                                                                                                                        	// contains filtered or unexported fields
                                                                                                                                        }

                                                                                                                                        func (*EnterprisesCreateWebTokenCall) Context

                                                                                                                                          Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                          func (*EnterprisesCreateWebTokenCall) Do

                                                                                                                                            Do executes the "androidenterprise.enterprises.createWebToken" call. Exactly one of *AdministratorWebToken or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AdministratorWebToken.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 (*EnterprisesCreateWebTokenCall) Fields

                                                                                                                                              Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                              func (*EnterprisesCreateWebTokenCall) Header

                                                                                                                                                Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                type EnterprisesEnrollCall

                                                                                                                                                type EnterprisesEnrollCall struct {
                                                                                                                                                	// contains filtered or unexported fields
                                                                                                                                                }

                                                                                                                                                func (*EnterprisesEnrollCall) Context

                                                                                                                                                  Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                  func (*EnterprisesEnrollCall) Do

                                                                                                                                                    Do executes the "androidenterprise.enterprises.enroll" call. Exactly one of *Enterprise or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Enterprise.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 (*EnterprisesEnrollCall) Fields

                                                                                                                                                      Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                      func (*EnterprisesEnrollCall) Header

                                                                                                                                                      func (c *EnterprisesEnrollCall) Header() http.Header

                                                                                                                                                        Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                        type EnterprisesGenerateSignupUrlCall

                                                                                                                                                        type EnterprisesGenerateSignupUrlCall struct {
                                                                                                                                                        	// contains filtered or unexported fields
                                                                                                                                                        }

                                                                                                                                                        func (*EnterprisesGenerateSignupUrlCall) CallbackUrl

                                                                                                                                                          CallbackUrl sets the optional parameter "callbackUrl": The callback URL to which the Admin will be redirected after successfully creating an enterprise. Before redirecting there the system will add a single query parameter to this URL named "enterpriseToken" which will contain an opaque token to be used for the CompleteSignup request. Beware that this means that the URL will be parsed, the parameter added and then a new URL formatted, i.e. there may be some minor formatting changes and, more importantly, the URL must be well-formed so that it can be parsed.

                                                                                                                                                          func (*EnterprisesGenerateSignupUrlCall) Context

                                                                                                                                                            Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                            func (*EnterprisesGenerateSignupUrlCall) Do

                                                                                                                                                              Do executes the "androidenterprise.enterprises.generateSignupUrl" call. Exactly one of *SignupInfo or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SignupInfo.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 (*EnterprisesGenerateSignupUrlCall) Fields

                                                                                                                                                                Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                func (*EnterprisesGenerateSignupUrlCall) Header

                                                                                                                                                                  Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                  type EnterprisesGetCall

                                                                                                                                                                  type EnterprisesGetCall struct {
                                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                                  }

                                                                                                                                                                  func (*EnterprisesGetCall) Context

                                                                                                                                                                    Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                    func (*EnterprisesGetCall) Do

                                                                                                                                                                      Do executes the "androidenterprise.enterprises.get" call. Exactly one of *Enterprise or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Enterprise.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 (*EnterprisesGetCall) Fields

                                                                                                                                                                        Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                        func (*EnterprisesGetCall) Header

                                                                                                                                                                        func (c *EnterprisesGetCall) Header() http.Header

                                                                                                                                                                          Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                          func (*EnterprisesGetCall) IfNoneMatch

                                                                                                                                                                          func (c *EnterprisesGetCall) IfNoneMatch(entityTag string) *EnterprisesGetCall

                                                                                                                                                                            IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                            type EnterprisesGetServiceAccountCall

                                                                                                                                                                            type EnterprisesGetServiceAccountCall struct {
                                                                                                                                                                            	// contains filtered or unexported fields
                                                                                                                                                                            }

                                                                                                                                                                            func (*EnterprisesGetServiceAccountCall) Context

                                                                                                                                                                              Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                              func (*EnterprisesGetServiceAccountCall) Do

                                                                                                                                                                                Do executes the "androidenterprise.enterprises.getServiceAccount" call. Exactly one of *ServiceAccount or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ServiceAccount.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 (*EnterprisesGetServiceAccountCall) Fields

                                                                                                                                                                                  Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                  func (*EnterprisesGetServiceAccountCall) Header

                                                                                                                                                                                    Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                    func (*EnterprisesGetServiceAccountCall) IfNoneMatch

                                                                                                                                                                                      IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                      func (*EnterprisesGetServiceAccountCall) KeyType

                                                                                                                                                                                        KeyType sets the optional parameter "keyType": The type of credential to return with the service account. Required.

                                                                                                                                                                                        Possible values:

                                                                                                                                                                                        "googleCredentials"
                                                                                                                                                                                        "pkcs12"
                                                                                                                                                                                        

                                                                                                                                                                                        type EnterprisesGetStoreLayoutCall

                                                                                                                                                                                        type EnterprisesGetStoreLayoutCall struct {
                                                                                                                                                                                        	// contains filtered or unexported fields
                                                                                                                                                                                        }

                                                                                                                                                                                        func (*EnterprisesGetStoreLayoutCall) Context

                                                                                                                                                                                          Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                          func (*EnterprisesGetStoreLayoutCall) Do

                                                                                                                                                                                            Do executes the "androidenterprise.enterprises.getStoreLayout" call. Exactly one of *StoreLayout or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *StoreLayout.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 (*EnterprisesGetStoreLayoutCall) Fields

                                                                                                                                                                                              Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                              func (*EnterprisesGetStoreLayoutCall) Header

                                                                                                                                                                                                Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                func (*EnterprisesGetStoreLayoutCall) IfNoneMatch

                                                                                                                                                                                                  IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                  type EnterprisesListCall

                                                                                                                                                                                                  type EnterprisesListCall struct {
                                                                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                                                                  }

                                                                                                                                                                                                  func (*EnterprisesListCall) Context

                                                                                                                                                                                                    Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                    func (*EnterprisesListCall) Do

                                                                                                                                                                                                      Do executes the "androidenterprise.enterprises.list" call. Exactly one of *EnterprisesListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *EnterprisesListResponse.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 (*EnterprisesListCall) Fields

                                                                                                                                                                                                        Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                        func (*EnterprisesListCall) Header

                                                                                                                                                                                                        func (c *EnterprisesListCall) Header() http.Header

                                                                                                                                                                                                          Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                          func (*EnterprisesListCall) IfNoneMatch

                                                                                                                                                                                                          func (c *EnterprisesListCall) IfNoneMatch(entityTag string) *EnterprisesListCall

                                                                                                                                                                                                            IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                            type EnterprisesListResponse

                                                                                                                                                                                                            type EnterprisesListResponse struct {
                                                                                                                                                                                                            	// Enterprise: An enterprise.
                                                                                                                                                                                                            	Enterprise []*Enterprise `json:"enterprise,omitempty"`
                                                                                                                                                                                                            
                                                                                                                                                                                                            	// Kind: Identifies what kind of resource this is. Value: the fixed
                                                                                                                                                                                                            	// string "androidenterprise#enterprisesListResponse".
                                                                                                                                                                                                            	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                            
                                                                                                                                                                                                            	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                            	// server.
                                                                                                                                                                                                            	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                            
                                                                                                                                                                                                            	// ForceSendFields is a list of field names (e.g. "Enterprise") to
                                                                                                                                                                                                            	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                            	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                            	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                            	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                            	// used to include empty fields in Patch requests.
                                                                                                                                                                                                            	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                            
                                                                                                                                                                                                            	// NullFields is a list of field names (e.g. "Enterprise") to include in
                                                                                                                                                                                                            	// API requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                            	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                            	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                            	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                            	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                            	NullFields []string `json:"-"`
                                                                                                                                                                                                            }

                                                                                                                                                                                                              EnterprisesListResponse: The matching enterprise resources.

                                                                                                                                                                                                              func (*EnterprisesListResponse) MarshalJSON

                                                                                                                                                                                                              func (s *EnterprisesListResponse) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                              type EnterprisesPullNotificationSetCall

                                                                                                                                                                                                              type EnterprisesPullNotificationSetCall struct {
                                                                                                                                                                                                              	// contains filtered or unexported fields
                                                                                                                                                                                                              }

                                                                                                                                                                                                              func (*EnterprisesPullNotificationSetCall) Context

                                                                                                                                                                                                                Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                func (*EnterprisesPullNotificationSetCall) Do

                                                                                                                                                                                                                  Do executes the "androidenterprise.enterprises.pullNotificationSet" call. Exactly one of *NotificationSet or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *NotificationSet.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 (*EnterprisesPullNotificationSetCall) Fields

                                                                                                                                                                                                                    Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                    func (*EnterprisesPullNotificationSetCall) Header

                                                                                                                                                                                                                      Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                      func (*EnterprisesPullNotificationSetCall) RequestMode

                                                                                                                                                                                                                        RequestMode sets the optional parameter "requestMode": The request mode for pulling notifications. Specifying waitForNotifications will cause the request to block and wait until one or more notifications are present, or return an empty notification list if no notifications are present after some time. Speciying returnImmediately will cause the request to immediately return the pending notifications, or an empty list if no notifications are present. If omitted, defaults to waitForNotifications.

                                                                                                                                                                                                                        Possible values:

                                                                                                                                                                                                                        "returnImmediately"
                                                                                                                                                                                                                        "waitForNotifications"
                                                                                                                                                                                                                        

                                                                                                                                                                                                                        type EnterprisesSendTestPushNotificationCall

                                                                                                                                                                                                                        type EnterprisesSendTestPushNotificationCall struct {
                                                                                                                                                                                                                        	// contains filtered or unexported fields
                                                                                                                                                                                                                        }

                                                                                                                                                                                                                        func (*EnterprisesSendTestPushNotificationCall) Context

                                                                                                                                                                                                                          Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                          func (*EnterprisesSendTestPushNotificationCall) Do

                                                                                                                                                                                                                            Do executes the "androidenterprise.enterprises.sendTestPushNotification" call. Exactly one of *EnterprisesSendTestPushNotificationResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *EnterprisesSendTestPushNotificationResponse.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 (*EnterprisesSendTestPushNotificationCall) Fields

                                                                                                                                                                                                                              Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                              func (*EnterprisesSendTestPushNotificationCall) Header

                                                                                                                                                                                                                                Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                type EnterprisesSendTestPushNotificationResponse

                                                                                                                                                                                                                                type EnterprisesSendTestPushNotificationResponse struct {
                                                                                                                                                                                                                                	// MessageId: The message ID of the test push notification that was
                                                                                                                                                                                                                                	// sent.
                                                                                                                                                                                                                                	MessageId string `json:"messageId,omitempty"`
                                                                                                                                                                                                                                
                                                                                                                                                                                                                                	// TopicName: The name of the Cloud Pub/Sub topic to which notifications
                                                                                                                                                                                                                                	// for this enterprise's enrolled account will be sent.
                                                                                                                                                                                                                                	TopicName string `json:"topicName,omitempty"`
                                                                                                                                                                                                                                
                                                                                                                                                                                                                                	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                	// server.
                                                                                                                                                                                                                                	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                
                                                                                                                                                                                                                                	// ForceSendFields is a list of field names (e.g. "MessageId") to
                                                                                                                                                                                                                                	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                
                                                                                                                                                                                                                                	// NullFields is a list of field names (e.g. "MessageId") to include in
                                                                                                                                                                                                                                	// API requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                	NullFields []string `json:"-"`
                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                func (*EnterprisesSendTestPushNotificationResponse) MarshalJSON

                                                                                                                                                                                                                                type EnterprisesService

                                                                                                                                                                                                                                type EnterprisesService struct {
                                                                                                                                                                                                                                	// contains filtered or unexported fields
                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                func NewEnterprisesService

                                                                                                                                                                                                                                func NewEnterprisesService(s *Service) *EnterprisesService

                                                                                                                                                                                                                                func (*EnterprisesService) AcknowledgeNotificationSet

                                                                                                                                                                                                                                func (r *EnterprisesService) AcknowledgeNotificationSet() *EnterprisesAcknowledgeNotificationSetCall

                                                                                                                                                                                                                                  AcknowledgeNotificationSet: Acknowledges notifications that were received from Enterprises.PullNotificationSet to prevent subsequent calls from returning the same notifications.

                                                                                                                                                                                                                                  func (*EnterprisesService) CompleteSignup

                                                                                                                                                                                                                                    CompleteSignup: Completes the signup flow, by specifying the Completion token and Enterprise token. This request must not be called multiple times for a given Enterprise Token.

                                                                                                                                                                                                                                    func (*EnterprisesService) CreateWebToken

                                                                                                                                                                                                                                    func (r *EnterprisesService) CreateWebToken(enterpriseId string, administratorwebtokenspec *AdministratorWebTokenSpec) *EnterprisesCreateWebTokenCall

                                                                                                                                                                                                                                      CreateWebToken: Returns a unique token to access an embeddable UI. To generate a web UI, pass the generated token into the managed Google Play javascript API. Each token may only be used to start one UI session. See the javascript API documentation for further information.

                                                                                                                                                                                                                                      func (*EnterprisesService) Enroll

                                                                                                                                                                                                                                      func (r *EnterprisesService) Enroll(token string, enterprise *Enterprise) *EnterprisesEnrollCall

                                                                                                                                                                                                                                        Enroll: Enrolls an enterprise with the calling EMM.

                                                                                                                                                                                                                                        func (*EnterprisesService) GenerateSignupUrl

                                                                                                                                                                                                                                        func (r *EnterprisesService) GenerateSignupUrl() *EnterprisesGenerateSignupUrlCall

                                                                                                                                                                                                                                          GenerateSignupUrl: Generates a sign-up URL.

                                                                                                                                                                                                                                          func (*EnterprisesService) Get

                                                                                                                                                                                                                                          func (r *EnterprisesService) Get(enterpriseId string) *EnterprisesGetCall

                                                                                                                                                                                                                                            Get: Retrieves the name and domain of an enterprise.

                                                                                                                                                                                                                                            func (*EnterprisesService) GetServiceAccount

                                                                                                                                                                                                                                            func (r *EnterprisesService) GetServiceAccount(enterpriseId string) *EnterprisesGetServiceAccountCall

                                                                                                                                                                                                                                              GetServiceAccount: Returns a service account and credentials. The service account can be bound to the enterprise by calling setAccount. The service account is unique to this enterprise and EMM, and will be deleted if the enterprise is unbound. The credentials contain private key data and are not stored server-side.

                                                                                                                                                                                                                                              This method can only be called after calling Enterprises.Enroll or Enterprises.CompleteSignup, and before Enterprises.SetAccount; at other times it will return an error.

                                                                                                                                                                                                                                              Subsequent calls after the first will generate a new, unique set of credentials, and invalidate the previously generated credentials.

                                                                                                                                                                                                                                              Once the service account is bound to the enterprise, it can be managed using the serviceAccountKeys resource.

                                                                                                                                                                                                                                              func (*EnterprisesService) GetStoreLayout

                                                                                                                                                                                                                                              func (r *EnterprisesService) GetStoreLayout(enterpriseId string) *EnterprisesGetStoreLayoutCall

                                                                                                                                                                                                                                                GetStoreLayout: Returns the store layout for the enterprise. If the store layout has not been set, returns "basic" as the store layout type and no homepage.

                                                                                                                                                                                                                                                func (*EnterprisesService) List

                                                                                                                                                                                                                                                  List: Looks up an enterprise by domain name. This is only supported for enterprises created via the Google-initiated creation flow. Lookup of the id is not needed for enterprises created via the EMM-initiated flow since the EMM learns the enterprise ID in the callback specified in the Enterprises.generateSignupUrl call.

                                                                                                                                                                                                                                                  func (*EnterprisesService) PullNotificationSet

                                                                                                                                                                                                                                                  func (r *EnterprisesService) PullNotificationSet() *EnterprisesPullNotificationSetCall

                                                                                                                                                                                                                                                    PullNotificationSet: Pulls and returns a notification set for the enterprises associated with the service account authenticated for the request. The notification set may be empty if no notification are pending. A notification set returned needs to be acknowledged within 20 seconds by calling Enterprises.AcknowledgeNotificationSet, unless the notification set is empty. Notifications that are not acknowledged within the 20 seconds will eventually be included again in the response to another PullNotificationSet request, and those that are never acknowledged will ultimately be deleted according to the Google Cloud Platform Pub/Sub system policy. Multiple requests might be performed concurrently to retrieve notifications, in which case the pending notifications (if any) will be split among each caller, if any are pending. If no notifications are present, an empty notification list is returned. Subsequent requests may return more notifications once they become available.

                                                                                                                                                                                                                                                    func (*EnterprisesService) SendTestPushNotification

                                                                                                                                                                                                                                                    func (r *EnterprisesService) SendTestPushNotification(enterpriseId string) *EnterprisesSendTestPushNotificationCall

                                                                                                                                                                                                                                                      SendTestPushNotification: Sends a test notification to validate the EMM integration with the Google Cloud Pub/Sub service for this enterprise.

                                                                                                                                                                                                                                                      func (*EnterprisesService) SetAccount

                                                                                                                                                                                                                                                      func (r *EnterprisesService) SetAccount(enterpriseId string, enterpriseaccount *EnterpriseAccount) *EnterprisesSetAccountCall

                                                                                                                                                                                                                                                        SetAccount: Sets the account that will be used to authenticate to the API as the enterprise.

                                                                                                                                                                                                                                                        func (*EnterprisesService) SetStoreLayout

                                                                                                                                                                                                                                                        func (r *EnterprisesService) SetStoreLayout(enterpriseId string, storelayout *StoreLayout) *EnterprisesSetStoreLayoutCall

                                                                                                                                                                                                                                                          SetStoreLayout: Sets the store layout for the enterprise. By default, storeLayoutType is set to "basic" and the basic store layout is enabled. The basic layout only contains apps approved by the admin, and that have been added to the available product set for a user (using the setAvailableProductSet call). Apps on the page are sorted in order of their product ID value. If you create a custom store layout (by setting storeLayoutType = "custom" and setting a homepage), the basic store layout is disabled.

                                                                                                                                                                                                                                                          func (*EnterprisesService) Unenroll

                                                                                                                                                                                                                                                          func (r *EnterprisesService) Unenroll(enterpriseId string) *EnterprisesUnenrollCall

                                                                                                                                                                                                                                                            Unenroll: Unenrolls an enterprise from the calling EMM.

                                                                                                                                                                                                                                                            type EnterprisesSetAccountCall

                                                                                                                                                                                                                                                            type EnterprisesSetAccountCall struct {
                                                                                                                                                                                                                                                            	// contains filtered or unexported fields
                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                            func (*EnterprisesSetAccountCall) Context

                                                                                                                                                                                                                                                              Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                              func (*EnterprisesSetAccountCall) Do

                                                                                                                                                                                                                                                                Do executes the "androidenterprise.enterprises.setAccount" call. Exactly one of *EnterpriseAccount or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *EnterpriseAccount.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 (*EnterprisesSetAccountCall) Fields

                                                                                                                                                                                                                                                                  Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                  func (*EnterprisesSetAccountCall) Header

                                                                                                                                                                                                                                                                    Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                    type EnterprisesSetStoreLayoutCall

                                                                                                                                                                                                                                                                    type EnterprisesSetStoreLayoutCall struct {
                                                                                                                                                                                                                                                                    	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                    func (*EnterprisesSetStoreLayoutCall) Context

                                                                                                                                                                                                                                                                      Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                      func (*EnterprisesSetStoreLayoutCall) Do

                                                                                                                                                                                                                                                                        Do executes the "androidenterprise.enterprises.setStoreLayout" call. Exactly one of *StoreLayout or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *StoreLayout.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 (*EnterprisesSetStoreLayoutCall) Fields

                                                                                                                                                                                                                                                                          Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                          func (*EnterprisesSetStoreLayoutCall) Header

                                                                                                                                                                                                                                                                            Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                            type EnterprisesUnenrollCall

                                                                                                                                                                                                                                                                            type EnterprisesUnenrollCall struct {
                                                                                                                                                                                                                                                                            	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                            func (*EnterprisesUnenrollCall) Context

                                                                                                                                                                                                                                                                              Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                              func (*EnterprisesUnenrollCall) Do

                                                                                                                                                                                                                                                                                Do executes the "androidenterprise.enterprises.unenroll" call.

                                                                                                                                                                                                                                                                                func (*EnterprisesUnenrollCall) Fields

                                                                                                                                                                                                                                                                                  Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                  func (*EnterprisesUnenrollCall) Header

                                                                                                                                                                                                                                                                                  func (c *EnterprisesUnenrollCall) Header() http.Header

                                                                                                                                                                                                                                                                                    Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                    type Entitlement

                                                                                                                                                                                                                                                                                    type Entitlement struct {
                                                                                                                                                                                                                                                                                    	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                    	// ProductId: The ID of the product that the entitlement is for. For
                                                                                                                                                                                                                                                                                    	// example, "app:com.google.android.gm".
                                                                                                                                                                                                                                                                                    	ProductId string `json:"productId,omitempty"`
                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                    	// Reason: The reason for the entitlement. For example, "free" for free
                                                                                                                                                                                                                                                                                    	// apps. This property is temporary: it will be replaced by the
                                                                                                                                                                                                                                                                                    	// acquisition kind field of group licenses.
                                                                                                                                                                                                                                                                                    	Reason string `json:"reason,omitempty"`
                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                    	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                    	// server.
                                                                                                                                                                                                                                                                                    	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                    	// ForceSendFields is a list of field names (e.g. "Kind") to
                                                                                                                                                                                                                                                                                    	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                    	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                    	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                    	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                    	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                    	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                    	// NullFields is a list of field names (e.g. "Kind") to include in API
                                                                                                                                                                                                                                                                                    	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                    	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                    	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                    	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                    	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                    	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                      Entitlement: The presence of an Entitlements resource indicates that a user has the right to use a particular app. Entitlements are user specific, not device specific. This allows a user with an entitlement to an app to install the app on all their devices. It's also possible for a user to hold an entitlement to an app without installing the app on any device.

                                                                                                                                                                                                                                                                                      The API can be used to create an entitlement. As an option, you can also use the API to trigger the installation of an app on all a user's managed devices at the same time the entitlement is created.

                                                                                                                                                                                                                                                                                      If the app is free, creating the entitlement also creates a group license for that app. For paid apps, creating the entitlement consumes one license, and that license remains consumed until the entitlement is removed. If the enterprise hasn't purchased enough licenses, then no entitlement is created and the installation fails. An entitlement is also not created for an app if the app requires permissions that the enterprise hasn't accepted.

                                                                                                                                                                                                                                                                                      If an entitlement is deleted, the app may be uninstalled from a user's device. As a best practice, uninstall the app by calling Installs.delete() before deleting the entitlement.

                                                                                                                                                                                                                                                                                      Entitlements for apps that a user pays for on an unmanaged profile have "userPurchase" as the entitlement reason. These entitlements cannot be removed via the API.

                                                                                                                                                                                                                                                                                      func (*Entitlement) MarshalJSON

                                                                                                                                                                                                                                                                                      func (s *Entitlement) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                      type EntitlementsDeleteCall

                                                                                                                                                                                                                                                                                      type EntitlementsDeleteCall struct {
                                                                                                                                                                                                                                                                                      	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                      func (*EntitlementsDeleteCall) Context

                                                                                                                                                                                                                                                                                        Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                        func (*EntitlementsDeleteCall) Do

                                                                                                                                                                                                                                                                                          Do executes the "androidenterprise.entitlements.delete" call.

                                                                                                                                                                                                                                                                                          func (*EntitlementsDeleteCall) Fields

                                                                                                                                                                                                                                                                                            Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                            func (*EntitlementsDeleteCall) Header

                                                                                                                                                                                                                                                                                            func (c *EntitlementsDeleteCall) Header() http.Header

                                                                                                                                                                                                                                                                                              Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                              type EntitlementsGetCall

                                                                                                                                                                                                                                                                                              type EntitlementsGetCall struct {
                                                                                                                                                                                                                                                                                              	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                              func (*EntitlementsGetCall) Context

                                                                                                                                                                                                                                                                                                Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                func (*EntitlementsGetCall) Do

                                                                                                                                                                                                                                                                                                  Do executes the "androidenterprise.entitlements.get" call. Exactly one of *Entitlement or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Entitlement.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 (*EntitlementsGetCall) Fields

                                                                                                                                                                                                                                                                                                    Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                    func (*EntitlementsGetCall) Header

                                                                                                                                                                                                                                                                                                    func (c *EntitlementsGetCall) Header() http.Header

                                                                                                                                                                                                                                                                                                      Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                      func (*EntitlementsGetCall) IfNoneMatch

                                                                                                                                                                                                                                                                                                      func (c *EntitlementsGetCall) IfNoneMatch(entityTag string) *EntitlementsGetCall

                                                                                                                                                                                                                                                                                                        IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                                                        type EntitlementsListCall

                                                                                                                                                                                                                                                                                                        type EntitlementsListCall struct {
                                                                                                                                                                                                                                                                                                        	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                                        func (*EntitlementsListCall) Context

                                                                                                                                                                                                                                                                                                          Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                          func (*EntitlementsListCall) Do

                                                                                                                                                                                                                                                                                                            Do executes the "androidenterprise.entitlements.list" call. Exactly one of *EntitlementsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *EntitlementsListResponse.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 (*EntitlementsListCall) Fields

                                                                                                                                                                                                                                                                                                              Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                              func (*EntitlementsListCall) Header

                                                                                                                                                                                                                                                                                                              func (c *EntitlementsListCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                func (*EntitlementsListCall) IfNoneMatch

                                                                                                                                                                                                                                                                                                                func (c *EntitlementsListCall) IfNoneMatch(entityTag string) *EntitlementsListCall

                                                                                                                                                                                                                                                                                                                  IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                                                                  type EntitlementsListResponse

                                                                                                                                                                                                                                                                                                                  type EntitlementsListResponse struct {
                                                                                                                                                                                                                                                                                                                  	// Entitlement: An entitlement of a user to a product (e.g. an app). For
                                                                                                                                                                                                                                                                                                                  	// example, a free app that they have installed, or a paid app that they
                                                                                                                                                                                                                                                                                                                  	// have been allocated a license to.
                                                                                                                                                                                                                                                                                                                  	Entitlement []*Entitlement `json:"entitlement,omitempty"`
                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                  	// Kind: Identifies what kind of resource this is. Value: the fixed
                                                                                                                                                                                                                                                                                                                  	// string "androidenterprise#entitlementsListResponse".
                                                                                                                                                                                                                                                                                                                  	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                  	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                  	// server.
                                                                                                                                                                                                                                                                                                                  	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                  	// ForceSendFields is a list of field names (e.g. "Entitlement") to
                                                                                                                                                                                                                                                                                                                  	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                  	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                  	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                  	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                  	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                  	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                  	// NullFields is a list of field names (e.g. "Entitlement") to include
                                                                                                                                                                                                                                                                                                                  	// in API requests with the JSON null value. By default, fields with
                                                                                                                                                                                                                                                                                                                  	// empty values are omitted from API requests. However, any field with
                                                                                                                                                                                                                                                                                                                  	// an empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                  	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                  	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                  	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                    EntitlementsListResponse: The entitlement resources for the user.

                                                                                                                                                                                                                                                                                                                    func (*EntitlementsListResponse) MarshalJSON

                                                                                                                                                                                                                                                                                                                    func (s *EntitlementsListResponse) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                    type EntitlementsService

                                                                                                                                                                                                                                                                                                                    type EntitlementsService struct {
                                                                                                                                                                                                                                                                                                                    	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                    func NewEntitlementsService

                                                                                                                                                                                                                                                                                                                    func NewEntitlementsService(s *Service) *EntitlementsService

                                                                                                                                                                                                                                                                                                                    func (*EntitlementsService) Delete

                                                                                                                                                                                                                                                                                                                    func (r *EntitlementsService) Delete(enterpriseId string, userId string, entitlementId string) *EntitlementsDeleteCall

                                                                                                                                                                                                                                                                                                                      Delete: Removes an entitlement to an app for a user.

                                                                                                                                                                                                                                                                                                                      func (*EntitlementsService) Get

                                                                                                                                                                                                                                                                                                                      func (r *EntitlementsService) Get(enterpriseId string, userId string, entitlementId string) *EntitlementsGetCall

                                                                                                                                                                                                                                                                                                                        Get: Retrieves details of an entitlement.

                                                                                                                                                                                                                                                                                                                        func (*EntitlementsService) List

                                                                                                                                                                                                                                                                                                                        func (r *EntitlementsService) List(enterpriseId string, userId string) *EntitlementsListCall

                                                                                                                                                                                                                                                                                                                          List: Lists all entitlements for the specified user. Only the ID is set.

                                                                                                                                                                                                                                                                                                                          func (*EntitlementsService) Update

                                                                                                                                                                                                                                                                                                                          func (r *EntitlementsService) Update(enterpriseId string, userId string, entitlementId string, entitlement *Entitlement) *EntitlementsUpdateCall

                                                                                                                                                                                                                                                                                                                            Update: Adds or updates an entitlement to an app for a user.

                                                                                                                                                                                                                                                                                                                            type EntitlementsUpdateCall

                                                                                                                                                                                                                                                                                                                            type EntitlementsUpdateCall struct {
                                                                                                                                                                                                                                                                                                                            	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                            func (*EntitlementsUpdateCall) Context

                                                                                                                                                                                                                                                                                                                              Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                              func (*EntitlementsUpdateCall) Do

                                                                                                                                                                                                                                                                                                                                Do executes the "androidenterprise.entitlements.update" call. Exactly one of *Entitlement or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Entitlement.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 (*EntitlementsUpdateCall) Fields

                                                                                                                                                                                                                                                                                                                                  Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                  func (*EntitlementsUpdateCall) Header

                                                                                                                                                                                                                                                                                                                                  func (c *EntitlementsUpdateCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                    Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                    func (*EntitlementsUpdateCall) Install

                                                                                                                                                                                                                                                                                                                                    func (c *EntitlementsUpdateCall) Install(install bool) *EntitlementsUpdateCall

                                                                                                                                                                                                                                                                                                                                      Install sets the optional parameter "install": Set to true to also install the product on all the user's devices where possible. Failure to install on one or more devices will not prevent this operation from returning successfully, as long as the entitlement was successfully assigned to the user.

                                                                                                                                                                                                                                                                                                                                      type GroupLicense

                                                                                                                                                                                                                                                                                                                                      type GroupLicense struct {
                                                                                                                                                                                                                                                                                                                                      	// AcquisitionKind: How this group license was acquired. "bulkPurchase"
                                                                                                                                                                                                                                                                                                                                      	// means that this Grouplicenses resource was created because the
                                                                                                                                                                                                                                                                                                                                      	// enterprise purchased licenses for this product; otherwise, the value
                                                                                                                                                                                                                                                                                                                                      	// is "free" (for free products).
                                                                                                                                                                                                                                                                                                                                      	AcquisitionKind string `json:"acquisitionKind,omitempty"`
                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                      	// Approval: Whether the product to which this group license relates is
                                                                                                                                                                                                                                                                                                                                      	// currently approved by the enterprise. Products are approved when a
                                                                                                                                                                                                                                                                                                                                      	// group license is first created, but this approval may be revoked by
                                                                                                                                                                                                                                                                                                                                      	// an enterprise admin via Google Play. Unapproved products will not be
                                                                                                                                                                                                                                                                                                                                      	// visible to end users in collections, and new entitlements to them
                                                                                                                                                                                                                                                                                                                                      	// should not normally be created.
                                                                                                                                                                                                                                                                                                                                      	Approval string `json:"approval,omitempty"`
                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                      	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                      	// NumProvisioned: The total number of provisioned licenses for this
                                                                                                                                                                                                                                                                                                                                      	// product. Returned by read operations, but ignored in write
                                                                                                                                                                                                                                                                                                                                      	// operations.
                                                                                                                                                                                                                                                                                                                                      	NumProvisioned int64 `json:"numProvisioned,omitempty"`
                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                      	// NumPurchased: The number of purchased licenses (possibly in multiple
                                                                                                                                                                                                                                                                                                                                      	// purchases). If this field is omitted, then there is no limit on the
                                                                                                                                                                                                                                                                                                                                      	// number of licenses that can be provisioned (for example, if the
                                                                                                                                                                                                                                                                                                                                      	// acquisition kind is "free").
                                                                                                                                                                                                                                                                                                                                      	NumPurchased int64 `json:"numPurchased,omitempty"`
                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                      	// Permissions: The permission approval status of the product. This
                                                                                                                                                                                                                                                                                                                                      	// field is only set if the product is approved. Possible states are:
                                                                                                                                                                                                                                                                                                                                      	// - "currentApproved", the current set of permissions is approved, but
                                                                                                                                                                                                                                                                                                                                      	// additional permissions will require the administrator to reapprove
                                                                                                                                                                                                                                                                                                                                      	// the product (If the product was approved without specifying the
                                                                                                                                                                                                                                                                                                                                      	// approved permissions setting, then this is the default behavior.),
                                                                                                                                                                                                                                                                                                                                      	// - "needsReapproval", the product has unapproved permissions. No
                                                                                                                                                                                                                                                                                                                                      	// additional product licenses can be assigned until the product is
                                                                                                                                                                                                                                                                                                                                      	// reapproved,
                                                                                                                                                                                                                                                                                                                                      	// - "allCurrentAndFutureApproved", the current permissions are approved
                                                                                                                                                                                                                                                                                                                                      	// and any future permission updates will be automatically approved
                                                                                                                                                                                                                                                                                                                                      	// without administrator review.
                                                                                                                                                                                                                                                                                                                                      	Permissions string `json:"permissions,omitempty"`
                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                      	// ProductId: The ID of the product that the license is for. For
                                                                                                                                                                                                                                                                                                                                      	// example, "app:com.google.android.gm".
                                                                                                                                                                                                                                                                                                                                      	ProductId string `json:"productId,omitempty"`
                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                      	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                                      	// server.
                                                                                                                                                                                                                                                                                                                                      	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                      	// ForceSendFields is a list of field names (e.g. "AcquisitionKind") to
                                                                                                                                                                                                                                                                                                                                      	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                      	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                      	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                      	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                      	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                      	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                      	// NullFields is a list of field names (e.g. "AcquisitionKind") to
                                                                                                                                                                                                                                                                                                                                      	// include in API requests with the JSON null value. By default, fields
                                                                                                                                                                                                                                                                                                                                      	// with empty values are omitted from API requests. However, any field
                                                                                                                                                                                                                                                                                                                                      	// with an empty value appearing in NullFields will be sent to the
                                                                                                                                                                                                                                                                                                                                      	// server as null. It is an error if a field in this list has a
                                                                                                                                                                                                                                                                                                                                      	// non-empty value. This may be used to include null fields in Patch
                                                                                                                                                                                                                                                                                                                                      	// requests.
                                                                                                                                                                                                                                                                                                                                      	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                                        GroupLicense: Group license objects allow you to keep track of licenses (called entitlements) for both free and paid apps. For a free app, a group license is created when an enterprise admin first approves the product in Google Play or when the first entitlement for the product is created for a user via the API. For a paid app, a group license object is only created when an enterprise admin purchases the product in Google Play for the first time.

                                                                                                                                                                                                                                                                                                                                        Use the API to query group licenses. A Grouplicenses resource includes the total number of licenses purchased (paid apps only) and the total number of licenses currently in use. In other words, the total number of Entitlements that exist for the product.

                                                                                                                                                                                                                                                                                                                                        Only one group license object is created per product and group license objects are never deleted. If a product is unapproved, its group license remains. This allows enterprise admins to keep track of any remaining entitlements for the product.

                                                                                                                                                                                                                                                                                                                                        func (*GroupLicense) MarshalJSON

                                                                                                                                                                                                                                                                                                                                        func (s *GroupLicense) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                        type GroupLicenseUsersListResponse

                                                                                                                                                                                                                                                                                                                                        type GroupLicenseUsersListResponse struct {
                                                                                                                                                                                                                                                                                                                                        	// Kind: Identifies what kind of resource this is. Value: the fixed
                                                                                                                                                                                                                                                                                                                                        	// string "androidenterprise#groupLicenseUsersListResponse".
                                                                                                                                                                                                                                                                                                                                        	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                        	// User: A user of an enterprise.
                                                                                                                                                                                                                                                                                                                                        	User []*User `json:"user,omitempty"`
                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                        	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                                        	// server.
                                                                                                                                                                                                                                                                                                                                        	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                        	// ForceSendFields is a list of field names (e.g. "Kind") to
                                                                                                                                                                                                                                                                                                                                        	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                        	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                        	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                        	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                        	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                        	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                        	// NullFields is a list of field names (e.g. "Kind") to include in API
                                                                                                                                                                                                                                                                                                                                        	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                                        	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                                        	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                        	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                        	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                        	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                                                                          GroupLicenseUsersListResponse: The user resources for the group license.

                                                                                                                                                                                                                                                                                                                                          func (*GroupLicenseUsersListResponse) MarshalJSON

                                                                                                                                                                                                                                                                                                                                          func (s *GroupLicenseUsersListResponse) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                          type GroupLicensesListResponse

                                                                                                                                                                                                                                                                                                                                          type GroupLicensesListResponse struct {
                                                                                                                                                                                                                                                                                                                                          	// GroupLicense: A group license for a product approved for use in the
                                                                                                                                                                                                                                                                                                                                          	// enterprise.
                                                                                                                                                                                                                                                                                                                                          	GroupLicense []*GroupLicense `json:"groupLicense,omitempty"`
                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                          	// Kind: Identifies what kind of resource this is. Value: the fixed
                                                                                                                                                                                                                                                                                                                                          	// string "androidenterprise#groupLicensesListResponse".
                                                                                                                                                                                                                                                                                                                                          	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                          	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                                          	// server.
                                                                                                                                                                                                                                                                                                                                          	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                          	// ForceSendFields is a list of field names (e.g. "GroupLicense") to
                                                                                                                                                                                                                                                                                                                                          	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                          	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                          	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                          	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                          	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                          	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                          	// NullFields is a list of field names (e.g. "GroupLicense") to include
                                                                                                                                                                                                                                                                                                                                          	// in API requests with the JSON null value. By default, fields with
                                                                                                                                                                                                                                                                                                                                          	// empty values are omitted from API requests. However, any field with
                                                                                                                                                                                                                                                                                                                                          	// an empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                          	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                          	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                          	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                                                            GroupLicensesListResponse: The grouplicense resources for the enterprise.

                                                                                                                                                                                                                                                                                                                                            func (*GroupLicensesListResponse) MarshalJSON

                                                                                                                                                                                                                                                                                                                                            func (s *GroupLicensesListResponse) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                            type GrouplicensesGetCall

                                                                                                                                                                                                                                                                                                                                            type GrouplicensesGetCall struct {
                                                                                                                                                                                                                                                                                                                                            	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                            func (*GrouplicensesGetCall) Context

                                                                                                                                                                                                                                                                                                                                              Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                              func (*GrouplicensesGetCall) Do

                                                                                                                                                                                                                                                                                                                                                Do executes the "androidenterprise.grouplicenses.get" call. Exactly one of *GroupLicense or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GroupLicense.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 (*GrouplicensesGetCall) Fields

                                                                                                                                                                                                                                                                                                                                                  Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                  func (*GrouplicensesGetCall) Header

                                                                                                                                                                                                                                                                                                                                                  func (c *GrouplicensesGetCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                    Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                    func (*GrouplicensesGetCall) IfNoneMatch

                                                                                                                                                                                                                                                                                                                                                    func (c *GrouplicensesGetCall) IfNoneMatch(entityTag string) *GrouplicensesGetCall

                                                                                                                                                                                                                                                                                                                                                      IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                                                                                                      type GrouplicensesListCall

                                                                                                                                                                                                                                                                                                                                                      type GrouplicensesListCall struct {
                                                                                                                                                                                                                                                                                                                                                      	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                                                      func (*GrouplicensesListCall) Context

                                                                                                                                                                                                                                                                                                                                                        Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                        func (*GrouplicensesListCall) Do

                                                                                                                                                                                                                                                                                                                                                          Do executes the "androidenterprise.grouplicenses.list" call. Exactly one of *GroupLicensesListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GroupLicensesListResponse.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 (*GrouplicensesListCall) Fields

                                                                                                                                                                                                                                                                                                                                                            Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                            func (*GrouplicensesListCall) Header

                                                                                                                                                                                                                                                                                                                                                            func (c *GrouplicensesListCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                              Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                              func (*GrouplicensesListCall) IfNoneMatch

                                                                                                                                                                                                                                                                                                                                                              func (c *GrouplicensesListCall) IfNoneMatch(entityTag string) *GrouplicensesListCall

                                                                                                                                                                                                                                                                                                                                                                IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                                                                                                                type GrouplicensesService

                                                                                                                                                                                                                                                                                                                                                                type GrouplicensesService struct {
                                                                                                                                                                                                                                                                                                                                                                	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                func NewGrouplicensesService

                                                                                                                                                                                                                                                                                                                                                                func NewGrouplicensesService(s *Service) *GrouplicensesService

                                                                                                                                                                                                                                                                                                                                                                func (*GrouplicensesService) Get

                                                                                                                                                                                                                                                                                                                                                                func (r *GrouplicensesService) Get(enterpriseId string, groupLicenseId string) *GrouplicensesGetCall

                                                                                                                                                                                                                                                                                                                                                                  Get: Retrieves details of an enterprise's group license for a product.

                                                                                                                                                                                                                                                                                                                                                                  func (*GrouplicensesService) List

                                                                                                                                                                                                                                                                                                                                                                  func (r *GrouplicensesService) List(enterpriseId string) *GrouplicensesListCall

                                                                                                                                                                                                                                                                                                                                                                    List: Retrieves IDs of all products for which the enterprise has a group license.

                                                                                                                                                                                                                                                                                                                                                                    type GrouplicenseusersListCall

                                                                                                                                                                                                                                                                                                                                                                    type GrouplicenseusersListCall struct {
                                                                                                                                                                                                                                                                                                                                                                    	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                                                                    func (*GrouplicenseusersListCall) Context

                                                                                                                                                                                                                                                                                                                                                                      Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                      func (*GrouplicenseusersListCall) Do

                                                                                                                                                                                                                                                                                                                                                                        Do executes the "androidenterprise.grouplicenseusers.list" call. Exactly one of *GroupLicenseUsersListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GroupLicenseUsersListResponse.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 (*GrouplicenseusersListCall) Fields

                                                                                                                                                                                                                                                                                                                                                                          Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                          func (*GrouplicenseusersListCall) Header

                                                                                                                                                                                                                                                                                                                                                                            Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                            func (*GrouplicenseusersListCall) IfNoneMatch

                                                                                                                                                                                                                                                                                                                                                                            func (c *GrouplicenseusersListCall) IfNoneMatch(entityTag string) *GrouplicenseusersListCall

                                                                                                                                                                                                                                                                                                                                                                              IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                                                                                                                              type GrouplicenseusersService

                                                                                                                                                                                                                                                                                                                                                                              type GrouplicenseusersService struct {
                                                                                                                                                                                                                                                                                                                                                                              	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                              func NewGrouplicenseusersService

                                                                                                                                                                                                                                                                                                                                                                              func NewGrouplicenseusersService(s *Service) *GrouplicenseusersService

                                                                                                                                                                                                                                                                                                                                                                              func (*GrouplicenseusersService) List

                                                                                                                                                                                                                                                                                                                                                                              func (r *GrouplicenseusersService) List(enterpriseId string, groupLicenseId string) *GrouplicenseusersListCall

                                                                                                                                                                                                                                                                                                                                                                                List: Retrieves the IDs of the users who have been granted entitlements under the license.

                                                                                                                                                                                                                                                                                                                                                                                type Install

                                                                                                                                                                                                                                                                                                                                                                                type Install struct {
                                                                                                                                                                                                                                                                                                                                                                                	// InstallState: Install state. The state "installPending" means that an
                                                                                                                                                                                                                                                                                                                                                                                	// install request has recently been made and download to the device is
                                                                                                                                                                                                                                                                                                                                                                                	// in progress. The state "installed" means that the app has been
                                                                                                                                                                                                                                                                                                                                                                                	// installed. This field is read-only.
                                                                                                                                                                                                                                                                                                                                                                                	InstallState string `json:"installState,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                	// ProductId: The ID of the product that the install is for. For
                                                                                                                                                                                                                                                                                                                                                                                	// example, "app:com.google.android.gm".
                                                                                                                                                                                                                                                                                                                                                                                	ProductId string `json:"productId,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                	// VersionCode: The version of the installed product. Guaranteed to be
                                                                                                                                                                                                                                                                                                                                                                                	// set only if the install state is "installed".
                                                                                                                                                                                                                                                                                                                                                                                	VersionCode int64 `json:"versionCode,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                                                                                	// server.
                                                                                                                                                                                                                                                                                                                                                                                	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                	// ForceSendFields is a list of field names (e.g. "InstallState") to
                                                                                                                                                                                                                                                                                                                                                                                	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                	// NullFields is a list of field names (e.g. "InstallState") to include
                                                                                                                                                                                                                                                                                                                                                                                	// in API requests with the JSON null value. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                	// empty values are omitted from API requests. However, any field with
                                                                                                                                                                                                                                                                                                                                                                                	// an empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                                	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                                	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                                  Install: The existence of an Installs resource indicates that an app is installed on a particular device (or that an install is pending).

                                                                                                                                                                                                                                                                                                                                                                                  The API can be used to create an install resource using the update method. This triggers the actual install of the app on the device. If the user does not already have an entitlement for the app, then an attempt is made to create one. If this fails (for example, because the app is not free and there is no available license), then the creation of the install fails.

                                                                                                                                                                                                                                                                                                                                                                                  The API can also be used to update an installed app. If the update method is used on an existing install, then the app will be updated to the latest available version.

                                                                                                                                                                                                                                                                                                                                                                                  Note that it is not possible to force the installation of a specific version of an app: the version code is read-only.

                                                                                                                                                                                                                                                                                                                                                                                  If a user installs an app themselves (as permitted by the enterprise), then again an install resource and possibly an entitlement resource are automatically created.

                                                                                                                                                                                                                                                                                                                                                                                  The API can also be used to delete an install resource, which triggers the removal of the app from the device. Note that deleting an install does not automatically remove the corresponding entitlement, even if there are no remaining installs. The install resource will also be deleted if the user uninstalls the app themselves.

                                                                                                                                                                                                                                                                                                                                                                                  func (*Install) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                  func (s *Install) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                  type InstallFailureEvent

                                                                                                                                                                                                                                                                                                                                                                                  type InstallFailureEvent struct {
                                                                                                                                                                                                                                                                                                                                                                                  	// DeviceId: The Android ID of the device. This field will always be
                                                                                                                                                                                                                                                                                                                                                                                  	// present.
                                                                                                                                                                                                                                                                                                                                                                                  	DeviceId string `json:"deviceId,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                  	// FailureDetails: Additional details on the failure if applicable.
                                                                                                                                                                                                                                                                                                                                                                                  	FailureDetails string `json:"failureDetails,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                  	// FailureReason: The reason for the installation failure. This field
                                                                                                                                                                                                                                                                                                                                                                                  	// will always be present.
                                                                                                                                                                                                                                                                                                                                                                                  	FailureReason string `json:"failureReason,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                  	// ProductId: The id of the product (e.g. "app:com.google.android.gm")
                                                                                                                                                                                                                                                                                                                                                                                  	// for which the install failure event occured. This field will always
                                                                                                                                                                                                                                                                                                                                                                                  	// be present.
                                                                                                                                                                                                                                                                                                                                                                                  	ProductId string `json:"productId,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                  	// UserId: The ID of the user. This field will always be present.
                                                                                                                                                                                                                                                                                                                                                                                  	UserId string `json:"userId,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                  	// ForceSendFields is a list of field names (e.g. "DeviceId") to
                                                                                                                                                                                                                                                                                                                                                                                  	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                  	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                  	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                  	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                  	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                  	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. However, any field with an
                                                                                                                                                                                                                                                                                                                                                                                  	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                                  	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                                  	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                  	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                    InstallFailureEvent: An event generated when an app installation failed on a device

                                                                                                                                                                                                                                                                                                                                                                                    func (*InstallFailureEvent) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                    func (s *InstallFailureEvent) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                    type InstallsDeleteCall

                                                                                                                                                                                                                                                                                                                                                                                    type InstallsDeleteCall struct {
                                                                                                                                                                                                                                                                                                                                                                                    	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                                                                                    func (*InstallsDeleteCall) Context

                                                                                                                                                                                                                                                                                                                                                                                      Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                      func (*InstallsDeleteCall) Do

                                                                                                                                                                                                                                                                                                                                                                                        Do executes the "androidenterprise.installs.delete" call.

                                                                                                                                                                                                                                                                                                                                                                                        func (*InstallsDeleteCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                          Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                          func (*InstallsDeleteCall) Header

                                                                                                                                                                                                                                                                                                                                                                                          func (c *InstallsDeleteCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                                            Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                            type InstallsGetCall

                                                                                                                                                                                                                                                                                                                                                                                            type InstallsGetCall struct {
                                                                                                                                                                                                                                                                                                                                                                                            	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                                                                            func (*InstallsGetCall) Context

                                                                                                                                                                                                                                                                                                                                                                                              Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                              func (*InstallsGetCall) Do

                                                                                                                                                                                                                                                                                                                                                                                              func (c *InstallsGetCall) Do(opts ...googleapi.CallOption) (*Install, error)

                                                                                                                                                                                                                                                                                                                                                                                                Do executes the "androidenterprise.installs.get" call. Exactly one of *Install or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Install.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 (*InstallsGetCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                  Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                  func (*InstallsGetCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                  func (c *InstallsGetCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                                                    Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                    func (*InstallsGetCall) IfNoneMatch

                                                                                                                                                                                                                                                                                                                                                                                                    func (c *InstallsGetCall) IfNoneMatch(entityTag string) *InstallsGetCall

                                                                                                                                                                                                                                                                                                                                                                                                      IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                                                                                                                                                      type InstallsListCall

                                                                                                                                                                                                                                                                                                                                                                                                      type InstallsListCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                      	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                                                                                                      func (*InstallsListCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                        Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                        func (*InstallsListCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                          Do executes the "androidenterprise.installs.list" call. Exactly one of *InstallsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *InstallsListResponse.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 (*InstallsListCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                            Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                            func (*InstallsListCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                            func (c *InstallsListCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                                                              Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                              func (*InstallsListCall) IfNoneMatch

                                                                                                                                                                                                                                                                                                                                                                                                              func (c *InstallsListCall) IfNoneMatch(entityTag string) *InstallsListCall

                                                                                                                                                                                                                                                                                                                                                                                                                IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                                                                                                                                                                type InstallsListResponse

                                                                                                                                                                                                                                                                                                                                                                                                                type InstallsListResponse struct {
                                                                                                                                                                                                                                                                                                                                                                                                                	// Install: An installation of an app for a user on a specific device.
                                                                                                                                                                                                                                                                                                                                                                                                                	// The existence of an install implies that the user must have an
                                                                                                                                                                                                                                                                                                                                                                                                                	// entitlement to the app.
                                                                                                                                                                                                                                                                                                                                                                                                                	Install []*Install `json:"install,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                	// Kind: Identifies what kind of resource this is. Value: the fixed
                                                                                                                                                                                                                                                                                                                                                                                                                	// string "androidenterprise#installsListResponse".
                                                                                                                                                                                                                                                                                                                                                                                                                	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                                                                                                                	// server.
                                                                                                                                                                                                                                                                                                                                                                                                                	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                	// ForceSendFields is a list of field names (e.g. "Install") to
                                                                                                                                                                                                                                                                                                                                                                                                                	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                	// NullFields is a list of field names (e.g. "Install") to include in
                                                                                                                                                                                                                                                                                                                                                                                                                	// API requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                                                                                                                	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                                                                                                                	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                                                                	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                                                                	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                                                                  InstallsListResponse: The install resources for the device.

                                                                                                                                                                                                                                                                                                                                                                                                                  func (*InstallsListResponse) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                  func (s *InstallsListResponse) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                  type InstallsService

                                                                                                                                                                                                                                                                                                                                                                                                                  type InstallsService struct {
                                                                                                                                                                                                                                                                                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                  func NewInstallsService

                                                                                                                                                                                                                                                                                                                                                                                                                  func NewInstallsService(s *Service) *InstallsService

                                                                                                                                                                                                                                                                                                                                                                                                                  func (*InstallsService) Delete

                                                                                                                                                                                                                                                                                                                                                                                                                  func (r *InstallsService) Delete(enterpriseId string, userId string, deviceId string, installId string) *InstallsDeleteCall

                                                                                                                                                                                                                                                                                                                                                                                                                    Delete: Requests to remove an app from a device. A call to get or list will still show the app as installed on the device until it is actually removed.

                                                                                                                                                                                                                                                                                                                                                                                                                    func (*InstallsService) Get

                                                                                                                                                                                                                                                                                                                                                                                                                    func (r *InstallsService) Get(enterpriseId string, userId string, deviceId string, installId string) *InstallsGetCall

                                                                                                                                                                                                                                                                                                                                                                                                                      Get: Retrieves details of an installation of an app on a device.

                                                                                                                                                                                                                                                                                                                                                                                                                      func (*InstallsService) List

                                                                                                                                                                                                                                                                                                                                                                                                                      func (r *InstallsService) List(enterpriseId string, userId string, deviceId string) *InstallsListCall

                                                                                                                                                                                                                                                                                                                                                                                                                        List: Retrieves the details of all apps installed on the specified device.

                                                                                                                                                                                                                                                                                                                                                                                                                        func (*InstallsService) Update

                                                                                                                                                                                                                                                                                                                                                                                                                        func (r *InstallsService) Update(enterpriseId string, userId string, deviceId string, installId string, install *Install) *InstallsUpdateCall

                                                                                                                                                                                                                                                                                                                                                                                                                          Update: Requests to install the latest version of an app to a device. If the app is already installed, then it is updated to the latest version if necessary.

                                                                                                                                                                                                                                                                                                                                                                                                                          type InstallsUpdateCall

                                                                                                                                                                                                                                                                                                                                                                                                                          type InstallsUpdateCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                                          	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                                                                                                                                          func (*InstallsUpdateCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                                            Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                                            func (*InstallsUpdateCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                              Do executes the "androidenterprise.installs.update" call. Exactly one of *Install or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Install.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 (*InstallsUpdateCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                                                Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                                                func (*InstallsUpdateCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                                                func (c *InstallsUpdateCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                                                                                  Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                                                  type KeyedAppState

                                                                                                                                                                                                                                                                                                                                                                                                                                  type KeyedAppState struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// Data: Additional field intended for machine-readable data. For
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// example, a number or JSON object. To prevent XSS, we recommend
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// removing any HTML from the data before displaying it.
                                                                                                                                                                                                                                                                                                                                                                                                                                  	Data string `json:"data,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// Key: Key indicating what the app is providing a state for. The
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// content of the key is set by the app's developer. To prevent XSS, we
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// recommend removing any HTML from the key before displaying it. This
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// field will always be present.
                                                                                                                                                                                                                                                                                                                                                                                                                                  	Key string `json:"key,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// Message: Free-form, human-readable message describing the app state.
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// For example, an error message. To prevent XSS, we recommend removing
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// any HTML from the message before displaying it.
                                                                                                                                                                                                                                                                                                                                                                                                                                  	Message string `json:"message,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// Severity: Severity of the app state. This field will always be
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// present.
                                                                                                                                                                                                                                                                                                                                                                                                                                  	Severity string `json:"severity,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// StateTimestampMillis: Timestamp of when the app set the state in
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// milliseconds since epoch. This field will always be present.
                                                                                                                                                                                                                                                                                                                                                                                                                                  	StateTimestampMillis int64 `json:"stateTimestampMillis,omitempty,string"`
                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// ForceSendFields is a list of field names (e.g. "Data") to
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                  	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// NullFields is a list of field names (e.g. "Data") to include in API
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                  	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                                    KeyedAppState: Represents a keyed app state containing a key, timestamp, severity level, optional description, and optional data.

                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*KeyedAppState) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                    func (s *KeyedAppState) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                    type LocalizedText

                                                                                                                                                                                                                                                                                                                                                                                                                                    type LocalizedText struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Locale: The BCP47 tag for a locale. (e.g. "en-US", "de").
                                                                                                                                                                                                                                                                                                                                                                                                                                    	Locale string `json:"locale,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Text: The text localized in the associated locale.
                                                                                                                                                                                                                                                                                                                                                                                                                                    	Text string `json:"text,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                    	// ForceSendFields is a list of field names (e.g. "Locale") to
                                                                                                                                                                                                                                                                                                                                                                                                                                    	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                    	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                                    	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                    	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                                    	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                    	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                    	// NullFields is a list of field names (e.g. "Locale") to include in API
                                                                                                                                                                                                                                                                                                                                                                                                                                    	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                                                                                                                                    	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                                                                                                                                    	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                                                                                    	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                                                                                    	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                    	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                                                                                                                                      LocalizedText: A localized string with its locale.

                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*LocalizedText) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                      func (s *LocalizedText) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                      type MaintenanceWindow

                                                                                                                                                                                                                                                                                                                                                                                                                                      type MaintenanceWindow struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                      	// DurationMs: Duration of the maintenance window, in milliseconds. The
                                                                                                                                                                                                                                                                                                                                                                                                                                      	// duration must be between 30 minutes and 24 hours (inclusive).
                                                                                                                                                                                                                                                                                                                                                                                                                                      	DurationMs int64 `json:"durationMs,omitempty,string"`
                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                      	// StartTimeAfterMidnightMs: Start time of the maintenance window, in
                                                                                                                                                                                                                                                                                                                                                                                                                                      	// milliseconds after midnight on the device. Windows can span midnight.
                                                                                                                                                                                                                                                                                                                                                                                                                                      	StartTimeAfterMidnightMs int64 `json:"startTimeAfterMidnightMs,omitempty,string"`
                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                      	// ForceSendFields is a list of field names (e.g. "DurationMs") to
                                                                                                                                                                                                                                                                                                                                                                                                                                      	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                      	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                                      	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                      	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                                      	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                      	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                      	// NullFields is a list of field names (e.g. "DurationMs") to include in
                                                                                                                                                                                                                                                                                                                                                                                                                                      	// API requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                                                                                                                                      	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                                                                                                                                      	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                                                                                      	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                                                                                      	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                      	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                                                                                                                                        MaintenanceWindow: Maintenance window for managed Google Play Accounts. This allows Play store to update the apps on the foreground in the designated window.

                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*MaintenanceWindow) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                        func (s *MaintenanceWindow) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                        type ManagedConfiguration

                                                                                                                                                                                                                                                                                                                                                                                                                                        type ManagedConfiguration struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                        	// ConfigurationVariables: Contains the ID of the managed configuration
                                                                                                                                                                                                                                                                                                                                                                                                                                        	// profile and the set of configuration variables (if any) defined for
                                                                                                                                                                                                                                                                                                                                                                                                                                        	// the user.
                                                                                                                                                                                                                                                                                                                                                                                                                                        	ConfigurationVariables *ConfigurationVariables `json:"configurationVariables,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                        	// Kind: Deprecated.
                                                                                                                                                                                                                                                                                                                                                                                                                                        	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                        	// ManagedProperty: The set of managed properties for this
                                                                                                                                                                                                                                                                                                                                                                                                                                        	// configuration.
                                                                                                                                                                                                                                                                                                                                                                                                                                        	ManagedProperty []*ManagedProperty `json:"managedProperty,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                        	// ProductId: The ID of the product that the managed configuration is
                                                                                                                                                                                                                                                                                                                                                                                                                                        	// for, e.g. "app:com.google.android.gm".
                                                                                                                                                                                                                                                                                                                                                                                                                                        	ProductId string `json:"productId,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                        	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                                                                                                                                        	// server.
                                                                                                                                                                                                                                                                                                                                                                                                                                        	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                        	// ForceSendFields is a list of field names (e.g.
                                                                                                                                                                                                                                                                                                                                                                                                                                        	// "ConfigurationVariables") to unconditionally include in API requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                        	// By default, fields with empty values are omitted from API requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                        	// However, any non-pointer, non-interface field appearing in
                                                                                                                                                                                                                                                                                                                                                                                                                                        	// ForceSendFields will be sent to the server regardless of whether the
                                                                                                                                                                                                                                                                                                                                                                                                                                        	// field is empty or not. This may be used to include empty fields in
                                                                                                                                                                                                                                                                                                                                                                                                                                        	// Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                        	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                        	// NullFields is a list of field names (e.g. "ConfigurationVariables")
                                                                                                                                                                                                                                                                                                                                                                                                                                        	// to include in API requests with the JSON null value. By default,
                                                                                                                                                                                                                                                                                                                                                                                                                                        	// fields with empty values are omitted from API requests. However, any
                                                                                                                                                                                                                                                                                                                                                                                                                                        	// field with an empty value appearing in NullFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                        	// server as null. It is an error if a field in this list has a
                                                                                                                                                                                                                                                                                                                                                                                                                                        	// non-empty value. This may be used to include null fields in Patch
                                                                                                                                                                                                                                                                                                                                                                                                                                        	// requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                        	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                                                                                                                                                                          ManagedConfiguration: A managed configuration resource contains the set of managed properties defined by the app developer in the app's managed configurations schema, as well as any configuration variables defined for the user.

                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*ManagedConfiguration) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                          func (s *ManagedConfiguration) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                          type ManagedConfigurationsForDeviceListResponse

                                                                                                                                                                                                                                                                                                                                                                                                                                          type ManagedConfigurationsForDeviceListResponse struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                          	// Kind: Identifies what kind of resource this is. Value: the fixed
                                                                                                                                                                                                                                                                                                                                                                                                                                          	// string
                                                                                                                                                                                                                                                                                                                                                                                                                                          	// "androidenterprise#managedConfigurationsForDeviceListResponse".
                                                                                                                                                                                                                                                                                                                                                                                                                                          	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                          	// ManagedConfigurationForDevice: A managed configuration for an app on
                                                                                                                                                                                                                                                                                                                                                                                                                                          	// a specific device.
                                                                                                                                                                                                                                                                                                                                                                                                                                          	ManagedConfigurationForDevice []*ManagedConfiguration `json:"managedConfigurationForDevice,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                          	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                                                                                                                                          	// server.
                                                                                                                                                                                                                                                                                                                                                                                                                                          	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                          	// ForceSendFields is a list of field names (e.g. "Kind") to
                                                                                                                                                                                                                                                                                                                                                                                                                                          	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                          	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                                          	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                          	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                                          	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                          	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                          	// NullFields is a list of field names (e.g. "Kind") to include in API
                                                                                                                                                                                                                                                                                                                                                                                                                                          	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                                                                                                                                          	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                                                                                                                                          	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                                                                                          	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                                                                                          	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                          	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                                                                                                                                                            ManagedConfigurationsForDeviceListResponse: The managed configuration resources for the device.

                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*ManagedConfigurationsForDeviceListResponse) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                            type ManagedConfigurationsForUserListResponse

                                                                                                                                                                                                                                                                                                                                                                                                                                            type ManagedConfigurationsForUserListResponse struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                            	// Kind: Identifies what kind of resource this is. Value: the fixed
                                                                                                                                                                                                                                                                                                                                                                                                                                            	// string "androidenterprise#managedConfigurationsForUserListResponse".
                                                                                                                                                                                                                                                                                                                                                                                                                                            	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                            	// ManagedConfigurationForUser: A managed configuration for an app for a
                                                                                                                                                                                                                                                                                                                                                                                                                                            	// specific user.
                                                                                                                                                                                                                                                                                                                                                                                                                                            	ManagedConfigurationForUser []*ManagedConfiguration `json:"managedConfigurationForUser,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                            	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                                                                                                                                            	// server.
                                                                                                                                                                                                                                                                                                                                                                                                                                            	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                            	// ForceSendFields is a list of field names (e.g. "Kind") to
                                                                                                                                                                                                                                                                                                                                                                                                                                            	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                            	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                                            	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                            	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                                            	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                            	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                            	// NullFields is a list of field names (e.g. "Kind") to include in API
                                                                                                                                                                                                                                                                                                                                                                                                                                            	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                                                                                                                                            	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                                                                                                                                            	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                                                                                            	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                                                                                            	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                            	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                                                                                                                              ManagedConfigurationsForUserListResponse: The managed configuration resources for the user.

                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*ManagedConfigurationsForUserListResponse) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                              func (s *ManagedConfigurationsForUserListResponse) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                              type ManagedConfigurationsSettings

                                                                                                                                                                                                                                                                                                                                                                                                                                              type ManagedConfigurationsSettings struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                              	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                              	// LastUpdatedTimestampMillis: The last updated time of the managed
                                                                                                                                                                                                                                                                                                                                                                                                                                              	// configuration settings in milliseconds since 1970-01-01T00:00:00Z.
                                                                                                                                                                                                                                                                                                                                                                                                                                              	LastUpdatedTimestampMillis int64 `json:"lastUpdatedTimestampMillis,omitempty,string"`
                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                              	// McmId: The ID of the managed configurations settings.
                                                                                                                                                                                                                                                                                                                                                                                                                                              	McmId string `json:"mcmId,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                              	// Name: The name of the managed configurations settings.
                                                                                                                                                                                                                                                                                                                                                                                                                                              	Name string `json:"name,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                              	// ForceSendFields is a list of field names (e.g. "Kind") to
                                                                                                                                                                                                                                                                                                                                                                                                                                              	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                              	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                                              	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                              	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                                              	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                              	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                              	// NullFields is a list of field names (e.g. "Kind") to include in API
                                                                                                                                                                                                                                                                                                                                                                                                                                              	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                                                                                                                                              	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                                                                                                                                              	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                                                                                              	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                                                                                              	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                              	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                                                                                                ManagedConfigurationsSettings: A managed configurations settings resource contains the set of managed properties that have been configured for an Android app to be applied to a set of users. The app's developer would have defined configurable properties in the managed configurations schema.

                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*ManagedConfigurationsSettings) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                                func (s *ManagedConfigurationsSettings) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                type ManagedConfigurationsSettingsListResponse

                                                                                                                                                                                                                                                                                                                                                                                                                                                type ManagedConfigurationsSettingsListResponse struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                	// Kind: Identifies what kind of resource this is. Value: the fixed
                                                                                                                                                                                                                                                                                                                                                                                                                                                	// string "androidenterprise#managedConfigurationsSettingsListResponse".
                                                                                                                                                                                                                                                                                                                                                                                                                                                	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                	// ManagedConfigurationsSettings: A managed configurations settings for
                                                                                                                                                                                                                                                                                                                                                                                                                                                	// an app that may be assigned to a group of users in an enterprise.
                                                                                                                                                                                                                                                                                                                                                                                                                                                	ManagedConfigurationsSettings []*ManagedConfigurationsSettings `json:"managedConfigurationsSettings,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                                                                                                                                                	// server.
                                                                                                                                                                                                                                                                                                                                                                                                                                                	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                	// ForceSendFields is a list of field names (e.g. "Kind") to
                                                                                                                                                                                                                                                                                                                                                                                                                                                	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                                	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                                                	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                                                	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                	// NullFields is a list of field names (e.g. "Kind") to include in API
                                                                                                                                                                                                                                                                                                                                                                                                                                                	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                                                                                                                                                	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                                                                                                                                                	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                                                                                                	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                                                                                                	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                                                                                                  ManagedConfigurationsSettingsListResponse: The managed configurations settings for a product.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*ManagedConfigurationsSettingsListResponse) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                                  type ManagedProperty

                                                                                                                                                                                                                                                                                                                                                                                                                                                  type ManagedProperty struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// Key: The unique key that identifies the property.
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	Key string `json:"key,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// ValueBool: The boolean value - this will only be present if type of
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// the property is bool.
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	ValueBool bool `json:"valueBool,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// ValueBundle: The bundle of managed properties - this will only be
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// present if type of the property is bundle.
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	ValueBundle *ManagedPropertyBundle `json:"valueBundle,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// ValueBundleArray: The list of bundles of properties - this will only
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// be present if type of the property is bundle_array.
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	ValueBundleArray []*ManagedPropertyBundle `json:"valueBundleArray,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// ValueInteger: The integer value - this will only be present if type
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// of the property is integer.
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	ValueInteger int64 `json:"valueInteger,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// ValueString: The string value - this will only be present if type of
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// the property is string, choice or hidden.
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	ValueString string `json:"valueString,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// ValueStringArray: The list of string values - this will only be
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// present if type of the property is multiselect.
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	ValueStringArray []string `json:"valueStringArray,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// ForceSendFields is a list of field names (e.g. "Key") to
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// NullFields is a list of field names (e.g. "Key") to include in API
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                                                    ManagedProperty: A managed property of a managed configuration. The property must match one of the properties in the app restrictions schema of the product. Exactly one of the value fields must be populated, and it must match the property's type in the app restrictions schema.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*ManagedProperty) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (s *ManagedProperty) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                    type ManagedPropertyBundle

                                                                                                                                                                                                                                                                                                                                                                                                                                                    type ManagedPropertyBundle struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// ManagedProperty: The list of managed properties.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	ManagedProperty []*ManagedProperty `json:"managedProperty,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// ForceSendFields is a list of field names (e.g. "ManagedProperty") to
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// NullFields is a list of field names (e.g. "ManagedProperty") to
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// include in API requests with the JSON null value. By default, fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// with empty values are omitted from API requests. However, any field
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// with an empty value appearing in NullFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// server as null. It is an error if a field in this list has a
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// non-empty value. This may be used to include null fields in Patch
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                                                                                                                                                      ManagedPropertyBundle: A bundle of managed properties.

                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*ManagedPropertyBundle) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (s *ManagedPropertyBundle) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                      type ManagedconfigurationsfordeviceDeleteCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                      type ManagedconfigurationsfordeviceDeleteCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*ManagedconfigurationsfordeviceDeleteCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                                                                        Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*ManagedconfigurationsfordeviceDeleteCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Do executes the "androidenterprise.managedconfigurationsfordevice.delete" call.

                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*ManagedconfigurationsfordeviceDeleteCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                                                                            Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*ManagedconfigurationsfordeviceDeleteCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              type ManagedconfigurationsfordeviceGetCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                              type ManagedconfigurationsfordeviceGetCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*ManagedconfigurationsfordeviceGetCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                                                                                Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*ManagedconfigurationsfordeviceGetCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Do executes the "androidenterprise.managedconfigurationsfordevice.get" call. Exactly one of *ManagedConfiguration or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ManagedConfiguration.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 (*ManagedconfigurationsfordeviceGetCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*ManagedconfigurationsfordeviceGetCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*ManagedconfigurationsfordeviceGetCall) IfNoneMatch

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type ManagedconfigurationsfordeviceListCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type ManagedconfigurationsfordeviceListCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*ManagedconfigurationsfordeviceListCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*ManagedconfigurationsfordeviceListCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Do executes the "androidenterprise.managedconfigurationsfordevice.list" call. Exactly one of *ManagedConfigurationsForDeviceListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ManagedConfigurationsForDeviceListResponse.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 (*ManagedconfigurationsfordeviceListCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*ManagedconfigurationsfordeviceListCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*ManagedconfigurationsfordeviceListCall) IfNoneMatch

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type ManagedconfigurationsfordeviceService

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type ManagedconfigurationsfordeviceService struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func NewManagedconfigurationsfordeviceService

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func NewManagedconfigurationsfordeviceService(s *Service) *ManagedconfigurationsfordeviceService

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*ManagedconfigurationsfordeviceService) Delete

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (r *ManagedconfigurationsfordeviceService) Delete(enterpriseId string, userId string, deviceId string, managedConfigurationForDeviceId string) *ManagedconfigurationsfordeviceDeleteCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Delete: Removes a per-device managed configuration for an app for the specified device.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*ManagedconfigurationsfordeviceService) Get

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (r *ManagedconfigurationsfordeviceService) Get(enterpriseId string, userId string, deviceId string, managedConfigurationForDeviceId string) *ManagedconfigurationsfordeviceGetCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Get: Retrieves details of a per-device managed configuration.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*ManagedconfigurationsfordeviceService) List

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        List: Lists all the per-device managed configurations for the specified device. Only the ID is set.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*ManagedconfigurationsfordeviceService) Update

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (r *ManagedconfigurationsfordeviceService) Update(enterpriseId string, userId string, deviceId string, managedConfigurationForDeviceId string, managedconfiguration *ManagedConfiguration) *ManagedconfigurationsfordeviceUpdateCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Update: Adds or updates a per-device managed configuration for an app for the specified device.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type ManagedconfigurationsfordeviceUpdateCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type ManagedconfigurationsfordeviceUpdateCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*ManagedconfigurationsfordeviceUpdateCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*ManagedconfigurationsfordeviceUpdateCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Do executes the "androidenterprise.managedconfigurationsfordevice.update" call. Exactly one of *ManagedConfiguration or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ManagedConfiguration.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 (*ManagedconfigurationsfordeviceUpdateCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*ManagedconfigurationsfordeviceUpdateCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type ManagedconfigurationsforuserDeleteCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type ManagedconfigurationsforuserDeleteCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*ManagedconfigurationsforuserDeleteCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*ManagedconfigurationsforuserDeleteCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Do executes the "androidenterprise.managedconfigurationsforuser.delete" call.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*ManagedconfigurationsforuserDeleteCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*ManagedconfigurationsforuserDeleteCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type ManagedconfigurationsforuserGetCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type ManagedconfigurationsforuserGetCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*ManagedconfigurationsforuserGetCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*ManagedconfigurationsforuserGetCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Do executes the "androidenterprise.managedconfigurationsforuser.get" call. Exactly one of *ManagedConfiguration or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ManagedConfiguration.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 (*ManagedconfigurationsforuserGetCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*ManagedconfigurationsforuserGetCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*ManagedconfigurationsforuserGetCall) IfNoneMatch

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type ManagedconfigurationsforuserListCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type ManagedconfigurationsforuserListCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*ManagedconfigurationsforuserListCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*ManagedconfigurationsforuserListCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Do executes the "androidenterprise.managedconfigurationsforuser.list" call. Exactly one of *ManagedConfigurationsForUserListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ManagedConfigurationsForUserListResponse.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 (*ManagedconfigurationsforuserListCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*ManagedconfigurationsforuserListCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*ManagedconfigurationsforuserListCall) IfNoneMatch

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type ManagedconfigurationsforuserService

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type ManagedconfigurationsforuserService struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func NewManagedconfigurationsforuserService

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func NewManagedconfigurationsforuserService(s *Service) *ManagedconfigurationsforuserService

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*ManagedconfigurationsforuserService) Delete

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (r *ManagedconfigurationsforuserService) Delete(enterpriseId string, userId string, managedConfigurationForUserId string) *ManagedconfigurationsforuserDeleteCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Delete: Removes a per-user managed configuration for an app for the specified user.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*ManagedconfigurationsforuserService) Get

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (r *ManagedconfigurationsforuserService) Get(enterpriseId string, userId string, managedConfigurationForUserId string) *ManagedconfigurationsforuserGetCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Get: Retrieves details of a per-user managed configuration for an app for the specified user.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*ManagedconfigurationsforuserService) List

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    List: Lists all the per-user managed configurations for the specified user. Only the ID is set.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*ManagedconfigurationsforuserService) Update

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (r *ManagedconfigurationsforuserService) Update(enterpriseId string, userId string, managedConfigurationForUserId string, managedconfiguration *ManagedConfiguration) *ManagedconfigurationsforuserUpdateCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Update: Adds or updates the managed configuration settings for an app for the specified user. If you support the Managed configurations iframe, you can apply managed configurations to a user by specifying an mcmId and its associated configuration variables (if any) in the request. Alternatively, all EMMs can apply managed configurations by passing a list of managed properties.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type ManagedconfigurationsforuserUpdateCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type ManagedconfigurationsforuserUpdateCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*ManagedconfigurationsforuserUpdateCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*ManagedconfigurationsforuserUpdateCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Do executes the "androidenterprise.managedconfigurationsforuser.update" call. Exactly one of *ManagedConfiguration or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ManagedConfiguration.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 (*ManagedconfigurationsforuserUpdateCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*ManagedconfigurationsforuserUpdateCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type ManagedconfigurationssettingsListCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type ManagedconfigurationssettingsListCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*ManagedconfigurationssettingsListCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*ManagedconfigurationssettingsListCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Do executes the "androidenterprise.managedconfigurationssettings.list" call. Exactly one of *ManagedConfigurationsSettingsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ManagedConfigurationsSettingsListResponse.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 (*ManagedconfigurationssettingsListCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*ManagedconfigurationssettingsListCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*ManagedconfigurationssettingsListCall) IfNoneMatch

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type ManagedconfigurationssettingsService

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type ManagedconfigurationssettingsService struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func NewManagedconfigurationssettingsService

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func NewManagedconfigurationssettingsService(s *Service) *ManagedconfigurationssettingsService

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*ManagedconfigurationssettingsService) List

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          List: Lists all the managed configurations settings for the specified app.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type NewDeviceEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type NewDeviceEvent struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// DeviceId: The Android ID of the device. This field will always be
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// present.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	DeviceId string `json:"deviceId,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// DpcPackageName: Policy app on the device.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	DpcPackageName string `json:"dpcPackageName,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// ManagementType: Identifies the extent to which the device is
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// controlled by an Android EMM in various deployment
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// configurations.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// Possible values include:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// - "managedDevice", a device where the DPC is set as device owner,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// - "managedProfile", a device where the DPC is set as profile owner.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	ManagementType string `json:"managementType,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// UserId: The ID of the user. This field will always be present.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	UserId string `json:"userId,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// ForceSendFields is a list of field names (e.g. "DeviceId") to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	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. However, any field with an
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            NewDeviceEvent: An event generated when a new device is ready to be managed.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*NewDeviceEvent) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (s *NewDeviceEvent) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type NewPermissionsEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type NewPermissionsEvent struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// ApprovedPermissions: The set of permissions that the enterprise admin
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// has already approved for this application. Use Permissions.Get on the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// EMM API to retrieve details about these permissions.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	ApprovedPermissions []string `json:"approvedPermissions,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// ProductId: The id of the product (e.g. "app:com.google.android.gm")
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// for which new permissions were added. This field will always be
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// present.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	ProductId string `json:"productId,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// RequestedPermissions: The set of permissions that the app is
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// currently requesting. Use Permissions.Get on the EMM API to retrieve
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// details about these permissions.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	RequestedPermissions []string `json:"requestedPermissions,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// ForceSendFields is a list of field names (e.g. "ApprovedPermissions")
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// to unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// NullFields is a list of field names (e.g. "ApprovedPermissions") to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// include in API requests with the JSON null value. By default, fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// with empty values are omitted from API requests. However, any field
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// with an empty value appearing in NullFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// server as null. It is an error if a field in this list has a
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// non-empty value. This may be used to include null fields in Patch
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              NewPermissionsEvent: An event generated when new permissions are added to an app.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*NewPermissionsEvent) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (s *NewPermissionsEvent) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type Notification

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type Notification struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// AppRestrictionsSchemaChangeEvent: Notifications about new app
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// restrictions schema changes.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	AppRestrictionsSchemaChangeEvent *AppRestrictionsSchemaChangeEvent `json:"appRestrictionsSchemaChangeEvent,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// AppUpdateEvent: Notifications about app updates.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	AppUpdateEvent *AppUpdateEvent `json:"appUpdateEvent,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// DeviceReportUpdateEvent: Notifications about device report updates.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	DeviceReportUpdateEvent *DeviceReportUpdateEvent `json:"deviceReportUpdateEvent,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// EnterpriseId: The ID of the enterprise for which the notification is
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// sent. This will always be present.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	EnterpriseId string `json:"enterpriseId,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// InstallFailureEvent: Notifications about an app installation failure.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	InstallFailureEvent *InstallFailureEvent `json:"installFailureEvent,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// NewDeviceEvent: Notifications about new devices.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	NewDeviceEvent *NewDeviceEvent `json:"newDeviceEvent,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// NewPermissionsEvent: Notifications about new app permissions.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	NewPermissionsEvent *NewPermissionsEvent `json:"newPermissionsEvent,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// NotificationType: Type of the notification.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	NotificationType string `json:"notificationType,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// ProductApprovalEvent: Notifications about changes to a product's
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// approval status.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	ProductApprovalEvent *ProductApprovalEvent `json:"productApprovalEvent,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// ProductAvailabilityChangeEvent: Notifications about product
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// availability changes.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	ProductAvailabilityChangeEvent *ProductAvailabilityChangeEvent `json:"productAvailabilityChangeEvent,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// TimestampMillis: The time when the notification was published in
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// milliseconds since 1970-01-01T00:00:00Z. This will always be present.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	TimestampMillis int64 `json:"timestampMillis,omitempty,string"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// ForceSendFields is a list of field names (e.g.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// "AppRestrictionsSchemaChangeEvent") to unconditionally include in API
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// requests. By default, fields with empty values are omitted from API
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// requests. However, any non-pointer, non-interface field appearing in
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// ForceSendFields will be sent to the server regardless of whether the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// field is empty or not. This may be used to include empty fields in
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// NullFields is a list of field names (e.g.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// "AppRestrictionsSchemaChangeEvent") to include in API requests with
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// the JSON null value. By default, fields with empty values are omitted
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// from API requests. However, any field with an empty value appearing
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// in NullFields will be sent to the server as null. It is an error if a
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// field in this list has a non-empty value. This may be used to include
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Notification: A notification of one event relating to an enterprise.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*Notification) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (s *Notification) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type NotificationSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type NotificationSet struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// Notification: The notifications received, or empty if no
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// notifications are present.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	Notification []*Notification `json:"notification,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// NotificationSetId: The notification set ID, required to mark the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// notification as received with the Enterprises.AcknowledgeNotification
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// API. This will be omitted if no notifications are present.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	NotificationSetId string `json:"notificationSetId,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// server.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// ForceSendFields is a list of field names (e.g. "Kind") to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// NullFields is a list of field names (e.g. "Kind") to include in API
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  NotificationSet: A resource returned by the PullNotificationSet API, which contains a collection of notifications for enterprises associated with the service account authenticated for the request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*NotificationSet) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (s *NotificationSet) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type PageInfo

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type PageInfo struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	ResultPerPage int64 `json:"resultPerPage,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	StartIndex int64 `json:"startIndex,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	TotalResults int64 `json:"totalResults,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// ForceSendFields is a list of field names (e.g. "ResultPerPage") to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// NullFields is a list of field names (e.g. "ResultPerPage") to include
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// in API requests with the JSON null value. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// empty values are omitted from API requests. However, any field with
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// an empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*PageInfo) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (s *PageInfo) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type Permission

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type Permission struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// Description: A longer description of the Permissions resource, giving
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// more details of what it affects.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	Description string `json:"description,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// Name: The name of the permission.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	Name string `json:"name,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// PermissionId: An opaque string uniquely identifying the permission.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	PermissionId string `json:"permissionId,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// server.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// ForceSendFields is a list of field names (e.g. "Description") to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// NullFields is a list of field names (e.g. "Description") to include
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// in API requests with the JSON null value. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// empty values are omitted from API requests. However, any field with
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// an empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Permission: A Permissions resource represents some extra capability, to be granted to an Android app, which requires explicit consent. An enterprise admin must consent to these permissions on behalf of their users before an entitlement for the app can be created.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The permissions collection is read-only. The information provided for each permission (localized name and description) is intended to be used in the MDM user interface when obtaining consent from the enterprise.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*Permission) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (s *Permission) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type PermissionsGetCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type PermissionsGetCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*PermissionsGetCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*PermissionsGetCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Do executes the "androidenterprise.permissions.get" call. Exactly one of *Permission or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Permission.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 (*PermissionsGetCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*PermissionsGetCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (c *PermissionsGetCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*PermissionsGetCall) IfNoneMatch

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (c *PermissionsGetCall) IfNoneMatch(entityTag string) *PermissionsGetCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*PermissionsGetCall) Language

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (c *PermissionsGetCall) Language(language string) *PermissionsGetCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Language sets the optional parameter "language": The BCP47 tag for the user's preferred language (e.g. "en-US", "de")

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type PermissionsService

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type PermissionsService struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func NewPermissionsService

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func NewPermissionsService(s *Service) *PermissionsService

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*PermissionsService) Get

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (r *PermissionsService) Get(permissionId string) *PermissionsGetCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Get: Retrieves details of an Android app permission for display to an enterprise admin.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type Policy

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type Policy struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// AutoUpdatePolicy: The auto-update policy for apps installed on the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// device. "choiceToTheUser" allows the device's user to configure the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// app update policy. "always" enables auto updates. "never" disables
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// auto updates. "wifiOnly" enables auto updates only when the device is
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// connected to wifi.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	AutoUpdatePolicy string `json:"autoUpdatePolicy,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// DeviceReportPolicy: Whether the device reports app states to the EMM.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// The default value is "deviceReportDisabled".
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	DeviceReportPolicy string `json:"deviceReportPolicy,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// MaintenanceWindow: The maintenance window defining when apps running
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// in the foreground should be updated.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// ProductAvailabilityPolicy: The availability granted to the device for
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// the specified products. "all" gives the device access to all
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// products, regardless of approval status. "all" does not enable
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// automatic visibility of "alpha" or "beta" tracks. "whitelist" grants
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// the device access the products specified in productPolicy[]. Only
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// products that are approved or products that were previously approved
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// (products with revoked approval) by the enterprise can be
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// whitelisted. If no value is provided, the availability set at the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// user level is applied by default.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	ProductAvailabilityPolicy string `json:"productAvailabilityPolicy,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// ProductPolicy: The list of product policies.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	ProductPolicy []*ProductPolicy `json:"productPolicy,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// ForceSendFields is a list of field names (e.g. "AutoUpdatePolicy") to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// NullFields is a list of field names (e.g. "AutoUpdatePolicy") to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// include in API requests with the JSON null value. By default, fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// with empty values are omitted from API requests. However, any field
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// with an empty value appearing in NullFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// server as null. It is an error if a field in this list has a
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// non-empty value. This may be used to include null fields in Patch
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Policy: The device policy for a given managed device.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*Policy) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (s *Policy) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type Product

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type Product struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// AppTracks: The tracks visible to the enterprise.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	AppTracks []*TrackInfo `json:"appTracks,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// AppVersion: App versions currently available for this product.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	AppVersion []*AppVersion `json:"appVersion,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// AuthorName: The name of the author of the product (for example, the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// app developer).
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	AuthorName string `json:"authorName,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// AvailableCountries: The countries which this app is available in.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	AvailableCountries []string `json:"availableCountries,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// AvailableTracks: Deprecated, use appTracks instead.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	AvailableTracks []string `json:"availableTracks,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Category: The app category (e.g. RACING, SOCIAL, etc.)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	Category string `json:"category,omitempty"`