Documentation

Overview

Package admin provides access to the Admin Directory API.

For product documentation, see: https://developers.google.com/admin-sdk/directory/

Creating a client

Usage example:

import "google.golang.org/api/admin/directory/v1"
...
ctx := context.Background()
adminService, err := admin.NewService(ctx)

In this example, Google Application Default Credentials are used for authentication.

For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.

Other authentication options

By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:

adminService, err := admin.NewService(ctx, option.WithScopes(admin.CloudPlatformScope))

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

adminService, err := admin.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, ...)
adminService, err := admin.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 (
	// View and manage customer related information
	AdminDirectoryCustomerScope = "https://www.googleapis.com/auth/admin.directory.customer"

	// View customer related information
	AdminDirectoryCustomerReadonlyScope = "https://www.googleapis.com/auth/admin.directory.customer.readonly"

	// View and manage your Chrome OS devices' metadata
	AdminDirectoryDeviceChromeosScope = "https://www.googleapis.com/auth/admin.directory.device.chromeos"

	// View your Chrome OS devices' metadata
	AdminDirectoryDeviceChromeosReadonlyScope = "https://www.googleapis.com/auth/admin.directory.device.chromeos.readonly"

	// View and manage your mobile devices' metadata
	AdminDirectoryDeviceMobileScope = "https://www.googleapis.com/auth/admin.directory.device.mobile"

	// Manage your mobile devices by performing administrative tasks
	AdminDirectoryDeviceMobileActionScope = "https://www.googleapis.com/auth/admin.directory.device.mobile.action"

	// View your mobile devices' metadata
	AdminDirectoryDeviceMobileReadonlyScope = "https://www.googleapis.com/auth/admin.directory.device.mobile.readonly"

	// View and manage the provisioning of domains for your customers
	AdminDirectoryDomainScope = "https://www.googleapis.com/auth/admin.directory.domain"

	// View domains related to your customers
	AdminDirectoryDomainReadonlyScope = "https://www.googleapis.com/auth/admin.directory.domain.readonly"

	// View and manage the provisioning of groups on your domain
	AdminDirectoryGroupScope = "https://www.googleapis.com/auth/admin.directory.group"

	// View and manage group subscriptions on your domain
	AdminDirectoryGroupMemberScope = "https://www.googleapis.com/auth/admin.directory.group.member"

	// View group subscriptions on your domain
	AdminDirectoryGroupMemberReadonlyScope = "https://www.googleapis.com/auth/admin.directory.group.member.readonly"

	// View groups on your domain
	AdminDirectoryGroupReadonlyScope = "https://www.googleapis.com/auth/admin.directory.group.readonly"

	// View and manage notifications received on your domain
	AdminDirectoryNotificationsScope = "https://www.googleapis.com/auth/admin.directory.notifications"

	// View and manage organization units on your domain
	AdminDirectoryOrgunitScope = "https://www.googleapis.com/auth/admin.directory.orgunit"

	// View organization units on your domain
	AdminDirectoryOrgunitReadonlyScope = "https://www.googleapis.com/auth/admin.directory.orgunit.readonly"

	// View and manage the provisioning of calendar resources on your domain
	AdminDirectoryResourceCalendarScope = "https://www.googleapis.com/auth/admin.directory.resource.calendar"

	// View calendar resources on your domain
	AdminDirectoryResourceCalendarReadonlyScope = "https://www.googleapis.com/auth/admin.directory.resource.calendar.readonly"

	// Manage delegated admin roles for your domain
	AdminDirectoryRolemanagementScope = "https://www.googleapis.com/auth/admin.directory.rolemanagement"

	// View delegated admin roles for your domain
	AdminDirectoryRolemanagementReadonlyScope = "https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly"

	// View and manage the provisioning of users on your domain
	AdminDirectoryUserScope = "https://www.googleapis.com/auth/admin.directory.user"

	// View and manage user aliases on your domain
	AdminDirectoryUserAliasScope = "https://www.googleapis.com/auth/admin.directory.user.alias"

	// View user aliases on your domain
	AdminDirectoryUserAliasReadonlyScope = "https://www.googleapis.com/auth/admin.directory.user.alias.readonly"

	// View users on your domain
	AdminDirectoryUserReadonlyScope = "https://www.googleapis.com/auth/admin.directory.user.readonly"

	// Manage data access permissions for users on your domain
	AdminDirectoryUserSecurityScope = "https://www.googleapis.com/auth/admin.directory.user.security"

	// View and manage the provisioning of user schemas on your domain
	AdminDirectoryUserschemaScope = "https://www.googleapis.com/auth/admin.directory.userschema"

	// View user schemas on your domain
	AdminDirectoryUserschemaReadonlyScope = "https://www.googleapis.com/auth/admin.directory.userschema.readonly"

	// View and manage your data across Google Cloud Platform services
	CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform"
)

    OAuth2 scopes used by this API.

    Variables

    This section is empty.

    Functions

    This section is empty.

    Types

    type Alias

    type Alias struct {
    	// Alias: A alias email
    	Alias string `json:"alias,omitempty"`
    
    	// Etag: ETag of the resource.
    	Etag string `json:"etag,omitempty"`
    
    	// Id: Unique id of the group (Read-only) Unique id of the user
    	// (Read-only)
    	Id string `json:"id,omitempty"`
    
    	// Kind: Kind of resource this is.
    	Kind string `json:"kind,omitempty"`
    
    	// PrimaryEmail: Group's primary email (Read-only) User's primary email
    	// (Read-only)
    	PrimaryEmail string `json:"primaryEmail,omitempty"`
    
    	// ServerResponse contains the HTTP response code and headers from the
    	// server.
    	googleapi.ServerResponse `json:"-"`
    
    	// ForceSendFields is a list of field names (e.g. "Alias") 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. "Alias") 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:"-"`
    }

      Alias: JSON template for Alias object in Directory API.

      func (*Alias) MarshalJSON

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

      type Aliases

      type Aliases struct {
      	// Aliases: List of alias objects.
      	Aliases []interface{} `json:"aliases,omitempty"`
      
      	// Etag: ETag of the resource.
      	Etag string `json:"etag,omitempty"`
      
      	// Kind: Kind of resource this is.
      	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. "Aliases") 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. "Aliases") 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:"-"`
      }

        Aliases: JSON response template to list aliases in Directory API.

        func (*Aliases) MarshalJSON

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

        type Asp

        type Asp struct {
        	// CodeId: The unique ID of the ASP.
        	CodeId int64 `json:"codeId,omitempty"`
        
        	// CreationTime: The time when the ASP was created. Expressed in Unix
        	// time format.
        	CreationTime int64 `json:"creationTime,omitempty,string"`
        
        	// Etag: ETag of the ASP.
        	Etag string `json:"etag,omitempty"`
        
        	// Kind: The type of the API resource. This is always
        	// admin#directory#asp.
        	Kind string `json:"kind,omitempty"`
        
        	// LastTimeUsed: The time when the ASP was last used. Expressed in Unix
        	// time format.
        	LastTimeUsed int64 `json:"lastTimeUsed,omitempty,string"`
        
        	// Name: The name of the application that the user, represented by their
        	// userId, entered when the ASP was created.
        	Name string `json:"name,omitempty"`
        
        	// UserKey: The unique ID of the user who issued the ASP.
        	UserKey string `json:"userKey,omitempty"`
        
        	// ServerResponse contains the HTTP response code and headers from the
        	// server.
        	googleapi.ServerResponse `json:"-"`
        
        	// ForceSendFields is a list of field names (e.g. "CodeId") 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. "CodeId") 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:"-"`
        }

          Asp: The template that returns individual ASP (Access Code) data.

          func (*Asp) MarshalJSON

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

          type Asps

          type Asps struct {
          	// Etag: ETag of the resource.
          	Etag string `json:"etag,omitempty"`
          
          	// Items: A list of ASP resources.
          	Items []*Asp `json:"items,omitempty"`
          
          	// Kind: The type of the API resource. This is always
          	// admin#directory#aspList.
          	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. "Etag") 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. "Etag") 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 (*Asps) MarshalJSON

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

          type AspsDeleteCall

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

          func (*AspsDeleteCall) Context

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

            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 (*AspsDeleteCall) Do

            func (c *AspsDeleteCall) Do(opts ...googleapi.CallOption) error

              Do executes the "directory.asps.delete" call.

              func (*AspsDeleteCall) Fields

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

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

                func (*AspsDeleteCall) Header

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

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

                  type AspsGetCall

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

                  func (*AspsGetCall) Context

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

                    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 (*AspsGetCall) Do

                    func (c *AspsGetCall) Do(opts ...googleapi.CallOption) (*Asp, error)

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

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

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

                        func (*AspsGetCall) Header

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

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

                          func (*AspsGetCall) IfNoneMatch

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

                            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 AspsListCall

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

                            func (*AspsListCall) Context

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

                              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 (*AspsListCall) Do

                              func (c *AspsListCall) Do(opts ...googleapi.CallOption) (*Asps, error)

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

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

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

                                  func (*AspsListCall) Header

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

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

                                    func (*AspsListCall) IfNoneMatch

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

                                      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 AspsService

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

                                      func NewAspsService

                                      func NewAspsService(s *Service) *AspsService

                                      func (*AspsService) Delete

                                      func (r *AspsService) Delete(userKey string, codeId int64) *AspsDeleteCall

                                        Delete: Delete an ASP issued by a user.

                                        func (*AspsService) Get

                                        func (r *AspsService) Get(userKey string, codeId int64) *AspsGetCall

                                          Get: Get information about an ASP issued by a user.

                                          func (*AspsService) List

                                          func (r *AspsService) List(userKey string) *AspsListCall

                                            List: List the ASPs issued by a user.

                                            type Building

                                            type Building struct {
                                            	// Address: The postal address of the building. See PostalAddress for
                                            	// details. Note that only a single address line and region code are
                                            	// required.
                                            	Address *BuildingAddress `json:"address,omitempty"`
                                            
                                            	// BuildingId: Unique identifier for the building. The maximum length is
                                            	// 100 characters.
                                            	BuildingId string `json:"buildingId,omitempty"`
                                            
                                            	// BuildingName: The building name as seen by users in Calendar. Must be
                                            	// unique for the customer. For example, "NYC-CHEL". The maximum length
                                            	// is 100 characters.
                                            	BuildingName string `json:"buildingName,omitempty"`
                                            
                                            	// Coordinates: The geographic coordinates of the center of the
                                            	// building, expressed as latitude and longitude in decimal degrees.
                                            	Coordinates *BuildingCoordinates `json:"coordinates,omitempty"`
                                            
                                            	// Description: A brief description of the building. For example,
                                            	// "Chelsea Market".
                                            	Description string `json:"description,omitempty"`
                                            
                                            	// Etags: ETag of the resource.
                                            	Etags string `json:"etags,omitempty"`
                                            
                                            	// FloorNames: The display names for all floors in this building. The
                                            	// floors are expected to be sorted in ascending order, from lowest
                                            	// floor to highest floor. For example, ["B2", "B1", "L", "1", "2",
                                            	// "2M", "3", "PH"] Must contain at least one entry.
                                            	FloorNames []string `json:"floorNames,omitempty"`
                                            
                                            	// Kind: Kind of resource this is.
                                            	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. "Address") 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. "Address") 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:"-"`
                                            }

                                              Building: JSON template for Building object in Directory API.

                                              func (*Building) MarshalJSON

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

                                              type BuildingAddress

                                              type BuildingAddress struct {
                                              	// AddressLines: Unstructured address lines describing the lower levels
                                              	// of an address.
                                              	AddressLines []string `json:"addressLines,omitempty"`
                                              
                                              	// AdministrativeArea: Optional. Highest administrative subdivision
                                              	// which is used for postal addresses of a country or region.
                                              	AdministrativeArea string `json:"administrativeArea,omitempty"`
                                              
                                              	// LanguageCode: Optional. BCP-47 language code of the contents of this
                                              	// address (if known).
                                              	LanguageCode string `json:"languageCode,omitempty"`
                                              
                                              	// Locality: Optional. Generally refers to the city/town portion of the
                                              	// address. Examples: US city, IT comune, UK post town. In regions of
                                              	// the world where localities are not well defined or do not fit into
                                              	// this structure well, leave locality empty and use addressLines.
                                              	Locality string `json:"locality,omitempty"`
                                              
                                              	// PostalCode: Optional. Postal code of the address.
                                              	PostalCode string `json:"postalCode,omitempty"`
                                              
                                              	// RegionCode: Required. CLDR region code of the country/region of the
                                              	// address.
                                              	RegionCode string `json:"regionCode,omitempty"`
                                              
                                              	// Sublocality: Optional. Sublocality of the address.
                                              	Sublocality string `json:"sublocality,omitempty"`
                                              
                                              	// ForceSendFields is a list of field names (e.g. "AddressLines") 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. "AddressLines") 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:"-"`
                                              }

                                                BuildingAddress: JSON template for the postal address of a building in Directory API.

                                                func (*BuildingAddress) MarshalJSON

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

                                                type BuildingCoordinates

                                                type BuildingCoordinates struct {
                                                	// Latitude: Latitude in decimal degrees.
                                                	Latitude float64 `json:"latitude,omitempty"`
                                                
                                                	// Longitude: Longitude in decimal degrees.
                                                	Longitude float64 `json:"longitude,omitempty"`
                                                
                                                	// ForceSendFields is a list of field names (e.g. "Latitude") 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. "Latitude") 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:"-"`
                                                }

                                                  BuildingCoordinates: JSON template for coordinates of a building in Directory API.

                                                  func (*BuildingCoordinates) MarshalJSON

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

                                                  func (*BuildingCoordinates) UnmarshalJSON

                                                  func (s *BuildingCoordinates) UnmarshalJSON(data []byte) error

                                                  type Buildings

                                                  type Buildings struct {
                                                  	// Buildings: The Buildings in this page of results.
                                                  	Buildings []*Building `json:"buildings,omitempty"`
                                                  
                                                  	// Etag: ETag of the resource.
                                                  	Etag string `json:"etag,omitempty"`
                                                  
                                                  	// Kind: Kind of resource this is.
                                                  	Kind string `json:"kind,omitempty"`
                                                  
                                                  	// NextPageToken: The continuation token, used to page through large
                                                  	// result sets. Provide this value in a subsequent request to return the
                                                  	// next page of results.
                                                  	NextPageToken string `json:"nextPageToken,omitempty"`
                                                  
                                                  	// ServerResponse contains the HTTP response code and headers from the
                                                  	// server.
                                                  	googleapi.ServerResponse `json:"-"`
                                                  
                                                  	// ForceSendFields is a list of field names (e.g. "Buildings") 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. "Buildings") 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:"-"`
                                                  }

                                                    Buildings: JSON template for Building List Response object in Directory API.

                                                    func (*Buildings) MarshalJSON

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

                                                    type CalendarResource

                                                    type CalendarResource struct {
                                                    	// BuildingId: Unique ID for the building a resource is located in.
                                                    	BuildingId string `json:"buildingId,omitempty"`
                                                    
                                                    	// Capacity: Capacity of a resource, number of seats in a room.
                                                    	Capacity int64 `json:"capacity,omitempty"`
                                                    
                                                    	// Etags: ETag of the resource.
                                                    	Etags string `json:"etags,omitempty"`
                                                    
                                                    	FeatureInstances interface{} `json:"featureInstances,omitempty"`
                                                    
                                                    	// FloorName: Name of the floor a resource is located on.
                                                    	FloorName string `json:"floorName,omitempty"`
                                                    
                                                    	// FloorSection: Name of the section within a floor a resource is
                                                    	// located in.
                                                    	FloorSection string `json:"floorSection,omitempty"`
                                                    
                                                    	// GeneratedResourceName: The read-only auto-generated name of the
                                                    	// calendar resource which includes metadata about the resource such as
                                                    	// building name, floor, capacity, etc. For example, "NYC-2-Training
                                                    	// Room 1A (16)".
                                                    	GeneratedResourceName string `json:"generatedResourceName,omitempty"`
                                                    
                                                    	// Kind: The type of the resource. For calendar resources, the value is
                                                    	// admin#directory#resources#calendars#CalendarResource.
                                                    	Kind string `json:"kind,omitempty"`
                                                    
                                                    	// ResourceCategory: The category of the calendar resource. Either
                                                    	// CONFERENCE_ROOM or OTHER. Legacy data is set to CATEGORY_UNKNOWN.
                                                    	ResourceCategory string `json:"resourceCategory,omitempty"`
                                                    
                                                    	// ResourceDescription: Description of the resource, visible only to
                                                    	// admins.
                                                    	ResourceDescription string `json:"resourceDescription,omitempty"`
                                                    
                                                    	// ResourceEmail: The read-only email for the calendar resource.
                                                    	// Generated as part of creating a new calendar resource.
                                                    	ResourceEmail string `json:"resourceEmail,omitempty"`
                                                    
                                                    	// ResourceId: The unique ID for the calendar resource.
                                                    	ResourceId string `json:"resourceId,omitempty"`
                                                    
                                                    	// ResourceName: The name of the calendar resource. For example,
                                                    	// "Training Room 1A".
                                                    	ResourceName string `json:"resourceName,omitempty"`
                                                    
                                                    	// ResourceType: The type of the calendar resource, intended for
                                                    	// non-room resources.
                                                    	ResourceType string `json:"resourceType,omitempty"`
                                                    
                                                    	// UserVisibleDescription: Description of the resource, visible to users
                                                    	// and admins.
                                                    	UserVisibleDescription string `json:"userVisibleDescription,omitempty"`
                                                    
                                                    	// ServerResponse contains the HTTP response code and headers from the
                                                    	// server.
                                                    	googleapi.ServerResponse `json:"-"`
                                                    
                                                    	// ForceSendFields is a list of field names (e.g. "BuildingId") 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. "BuildingId") 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:"-"`
                                                    }

                                                      CalendarResource: JSON template for Calendar Resource object in Directory API.

                                                      func (*CalendarResource) MarshalJSON

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

                                                      type CalendarResources

                                                      type CalendarResources struct {
                                                      	// Etag: ETag of the resource.
                                                      	Etag string `json:"etag,omitempty"`
                                                      
                                                      	// Items: The CalendarResources in this page of results.
                                                      	Items []*CalendarResource `json:"items,omitempty"`
                                                      
                                                      	// Kind: Identifies this as a collection of CalendarResources. This is
                                                      	// always admin#directory#resources#calendars#calendarResourcesList.
                                                      	Kind string `json:"kind,omitempty"`
                                                      
                                                      	// NextPageToken: The continuation token, used to page through large
                                                      	// result sets. Provide this value in a subsequent request to return the
                                                      	// next page of results.
                                                      	NextPageToken string `json:"nextPageToken,omitempty"`
                                                      
                                                      	// ServerResponse contains the HTTP response code and headers from the
                                                      	// server.
                                                      	googleapi.ServerResponse `json:"-"`
                                                      
                                                      	// ForceSendFields is a list of field names (e.g. "Etag") 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. "Etag") 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:"-"`
                                                      }

                                                        CalendarResources: JSON template for Calendar Resource List Response object in Directory API.

                                                        func (*CalendarResources) MarshalJSON

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

                                                        type Channel

                                                        type Channel struct {
                                                        	// Address: The address where notifications are delivered for this
                                                        	// channel.
                                                        	Address string `json:"address,omitempty"`
                                                        
                                                        	// Expiration: Date and time of notification channel expiration,
                                                        	// expressed as a Unix timestamp, in milliseconds. Optional.
                                                        	Expiration int64 `json:"expiration,omitempty,string"`
                                                        
                                                        	// Id: A UUID or similar unique string that identifies this channel.
                                                        	Id string `json:"id,omitempty"`
                                                        
                                                        	// Kind: Identifies this as a notification channel used to watch for
                                                        	// changes to a resource, which is "api#channel".
                                                        	Kind string `json:"kind,omitempty"`
                                                        
                                                        	// Params: Additional parameters controlling delivery channel behavior.
                                                        	// Optional.
                                                        	Params map[string]string `json:"params,omitempty"`
                                                        
                                                        	// Payload: A Boolean value to indicate whether payload is wanted.
                                                        	// Optional.
                                                        	Payload bool `json:"payload,omitempty"`
                                                        
                                                        	// ResourceId: An opaque ID that identifies the resource being watched
                                                        	// on this channel. Stable across different API versions.
                                                        	ResourceId string `json:"resourceId,omitempty"`
                                                        
                                                        	// ResourceUri: A version-specific identifier for the watched resource.
                                                        	ResourceUri string `json:"resourceUri,omitempty"`
                                                        
                                                        	// Token: An arbitrary string delivered to the target address with each
                                                        	// notification delivered over this channel. Optional.
                                                        	Token string `json:"token,omitempty"`
                                                        
                                                        	// Type: The type of delivery mechanism used for this channel.
                                                        	Type string `json:"type,omitempty"`
                                                        
                                                        	// ServerResponse contains the HTTP response code and headers from the
                                                        	// server.
                                                        	googleapi.ServerResponse `json:"-"`
                                                        
                                                        	// ForceSendFields is a list of field names (e.g. "Address") 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. "Address") 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:"-"`
                                                        }

                                                          Channel: An notification channel used to watch for resource changes.

                                                          func (*Channel) MarshalJSON

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

                                                          type ChannelsService

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

                                                          func NewChannelsService

                                                          func NewChannelsService(s *Service) *ChannelsService

                                                          func (*ChannelsService) Stop

                                                          func (r *ChannelsService) Stop(channel *Channel) *ChannelsStopCall

                                                            Stop: Stop watching resources through this channel

                                                            type ChannelsStopCall

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

                                                            func (*ChannelsStopCall) 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 (*ChannelsStopCall) Do

                                                              func (c *ChannelsStopCall) Do(opts ...googleapi.CallOption) error

                                                                Do executes the "admin.channels.stop" call.

                                                                func (*ChannelsStopCall) Fields

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

                                                                  func (*ChannelsStopCall) Header

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

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

                                                                    type ChromeOsDevice

                                                                    type ChromeOsDevice struct {
                                                                    	// ActiveTimeRanges: List of active time ranges (Read-only)
                                                                    	ActiveTimeRanges []*ChromeOsDeviceActiveTimeRanges `json:"activeTimeRanges,omitempty"`
                                                                    
                                                                    	// AnnotatedAssetId: AssetId specified during enrollment or through
                                                                    	// later annotation
                                                                    	AnnotatedAssetId string `json:"annotatedAssetId,omitempty"`
                                                                    
                                                                    	// AnnotatedLocation: Address or location of the device as noted by the
                                                                    	// administrator
                                                                    	AnnotatedLocation string `json:"annotatedLocation,omitempty"`
                                                                    
                                                                    	// AnnotatedUser: User of the device
                                                                    	AnnotatedUser string `json:"annotatedUser,omitempty"`
                                                                    
                                                                    	// AutoUpdateExpiration: (Read-only) The timestamp after which the
                                                                    	// device will stop receiving Chrome updates or support
                                                                    	AutoUpdateExpiration int64 `json:"autoUpdateExpiration,omitempty,string"`
                                                                    
                                                                    	// BootMode: Chromebook boot mode (Read-only)
                                                                    	BootMode string `json:"bootMode,omitempty"`
                                                                    
                                                                    	// CpuStatusReports: Reports of CPU utilization and temperature
                                                                    	// (Read-only)
                                                                    	CpuStatusReports []*ChromeOsDeviceCpuStatusReports `json:"cpuStatusReports,omitempty"`
                                                                    
                                                                    	// DeviceFiles: List of device files to download (Read-only)
                                                                    	DeviceFiles []*ChromeOsDeviceDeviceFiles `json:"deviceFiles,omitempty"`
                                                                    
                                                                    	// DeviceId: Unique identifier of Chrome OS Device (Read-only)
                                                                    	DeviceId string `json:"deviceId,omitempty"`
                                                                    
                                                                    	// DiskVolumeReports: Reports of disk space and other info about
                                                                    	// mounted/connected volumes.
                                                                    	DiskVolumeReports []*ChromeOsDeviceDiskVolumeReports `json:"diskVolumeReports,omitempty"`
                                                                    
                                                                    	// DockMacAddress: (Read-only) Built-in MAC address for the docking
                                                                    	// station that the device connected to. Factory sets Media access
                                                                    	// control address (MAC address) assigned for use by a dock. Currently
                                                                    	// this is only supported on the Dell Arcada / Sarien devices and the
                                                                    	// Dell WD19 / WD19TB Docking Station. It is reserved specifically for
                                                                    	// MAC pass through device policy. The format is twelve (12) hexadecimal
                                                                    	// digits without any delimiter (uppercase letters). This is only
                                                                    	// relevant for Dell devices.
                                                                    	DockMacAddress string `json:"dockMacAddress,omitempty"`
                                                                    
                                                                    	// Etag: ETag of the resource.
                                                                    	Etag string `json:"etag,omitempty"`
                                                                    
                                                                    	// EthernetMacAddress: Chromebook Mac Address on ethernet network
                                                                    	// interface (Read-only)
                                                                    	EthernetMacAddress string `json:"ethernetMacAddress,omitempty"`
                                                                    
                                                                    	// EthernetMacAddress0: (Read-only) MAC address used by the
                                                                    	// Chromebook’s internal ethernet port, and for onboard network
                                                                    	// (ethernet) interface. The format is twelve (12) hexadecimal digits
                                                                    	// without any delimiter (uppercase letters). This is only relevant for
                                                                    	// some devices.
                                                                    	EthernetMacAddress0 string `json:"ethernetMacAddress0,omitempty"`
                                                                    
                                                                    	// FirmwareVersion: Chromebook firmware version (Read-only)
                                                                    	FirmwareVersion string `json:"firmwareVersion,omitempty"`
                                                                    
                                                                    	// Kind: Kind of resource this is.
                                                                    	Kind string `json:"kind,omitempty"`
                                                                    
                                                                    	// LastEnrollmentTime: Date and time the device was last enrolled
                                                                    	// (Read-only)
                                                                    	LastEnrollmentTime string `json:"lastEnrollmentTime,omitempty"`
                                                                    
                                                                    	// LastSync: Date and time the device was last synchronized with the
                                                                    	// policy settings in the G Suite administrator control panel
                                                                    	// (Read-only)
                                                                    	LastSync string `json:"lastSync,omitempty"`
                                                                    
                                                                    	// MacAddress: Chromebook Mac Address on wifi network interface
                                                                    	// (Read-only)
                                                                    	MacAddress string `json:"macAddress,omitempty"`
                                                                    
                                                                    	// ManufactureDate: (Read-only) The date the device was manufactured in
                                                                    	// yyyy-mm-dd format.
                                                                    	ManufactureDate string `json:"manufactureDate,omitempty"`
                                                                    
                                                                    	// Meid: Contains either the Mobile Equipment identifier (MEID) or the
                                                                    	// International Mobile Equipment Identity (IMEI) for the 3G mobile card
                                                                    	// in the Chromebook (Read-only)
                                                                    	Meid string `json:"meid,omitempty"`
                                                                    
                                                                    	// Model: Chromebook Model (Read-only)
                                                                    	Model string `json:"model,omitempty"`
                                                                    
                                                                    	// Notes: Notes added by the administrator
                                                                    	Notes string `json:"notes,omitempty"`
                                                                    
                                                                    	// OrderNumber: Chromebook order number (Read-only)
                                                                    	OrderNumber string `json:"orderNumber,omitempty"`
                                                                    
                                                                    	// OrgUnitPath: OrgUnit of the device
                                                                    	OrgUnitPath string `json:"orgUnitPath,omitempty"`
                                                                    
                                                                    	// OsVersion: Chromebook Os Version (Read-only)
                                                                    	OsVersion string `json:"osVersion,omitempty"`
                                                                    
                                                                    	// PlatformVersion: Chromebook platform version (Read-only)
                                                                    	PlatformVersion string `json:"platformVersion,omitempty"`
                                                                    
                                                                    	// RecentUsers: List of recent device users, in descending order by last
                                                                    	// login time (Read-only)
                                                                    	RecentUsers []*ChromeOsDeviceRecentUsers `json:"recentUsers,omitempty"`
                                                                    
                                                                    	// SerialNumber: Chromebook serial number (Read-only)
                                                                    	SerialNumber string `json:"serialNumber,omitempty"`
                                                                    
                                                                    	// Status: status of the device (Read-only)
                                                                    	Status string `json:"status,omitempty"`
                                                                    
                                                                    	// SupportEndDate: Final date the device will be supported (Read-only)
                                                                    	SupportEndDate string `json:"supportEndDate,omitempty"`
                                                                    
                                                                    	// SystemRamFreeReports: Reports of amounts of available RAM memory
                                                                    	// (Read-only)
                                                                    	SystemRamFreeReports []*ChromeOsDeviceSystemRamFreeReports `json:"systemRamFreeReports,omitempty"`
                                                                    
                                                                    	// SystemRamTotal: Total RAM on the device [in bytes] (Read-only)
                                                                    	SystemRamTotal int64 `json:"systemRamTotal,omitempty,string"`
                                                                    
                                                                    	// TpmVersionInfo: Trusted Platform Module (TPM) (Read-only)
                                                                    	TpmVersionInfo *ChromeOsDeviceTpmVersionInfo `json:"tpmVersionInfo,omitempty"`
                                                                    
                                                                    	// WillAutoRenew: Will Chromebook auto renew after support end date
                                                                    	// (Read-only)
                                                                    	WillAutoRenew bool `json:"willAutoRenew,omitempty"`
                                                                    
                                                                    	// ServerResponse contains the HTTP response code and headers from the
                                                                    	// server.
                                                                    	googleapi.ServerResponse `json:"-"`
                                                                    
                                                                    	// ForceSendFields is a list of field names (e.g. "ActiveTimeRanges") 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. "ActiveTimeRanges") 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:"-"`
                                                                    }

                                                                      ChromeOsDevice: JSON template for Chrome Os Device resource in Directory API.

                                                                      func (*ChromeOsDevice) MarshalJSON

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

                                                                      type ChromeOsDeviceAction

                                                                      type ChromeOsDeviceAction struct {
                                                                      	// Action: Action to be taken on the ChromeOs Device
                                                                      	Action string `json:"action,omitempty"`
                                                                      
                                                                      	DeprovisionReason string `json:"deprovisionReason,omitempty"`
                                                                      
                                                                      	// ForceSendFields is a list of field names (e.g. "Action") 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. "Action") 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:"-"`
                                                                      }

                                                                        ChromeOsDeviceAction: JSON request template for firing actions on ChromeOs Device in Directory Devices API.

                                                                        func (*ChromeOsDeviceAction) MarshalJSON

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

                                                                        type ChromeOsDeviceActiveTimeRanges

                                                                        type ChromeOsDeviceActiveTimeRanges struct {
                                                                        	// ActiveTime: Duration in milliseconds
                                                                        	ActiveTime int64 `json:"activeTime,omitempty"`
                                                                        
                                                                        	// Date: Date of usage
                                                                        	Date string `json:"date,omitempty"`
                                                                        
                                                                        	// ForceSendFields is a list of field names (e.g. "ActiveTime") 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. "ActiveTime") 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 (*ChromeOsDeviceActiveTimeRanges) MarshalJSON

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

                                                                        type ChromeOsDeviceCpuStatusReports

                                                                        type ChromeOsDeviceCpuStatusReports struct {
                                                                        	// CpuTemperatureInfo: List of CPU temperature samples.
                                                                        	CpuTemperatureInfo []*ChromeOsDeviceCpuStatusReportsCpuTemperatureInfo `json:"cpuTemperatureInfo,omitempty"`
                                                                        
                                                                        	CpuUtilizationPercentageInfo []int64 `json:"cpuUtilizationPercentageInfo,omitempty"`
                                                                        
                                                                        	// ReportTime: Date and time the report was received.
                                                                        	ReportTime string `json:"reportTime,omitempty"`
                                                                        
                                                                        	// ForceSendFields is a list of field names (e.g. "CpuTemperatureInfo")
                                                                        	// 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. "CpuTemperatureInfo") 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 (*ChromeOsDeviceCpuStatusReports) MarshalJSON

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

                                                                        type ChromeOsDeviceCpuStatusReportsCpuTemperatureInfo

                                                                        type ChromeOsDeviceCpuStatusReportsCpuTemperatureInfo struct {
                                                                        	// Label: CPU label
                                                                        	Label string `json:"label,omitempty"`
                                                                        
                                                                        	// Temperature: Temperature in Celsius degrees.
                                                                        	Temperature int64 `json:"temperature,omitempty"`
                                                                        
                                                                        	// ForceSendFields is a list of field names (e.g. "Label") 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. "Label") 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 (*ChromeOsDeviceCpuStatusReportsCpuTemperatureInfo) MarshalJSON

                                                                        type ChromeOsDeviceDeviceFiles

                                                                        type ChromeOsDeviceDeviceFiles struct {
                                                                        	// CreateTime: Date and time the file was created
                                                                        	CreateTime string `json:"createTime,omitempty"`
                                                                        
                                                                        	// DownloadUrl: File download URL
                                                                        	DownloadUrl string `json:"downloadUrl,omitempty"`
                                                                        
                                                                        	// Name: File name
                                                                        	Name string `json:"name,omitempty"`
                                                                        
                                                                        	// Type: File type
                                                                        	Type string `json:"type,omitempty"`
                                                                        
                                                                        	// ForceSendFields is a list of field names (e.g. "CreateTime") 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. "CreateTime") 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 (*ChromeOsDeviceDeviceFiles) MarshalJSON

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

                                                                        type ChromeOsDeviceDiskVolumeReports

                                                                        type ChromeOsDeviceDiskVolumeReports struct {
                                                                        	// VolumeInfo: Disk volumes
                                                                        	VolumeInfo []*ChromeOsDeviceDiskVolumeReportsVolumeInfo `json:"volumeInfo,omitempty"`
                                                                        
                                                                        	// ForceSendFields is a list of field names (e.g. "VolumeInfo") 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. "VolumeInfo") 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 (*ChromeOsDeviceDiskVolumeReports) MarshalJSON

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

                                                                        type ChromeOsDeviceDiskVolumeReportsVolumeInfo

                                                                        type ChromeOsDeviceDiskVolumeReportsVolumeInfo struct {
                                                                        	// StorageFree: Free disk space [in bytes]
                                                                        	StorageFree int64 `json:"storageFree,omitempty,string"`
                                                                        
                                                                        	// StorageTotal: Total disk space [in bytes]
                                                                        	StorageTotal int64 `json:"storageTotal,omitempty,string"`
                                                                        
                                                                        	// VolumeId: Volume id
                                                                        	VolumeId string `json:"volumeId,omitempty"`
                                                                        
                                                                        	// ForceSendFields is a list of field names (e.g. "StorageFree") 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. "StorageFree") 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 (*ChromeOsDeviceDiskVolumeReportsVolumeInfo) MarshalJSON

                                                                        type ChromeOsDeviceRecentUsers

                                                                        type ChromeOsDeviceRecentUsers struct {
                                                                        	// Email: Email address of the user. Present only if the user type is
                                                                        	// managed
                                                                        	Email string `json:"email,omitempty"`
                                                                        
                                                                        	// Type: The type of the user
                                                                        	Type string `json:"type,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:"-"`
                                                                        }

                                                                        func (*ChromeOsDeviceRecentUsers) MarshalJSON

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

                                                                        type ChromeOsDeviceSystemRamFreeReports

                                                                        type ChromeOsDeviceSystemRamFreeReports struct {
                                                                        	// ReportTime: Date and time the report was received.
                                                                        	ReportTime string `json:"reportTime,omitempty"`
                                                                        
                                                                        	SystemRamFreeInfo googleapi.Int64s `json:"systemRamFreeInfo,omitempty"`
                                                                        
                                                                        	// ForceSendFields is a list of field names (e.g. "ReportTime") 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. "ReportTime") 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 (*ChromeOsDeviceSystemRamFreeReports) MarshalJSON

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

                                                                        type ChromeOsDeviceTpmVersionInfo

                                                                        type ChromeOsDeviceTpmVersionInfo struct {
                                                                        	// Family: TPM family.
                                                                        	Family string `json:"family,omitempty"`
                                                                        
                                                                        	// FirmwareVersion: TPM firmware version.
                                                                        	FirmwareVersion string `json:"firmwareVersion,omitempty"`
                                                                        
                                                                        	// Manufacturer: TPM manufacturer code.
                                                                        	Manufacturer string `json:"manufacturer,omitempty"`
                                                                        
                                                                        	// SpecLevel: TPM specification level.
                                                                        	SpecLevel string `json:"specLevel,omitempty"`
                                                                        
                                                                        	// TpmModel: TPM model number.
                                                                        	TpmModel string `json:"tpmModel,omitempty"`
                                                                        
                                                                        	// VendorSpecific: Vendor-specific information such as Vendor ID.
                                                                        	VendorSpecific string `json:"vendorSpecific,omitempty"`
                                                                        
                                                                        	// ForceSendFields is a list of field names (e.g. "Family") 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. "Family") 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:"-"`
                                                                        }

                                                                          ChromeOsDeviceTpmVersionInfo: Trusted Platform Module (TPM) (Read-only)

                                                                          func (*ChromeOsDeviceTpmVersionInfo) MarshalJSON

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

                                                                          type ChromeOsDevices

                                                                          type ChromeOsDevices struct {
                                                                          	// Chromeosdevices: List of Chrome OS Device objects.
                                                                          	Chromeosdevices []*ChromeOsDevice `json:"chromeosdevices,omitempty"`
                                                                          
                                                                          	// Etag: ETag of the resource.
                                                                          	Etag string `json:"etag,omitempty"`
                                                                          
                                                                          	// Kind: Kind of resource this is.
                                                                          	Kind string `json:"kind,omitempty"`
                                                                          
                                                                          	// NextPageToken: Token used to access next page of this result.
                                                                          	NextPageToken string `json:"nextPageToken,omitempty"`
                                                                          
                                                                          	// ServerResponse contains the HTTP response code and headers from the
                                                                          	// server.
                                                                          	googleapi.ServerResponse `json:"-"`
                                                                          
                                                                          	// ForceSendFields is a list of field names (e.g. "Chromeosdevices") 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. "Chromeosdevices") 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:"-"`
                                                                          }

                                                                            ChromeOsDevices: JSON response template for List Chrome OS Devices operation in Directory API.

                                                                            func (*ChromeOsDevices) MarshalJSON

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

                                                                            type ChromeOsMoveDevicesToOu

                                                                            type ChromeOsMoveDevicesToOu struct {
                                                                            	// DeviceIds: ChromeOs Devices to be moved to OU
                                                                            	DeviceIds []string `json:"deviceIds,omitempty"`
                                                                            
                                                                            	// ForceSendFields is a list of field names (e.g. "DeviceIds") 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. "DeviceIds") 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:"-"`
                                                                            }

                                                                              ChromeOsMoveDevicesToOu: JSON request template for moving ChromeOs Device to given OU in Directory Devices API.

                                                                              func (*ChromeOsMoveDevicesToOu) MarshalJSON

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

                                                                              type ChromeosdevicesActionCall

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

                                                                              func (*ChromeosdevicesActionCall) 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 (*ChromeosdevicesActionCall) Do

                                                                                  Do executes the "directory.chromeosdevices.action" call.

                                                                                  func (*ChromeosdevicesActionCall) Fields

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

                                                                                    func (*ChromeosdevicesActionCall) Header

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

                                                                                      type ChromeosdevicesGetCall

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

                                                                                      func (*ChromeosdevicesGetCall) 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 (*ChromeosdevicesGetCall) Do

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

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

                                                                                            func (*ChromeosdevicesGetCall) Header

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

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

                                                                                              func (*ChromeosdevicesGetCall) IfNoneMatch

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

                                                                                                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 (*ChromeosdevicesGetCall) Projection

                                                                                                func (c *ChromeosdevicesGetCall) Projection(projection string) *ChromeosdevicesGetCall

                                                                                                  Projection sets the optional parameter "projection": Restrict information returned to a set of selected fields.

                                                                                                  Possible values:

                                                                                                  "BASIC" - Includes only the basic metadata fields (e.g., deviceId,
                                                                                                  

                                                                                                  serialNumber, status, and user)

                                                                                                  "FULL" - Includes all metadata fields
                                                                                                  

                                                                                                  type ChromeosdevicesListCall

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

                                                                                                  func (*ChromeosdevicesListCall) 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 (*ChromeosdevicesListCall) Do

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

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

                                                                                                        func (*ChromeosdevicesListCall) Header

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

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

                                                                                                          func (*ChromeosdevicesListCall) IfNoneMatch

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

                                                                                                            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 (*ChromeosdevicesListCall) MaxResults

                                                                                                            func (c *ChromeosdevicesListCall) MaxResults(maxResults int64) *ChromeosdevicesListCall

                                                                                                              MaxResults sets the optional parameter "maxResults": Maximum number of results to return. Max allowed value is 200.

                                                                                                              func (*ChromeosdevicesListCall) OrderBy

                                                                                                                OrderBy sets the optional parameter "orderBy": Column to use for sorting results

                                                                                                                Possible values:

                                                                                                                "annotatedLocation" - Chromebook location as annotated by the
                                                                                                                

                                                                                                                administrator.

                                                                                                                "annotatedUser" - Chromebook user as annotated by administrator.
                                                                                                                "lastSync" - Chromebook last sync.
                                                                                                                "notes" - Chromebook notes as annotated by the administrator.
                                                                                                                "serialNumber" - Chromebook Serial Number.
                                                                                                                "status" - Chromebook status.
                                                                                                                "supportEndDate" - Chromebook support end date.
                                                                                                                

                                                                                                                func (*ChromeosdevicesListCall) OrgUnitPath

                                                                                                                func (c *ChromeosdevicesListCall) OrgUnitPath(orgUnitPath string) *ChromeosdevicesListCall

                                                                                                                  OrgUnitPath sets the optional parameter "orgUnitPath": Full path of the organizational unit or its ID

                                                                                                                  func (*ChromeosdevicesListCall) PageToken

                                                                                                                  func (c *ChromeosdevicesListCall) PageToken(pageToken string) *ChromeosdevicesListCall

                                                                                                                    PageToken sets the optional parameter "pageToken": Token to specify next page in the list

                                                                                                                    func (*ChromeosdevicesListCall) Pages

                                                                                                                      Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

                                                                                                                      func (*ChromeosdevicesListCall) Projection

                                                                                                                      func (c *ChromeosdevicesListCall) Projection(projection string) *ChromeosdevicesListCall

                                                                                                                        Projection sets the optional parameter "projection": Restrict information returned to a set of selected fields.

                                                                                                                        Possible values:

                                                                                                                        "BASIC" - Includes only the basic metadata fields (e.g., deviceId,
                                                                                                                        

                                                                                                                        serialNumber, status, and user)

                                                                                                                        "FULL" - Includes all metadata fields
                                                                                                                        

                                                                                                                        func (*ChromeosdevicesListCall) Query

                                                                                                                          Query sets the optional parameter "query": Search string in the format given at http://support.google.com/chromeos/a/bin/answer.py?answer=1698333

                                                                                                                          func (*ChromeosdevicesListCall) SortOrder

                                                                                                                          func (c *ChromeosdevicesListCall) SortOrder(sortOrder string) *ChromeosdevicesListCall

                                                                                                                            SortOrder sets the optional parameter "sortOrder": Whether to return results in ascending or descending order. Only of use when orderBy is also used

                                                                                                                            Possible values:

                                                                                                                            "ASCENDING" - Ascending order.
                                                                                                                            "DESCENDING" - Descending order.
                                                                                                                            

                                                                                                                            type ChromeosdevicesMoveDevicesToOuCall

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

                                                                                                                            func (*ChromeosdevicesMoveDevicesToOuCall) 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 (*ChromeosdevicesMoveDevicesToOuCall) Do

                                                                                                                                Do executes the "directory.chromeosdevices.moveDevicesToOu" call.

                                                                                                                                func (*ChromeosdevicesMoveDevicesToOuCall) Fields

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

                                                                                                                                  func (*ChromeosdevicesMoveDevicesToOuCall) Header

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

                                                                                                                                    type ChromeosdevicesPatchCall

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

                                                                                                                                    func (*ChromeosdevicesPatchCall) 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 (*ChromeosdevicesPatchCall) Do

                                                                                                                                        Do executes the "directory.chromeosdevices.patch" call. Exactly one of *ChromeOsDevice or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ChromeOsDevice.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 (*ChromeosdevicesPatchCall) Fields

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

                                                                                                                                          func (*ChromeosdevicesPatchCall) Header

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

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

                                                                                                                                            func (*ChromeosdevicesPatchCall) Projection

                                                                                                                                            func (c *ChromeosdevicesPatchCall) Projection(projection string) *ChromeosdevicesPatchCall

                                                                                                                                              Projection sets the optional parameter "projection": Restrict information returned to a set of selected fields.

                                                                                                                                              Possible values:

                                                                                                                                              "BASIC" - Includes only the basic metadata fields (e.g., deviceId,
                                                                                                                                              

                                                                                                                                              serialNumber, status, and user)

                                                                                                                                              "FULL" - Includes all metadata fields
                                                                                                                                              

                                                                                                                                              type ChromeosdevicesService

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

                                                                                                                                              func NewChromeosdevicesService

                                                                                                                                              func NewChromeosdevicesService(s *Service) *ChromeosdevicesService

                                                                                                                                              func (*ChromeosdevicesService) Action

                                                                                                                                              func (r *ChromeosdevicesService) Action(customerId string, resourceId string, chromeosdeviceaction *ChromeOsDeviceAction) *ChromeosdevicesActionCall

                                                                                                                                                Action: Take action on Chrome OS Device

                                                                                                                                                func (*ChromeosdevicesService) Get

                                                                                                                                                func (r *ChromeosdevicesService) Get(customerId string, deviceId string) *ChromeosdevicesGetCall

                                                                                                                                                  Get: Retrieve Chrome OS Device

                                                                                                                                                  func (*ChromeosdevicesService) List

                                                                                                                                                    List: Retrieve all Chrome OS Devices of a customer (paginated)

                                                                                                                                                    func (*ChromeosdevicesService) MoveDevicesToOu

                                                                                                                                                    func (r *ChromeosdevicesService) MoveDevicesToOu(customerId string, orgUnitPath string, chromeosmovedevicestoou *ChromeOsMoveDevicesToOu) *ChromeosdevicesMoveDevicesToOuCall

                                                                                                                                                      MoveDevicesToOu: Move or insert multiple Chrome OS Devices to organizational unit

                                                                                                                                                      func (*ChromeosdevicesService) Patch

                                                                                                                                                      func (r *ChromeosdevicesService) Patch(customerId string, deviceId string, chromeosdevice *ChromeOsDevice) *ChromeosdevicesPatchCall

                                                                                                                                                        Patch: Update Chrome OS Device. This method supports patch semantics.

                                                                                                                                                        func (*ChromeosdevicesService) Update

                                                                                                                                                        func (r *ChromeosdevicesService) Update(customerId string, deviceId string, chromeosdevice *ChromeOsDevice) *ChromeosdevicesUpdateCall

                                                                                                                                                          Update: Update Chrome OS Device

                                                                                                                                                          type ChromeosdevicesUpdateCall

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

                                                                                                                                                          func (*ChromeosdevicesUpdateCall) 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 (*ChromeosdevicesUpdateCall) Do

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

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

                                                                                                                                                                func (*ChromeosdevicesUpdateCall) Header

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

                                                                                                                                                                  func (*ChromeosdevicesUpdateCall) Projection

                                                                                                                                                                  func (c *ChromeosdevicesUpdateCall) Projection(projection string) *ChromeosdevicesUpdateCall

                                                                                                                                                                    Projection sets the optional parameter "projection": Restrict information returned to a set of selected fields.

                                                                                                                                                                    Possible values:

                                                                                                                                                                    "BASIC" - Includes only the basic metadata fields (e.g., deviceId,
                                                                                                                                                                    

                                                                                                                                                                    serialNumber, status, and user)

                                                                                                                                                                    "FULL" - Includes all metadata fields
                                                                                                                                                                    

                                                                                                                                                                    type Customer

                                                                                                                                                                    type Customer struct {
                                                                                                                                                                    	// AlternateEmail: The customer's secondary contact email address. This
                                                                                                                                                                    	// email address cannot be on the same domain as the customerDomain
                                                                                                                                                                    	AlternateEmail string `json:"alternateEmail,omitempty"`
                                                                                                                                                                    
                                                                                                                                                                    	// CustomerCreationTime: The customer's creation time (Readonly)
                                                                                                                                                                    	CustomerCreationTime string `json:"customerCreationTime,omitempty"`
                                                                                                                                                                    
                                                                                                                                                                    	// CustomerDomain: The customer's primary domain name string. Do not
                                                                                                                                                                    	// include the www prefix when creating a new customer.
                                                                                                                                                                    	CustomerDomain string `json:"customerDomain,omitempty"`
                                                                                                                                                                    
                                                                                                                                                                    	// Etag: ETag of the resource.
                                                                                                                                                                    	Etag string `json:"etag,omitempty"`
                                                                                                                                                                    
                                                                                                                                                                    	// Id: The unique ID for the customer's G Suite account. (Readonly)
                                                                                                                                                                    	Id string `json:"id,omitempty"`
                                                                                                                                                                    
                                                                                                                                                                    	// Kind: Identifies the resource as a customer. Value:
                                                                                                                                                                    	// admin#directory#customer
                                                                                                                                                                    	Kind string `json:"kind,omitempty"`
                                                                                                                                                                    
                                                                                                                                                                    	// Language: The customer's ISO 639-2 language code. The default value
                                                                                                                                                                    	// is en-US
                                                                                                                                                                    	Language string `json:"language,omitempty"`
                                                                                                                                                                    
                                                                                                                                                                    	// PhoneNumber: The customer's contact phone number in E.164 format.
                                                                                                                                                                    	PhoneNumber string `json:"phoneNumber,omitempty"`
                                                                                                                                                                    
                                                                                                                                                                    	// PostalAddress: The customer's postal address information.
                                                                                                                                                                    	PostalAddress *CustomerPostalAddress `json:"postalAddress,omitempty"`
                                                                                                                                                                    
                                                                                                                                                                    	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                    	// server.
                                                                                                                                                                    	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                    
                                                                                                                                                                    	// ForceSendFields is a list of field names (e.g. "AlternateEmail") 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. "AlternateEmail") 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:"-"`
                                                                                                                                                                    }

                                                                                                                                                                      Customer: JSON template for Customer Resource object in Directory API.

                                                                                                                                                                      func (*Customer) MarshalJSON

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

                                                                                                                                                                      type CustomerPostalAddress

                                                                                                                                                                      type CustomerPostalAddress struct {
                                                                                                                                                                      	// AddressLine1: A customer's physical address. The address can be
                                                                                                                                                                      	// composed of one to three lines.
                                                                                                                                                                      	AddressLine1 string `json:"addressLine1,omitempty"`
                                                                                                                                                                      
                                                                                                                                                                      	// AddressLine2: Address line 2 of the address.
                                                                                                                                                                      	AddressLine2 string `json:"addressLine2,omitempty"`
                                                                                                                                                                      
                                                                                                                                                                      	// AddressLine3: Address line 3 of the address.
                                                                                                                                                                      	AddressLine3 string `json:"addressLine3,omitempty"`
                                                                                                                                                                      
                                                                                                                                                                      	// ContactName: The customer contact's name.
                                                                                                                                                                      	ContactName string `json:"contactName,omitempty"`
                                                                                                                                                                      
                                                                                                                                                                      	// CountryCode: This is a required property. For countryCode information
                                                                                                                                                                      	// see the ISO 3166 country code elements.
                                                                                                                                                                      	CountryCode string `json:"countryCode,omitempty"`
                                                                                                                                                                      
                                                                                                                                                                      	// Locality: Name of the locality. An example of a locality value is the
                                                                                                                                                                      	// city of San Francisco.
                                                                                                                                                                      	Locality string `json:"locality,omitempty"`
                                                                                                                                                                      
                                                                                                                                                                      	// OrganizationName: The company or company division name.
                                                                                                                                                                      	OrganizationName string `json:"organizationName,omitempty"`
                                                                                                                                                                      
                                                                                                                                                                      	// PostalCode: The postal code. A postalCode example is a postal zip
                                                                                                                                                                      	// code such as 10009. This is in accordance with -
                                                                                                                                                                      	// http://portablecontacts.net/draft-spec.html#address_element.
                                                                                                                                                                      	PostalCode string `json:"postalCode,omitempty"`
                                                                                                                                                                      
                                                                                                                                                                      	// Region: Name of the region. An example of a region value is NY for
                                                                                                                                                                      	// the state of New York.
                                                                                                                                                                      	Region string `json:"region,omitempty"`
                                                                                                                                                                      
                                                                                                                                                                      	// ForceSendFields is a list of field names (e.g. "AddressLine1") 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. "AddressLine1") 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:"-"`
                                                                                                                                                                      }

                                                                                                                                                                        CustomerPostalAddress: JSON template for postal address of a customer.

                                                                                                                                                                        func (*CustomerPostalAddress) MarshalJSON

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

                                                                                                                                                                        type CustomersGetCall

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

                                                                                                                                                                        func (*CustomersGetCall) 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 (*CustomersGetCall) Do

                                                                                                                                                                          func (c *CustomersGetCall) Do(opts ...googleapi.CallOption) (*Customer, error)

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

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

                                                                                                                                                                              func (*CustomersGetCall) Header

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

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

                                                                                                                                                                                func (*CustomersGetCall) IfNoneMatch

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

                                                                                                                                                                                  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 CustomersPatchCall

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

                                                                                                                                                                                  func (*CustomersPatchCall) 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 (*CustomersPatchCall) Do

                                                                                                                                                                                      Do executes the "directory.customers.patch" call. Exactly one of *Customer or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Customer.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 (*CustomersPatchCall) Fields

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

                                                                                                                                                                                        func (*CustomersPatchCall) Header

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

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

                                                                                                                                                                                          type CustomersService

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

                                                                                                                                                                                          func NewCustomersService

                                                                                                                                                                                          func NewCustomersService(s *Service) *CustomersService

                                                                                                                                                                                          func (*CustomersService) Get

                                                                                                                                                                                          func (r *CustomersService) Get(customerKey string) *CustomersGetCall

                                                                                                                                                                                            Get: Retrieves a customer.

                                                                                                                                                                                            func (*CustomersService) Patch

                                                                                                                                                                                            func (r *CustomersService) Patch(customerKey string, customer *Customer) *CustomersPatchCall

                                                                                                                                                                                              Patch: Updates a customer. This method supports patch semantics.

                                                                                                                                                                                              func (*CustomersService) Update

                                                                                                                                                                                              func (r *CustomersService) Update(customerKey string, customer *Customer) *CustomersUpdateCall

                                                                                                                                                                                                Update: Updates a customer.

                                                                                                                                                                                                type CustomersUpdateCall

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

                                                                                                                                                                                                func (*CustomersUpdateCall) 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 (*CustomersUpdateCall) Do

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

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

                                                                                                                                                                                                      func (*CustomersUpdateCall) Header

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

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

                                                                                                                                                                                                        type DomainAlias

                                                                                                                                                                                                        type DomainAlias struct {
                                                                                                                                                                                                        	// CreationTime: The creation time of the domain alias. (Read-only).
                                                                                                                                                                                                        	CreationTime int64 `json:"creationTime,omitempty,string"`
                                                                                                                                                                                                        
                                                                                                                                                                                                        	// DomainAliasName: The domain alias name.
                                                                                                                                                                                                        	DomainAliasName string `json:"domainAliasName,omitempty"`
                                                                                                                                                                                                        
                                                                                                                                                                                                        	// Etag: ETag of the resource.
                                                                                                                                                                                                        	Etag string `json:"etag,omitempty"`
                                                                                                                                                                                                        
                                                                                                                                                                                                        	// Kind: Kind of resource this is.
                                                                                                                                                                                                        	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                        
                                                                                                                                                                                                        	// ParentDomainName: The parent domain name that the domain alias is
                                                                                                                                                                                                        	// associated with. This can either be a primary or secondary domain
                                                                                                                                                                                                        	// name within a customer.
                                                                                                                                                                                                        	ParentDomainName string `json:"parentDomainName,omitempty"`
                                                                                                                                                                                                        
                                                                                                                                                                                                        	// Verified: Indicates the verification state of a domain alias.
                                                                                                                                                                                                        	// (Read-only)
                                                                                                                                                                                                        	Verified bool `json:"verified,omitempty"`
                                                                                                                                                                                                        
                                                                                                                                                                                                        	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                        	// server.
                                                                                                                                                                                                        	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                        
                                                                                                                                                                                                        	// ForceSendFields is a list of field names (e.g. "CreationTime") 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. "CreationTime") 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:"-"`
                                                                                                                                                                                                        }

                                                                                                                                                                                                          DomainAlias: JSON template for Domain Alias object in Directory API.

                                                                                                                                                                                                          func (*DomainAlias) MarshalJSON

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

                                                                                                                                                                                                          type DomainAliases

                                                                                                                                                                                                          type DomainAliases struct {
                                                                                                                                                                                                          	// DomainAliases: List of domain alias objects.
                                                                                                                                                                                                          	DomainAliases []*DomainAlias `json:"domainAliases,omitempty"`
                                                                                                                                                                                                          
                                                                                                                                                                                                          	// Etag: ETag of the resource.
                                                                                                                                                                                                          	Etag string `json:"etag,omitempty"`
                                                                                                                                                                                                          
                                                                                                                                                                                                          	// Kind: Kind of resource this is.
                                                                                                                                                                                                          	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. "DomainAliases") 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. "DomainAliases") 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:"-"`
                                                                                                                                                                                                          }

                                                                                                                                                                                                            DomainAliases: JSON response template to list domain aliases in Directory API.

                                                                                                                                                                                                            func (*DomainAliases) MarshalJSON

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

                                                                                                                                                                                                            type DomainAliasesDeleteCall

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

                                                                                                                                                                                                            func (*DomainAliasesDeleteCall) 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 (*DomainAliasesDeleteCall) Do

                                                                                                                                                                                                                Do executes the "directory.domainAliases.delete" call.

                                                                                                                                                                                                                func (*DomainAliasesDeleteCall) Fields

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

                                                                                                                                                                                                                  func (*DomainAliasesDeleteCall) Header

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

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

                                                                                                                                                                                                                    type DomainAliasesGetCall

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

                                                                                                                                                                                                                    func (*DomainAliasesGetCall) 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 (*DomainAliasesGetCall) Do

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

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

                                                                                                                                                                                                                          func (*DomainAliasesGetCall) Header

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

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

                                                                                                                                                                                                                            func (*DomainAliasesGetCall) IfNoneMatch

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

                                                                                                                                                                                                                              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 DomainAliasesInsertCall

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

                                                                                                                                                                                                                              func (*DomainAliasesInsertCall) 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 (*DomainAliasesInsertCall) Do

                                                                                                                                                                                                                                  Do executes the "directory.domainAliases.insert" call. Exactly one of *DomainAlias or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *DomainAlias.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 (*DomainAliasesInsertCall) Fields

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

                                                                                                                                                                                                                                    func (*DomainAliasesInsertCall) Header

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

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

                                                                                                                                                                                                                                      type DomainAliasesListCall

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

                                                                                                                                                                                                                                      func (*DomainAliasesListCall) 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 (*DomainAliasesListCall) Do

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

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

                                                                                                                                                                                                                                            func (*DomainAliasesListCall) Header

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

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

                                                                                                                                                                                                                                              func (*DomainAliasesListCall) IfNoneMatch

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

                                                                                                                                                                                                                                                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 (*DomainAliasesListCall) ParentDomainName

                                                                                                                                                                                                                                                func (c *DomainAliasesListCall) ParentDomainName(parentDomainName string) *DomainAliasesListCall

                                                                                                                                                                                                                                                  ParentDomainName sets the optional parameter "parentDomainName": Name of the parent domain for which domain aliases are to be fetched.

                                                                                                                                                                                                                                                  type DomainAliasesService

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

                                                                                                                                                                                                                                                  func NewDomainAliasesService

                                                                                                                                                                                                                                                  func NewDomainAliasesService(s *Service) *DomainAliasesService

                                                                                                                                                                                                                                                  func (*DomainAliasesService) Delete

                                                                                                                                                                                                                                                  func (r *DomainAliasesService) Delete(customer string, domainAliasName string) *DomainAliasesDeleteCall

                                                                                                                                                                                                                                                    Delete: Deletes a Domain Alias of the customer.

                                                                                                                                                                                                                                                    func (*DomainAliasesService) Get

                                                                                                                                                                                                                                                    func (r *DomainAliasesService) Get(customer string, domainAliasName string) *DomainAliasesGetCall

                                                                                                                                                                                                                                                      Get: Retrieves a domain alias of the customer.

                                                                                                                                                                                                                                                      func (*DomainAliasesService) Insert

                                                                                                                                                                                                                                                      func (r *DomainAliasesService) Insert(customer string, domainalias *DomainAlias) *DomainAliasesInsertCall

                                                                                                                                                                                                                                                        Insert: Inserts a Domain alias of the customer.

                                                                                                                                                                                                                                                        func (*DomainAliasesService) List

                                                                                                                                                                                                                                                          List: Lists the domain aliases of the customer.

                                                                                                                                                                                                                                                          type Domains

                                                                                                                                                                                                                                                          type Domains struct {
                                                                                                                                                                                                                                                          	// CreationTime: Creation time of the domain. (Read-only).
                                                                                                                                                                                                                                                          	CreationTime int64 `json:"creationTime,omitempty,string"`
                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                          	// DomainAliases: List of domain alias objects. (Read-only)
                                                                                                                                                                                                                                                          	DomainAliases []*DomainAlias `json:"domainAliases,omitempty"`
                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                          	// DomainName: The domain name of the customer.
                                                                                                                                                                                                                                                          	DomainName string `json:"domainName,omitempty"`
                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                          	// Etag: ETag of the resource.
                                                                                                                                                                                                                                                          	Etag string `json:"etag,omitempty"`
                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                          	// IsPrimary: Indicates if the domain is a primary domain (Read-only).
                                                                                                                                                                                                                                                          	IsPrimary bool `json:"isPrimary,omitempty"`
                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                          	// Kind: Kind of resource this is.
                                                                                                                                                                                                                                                          	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                          	// Verified: Indicates the verification state of a domain. (Read-only).
                                                                                                                                                                                                                                                          	Verified bool `json:"verified,omitempty"`
                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                          	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                          	// server.
                                                                                                                                                                                                                                                          	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                          	// ForceSendFields is a list of field names (e.g. "CreationTime") 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. "CreationTime") 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:"-"`
                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                            Domains: JSON template for Domain object in Directory API.

                                                                                                                                                                                                                                                            func (*Domains) MarshalJSON

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

                                                                                                                                                                                                                                                            type Domains2

                                                                                                                                                                                                                                                            type Domains2 struct {
                                                                                                                                                                                                                                                            	// Domains: List of domain objects.
                                                                                                                                                                                                                                                            	Domains []*Domains `json:"domains,omitempty"`
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            	// Etag: ETag of the resource.
                                                                                                                                                                                                                                                            	Etag string `json:"etag,omitempty"`
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            	// Kind: Kind of resource this is.
                                                                                                                                                                                                                                                            	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. "Domains") 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. "Domains") 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:"-"`
                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                              Domains2: JSON response template to list Domains in Directory API.

                                                                                                                                                                                                                                                              func (*Domains2) MarshalJSON

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

                                                                                                                                                                                                                                                              type DomainsDeleteCall

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

                                                                                                                                                                                                                                                              func (*DomainsDeleteCall) 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 (*DomainsDeleteCall) Do

                                                                                                                                                                                                                                                                  Do executes the "directory.domains.delete" call.

                                                                                                                                                                                                                                                                  func (*DomainsDeleteCall) Fields

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

                                                                                                                                                                                                                                                                    func (*DomainsDeleteCall) Header

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

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

                                                                                                                                                                                                                                                                      type DomainsGetCall

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

                                                                                                                                                                                                                                                                      func (*DomainsGetCall) Context

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

                                                                                                                                                                                                                                                                        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 (*DomainsGetCall) Do

                                                                                                                                                                                                                                                                        func (c *DomainsGetCall) Do(opts ...googleapi.CallOption) (*Domains, error)

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

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

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

                                                                                                                                                                                                                                                                            func (*DomainsGetCall) Header

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

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

                                                                                                                                                                                                                                                                              func (*DomainsGetCall) IfNoneMatch

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

                                                                                                                                                                                                                                                                                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 DomainsInsertCall

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

                                                                                                                                                                                                                                                                                func (*DomainsInsertCall) 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 (*DomainsInsertCall) Do

                                                                                                                                                                                                                                                                                  func (c *DomainsInsertCall) Do(opts ...googleapi.CallOption) (*Domains, error)

                                                                                                                                                                                                                                                                                    Do executes the "directory.domains.insert" call. Exactly one of *Domains or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Domains.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 (*DomainsInsertCall) Fields

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

                                                                                                                                                                                                                                                                                      func (*DomainsInsertCall) Header

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

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

                                                                                                                                                                                                                                                                                        type DomainsListCall

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

                                                                                                                                                                                                                                                                                        func (*DomainsListCall) 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 (*DomainsListCall) Do

                                                                                                                                                                                                                                                                                          func (c *DomainsListCall) Do(opts ...googleapi.CallOption) (*Domains2, error)

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

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

                                                                                                                                                                                                                                                                                              func (*DomainsListCall) Header

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

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

                                                                                                                                                                                                                                                                                                func (*DomainsListCall) IfNoneMatch

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

                                                                                                                                                                                                                                                                                                  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 DomainsService

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

                                                                                                                                                                                                                                                                                                  func NewDomainsService

                                                                                                                                                                                                                                                                                                  func NewDomainsService(s *Service) *DomainsService

                                                                                                                                                                                                                                                                                                  func (*DomainsService) Delete

                                                                                                                                                                                                                                                                                                  func (r *DomainsService) Delete(customer string, domainName string) *DomainsDeleteCall

                                                                                                                                                                                                                                                                                                    Delete: Deletes a domain of the customer.

                                                                                                                                                                                                                                                                                                    func (*DomainsService) Get

                                                                                                                                                                                                                                                                                                    func (r *DomainsService) Get(customer string, domainName string) *DomainsGetCall

                                                                                                                                                                                                                                                                                                      Get: Retrieves a domain of the customer.

                                                                                                                                                                                                                                                                                                      func (*DomainsService) Insert

                                                                                                                                                                                                                                                                                                      func (r *DomainsService) Insert(customer string, domains *Domains) *DomainsInsertCall

                                                                                                                                                                                                                                                                                                        Insert: Inserts a domain of the customer.

                                                                                                                                                                                                                                                                                                        func (*DomainsService) List

                                                                                                                                                                                                                                                                                                        func (r *DomainsService) List(customer string) *DomainsListCall

                                                                                                                                                                                                                                                                                                          List: Lists the domains of the customer.

                                                                                                                                                                                                                                                                                                          type Feature

                                                                                                                                                                                                                                                                                                          type Feature struct {
                                                                                                                                                                                                                                                                                                          	// Etags: ETag of the resource.
                                                                                                                                                                                                                                                                                                          	Etags string `json:"etags,omitempty"`
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                          	// Kind: Kind of resource this is.
                                                                                                                                                                                                                                                                                                          	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                          	// Name: The name of the feature.
                                                                                                                                                                                                                                                                                                          	Name string `json:"name,omitempty"`
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                          	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                          	// server.
                                                                                                                                                                                                                                                                                                          	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                          	// ForceSendFields is a list of field names (e.g. "Etags") 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. "Etags") 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:"-"`
                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                            Feature: JSON template for Feature object in Directory API.

                                                                                                                                                                                                                                                                                                            func (*Feature) MarshalJSON

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

                                                                                                                                                                                                                                                                                                            type FeatureInstance

                                                                                                                                                                                                                                                                                                            type FeatureInstance struct {
                                                                                                                                                                                                                                                                                                            	// Feature: The feature that this is an instance of. A calendar resource
                                                                                                                                                                                                                                                                                                            	// may have multiple instances of a feature.
                                                                                                                                                                                                                                                                                                            	Feature *Feature `json:"feature,omitempty"`
                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                            	// ForceSendFields is a list of field names (e.g. "Feature") 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. "Feature") 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:"-"`
                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                              FeatureInstance: JSON template for a "feature instance".

                                                                                                                                                                                                                                                                                                              func (*FeatureInstance) MarshalJSON

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

                                                                                                                                                                                                                                                                                                              type FeatureRename

                                                                                                                                                                                                                                                                                                              type FeatureRename struct {
                                                                                                                                                                                                                                                                                                              	// NewName: New name of the feature.
                                                                                                                                                                                                                                                                                                              	NewName string `json:"newName,omitempty"`
                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                              	// ForceSendFields is a list of field names (e.g. "NewName") 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. "NewName") 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:"-"`
                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                FeatureRename: JSON request template for renaming a feature.

                                                                                                                                                                                                                                                                                                                func (*FeatureRename) MarshalJSON

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

                                                                                                                                                                                                                                                                                                                type Features

                                                                                                                                                                                                                                                                                                                type Features struct {
                                                                                                                                                                                                                                                                                                                	// Etag: ETag of the resource.
                                                                                                                                                                                                                                                                                                                	Etag string `json:"etag,omitempty"`
                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                	// Features: The Features in this page of results.
                                                                                                                                                                                                                                                                                                                	Features []*Feature `json:"features,omitempty"`
                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                	// Kind: Kind of resource this is.
                                                                                                                                                                                                                                                                                                                	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                	// NextPageToken: The continuation token, used to page through large
                                                                                                                                                                                                                                                                                                                	// result sets. Provide this value in a subsequent request to return the
                                                                                                                                                                                                                                                                                                                	// next page of results.
                                                                                                                                                                                                                                                                                                                	NextPageToken string `json:"nextPageToken,omitempty"`
                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                	// server.
                                                                                                                                                                                                                                                                                                                	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                	// ForceSendFields is a list of field names (e.g. "Etag") 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. "Etag") 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:"-"`
                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                  Features: JSON template for Feature List Response object in Directory API.

                                                                                                                                                                                                                                                                                                                  func (*Features) MarshalJSON

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

                                                                                                                                                                                                                                                                                                                  type Group

                                                                                                                                                                                                                                                                                                                  type Group struct {
                                                                                                                                                                                                                                                                                                                  	// AdminCreated: Is the group created by admin (Read-only) *
                                                                                                                                                                                                                                                                                                                  	AdminCreated bool `json:"adminCreated,omitempty"`
                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                  	// Aliases: List of aliases (Read-only)
                                                                                                                                                                                                                                                                                                                  	Aliases []string `json:"aliases,omitempty"`
                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                  	// Description: Description of the group
                                                                                                                                                                                                                                                                                                                  	Description string `json:"description,omitempty"`
                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                  	// DirectMembersCount: Group direct members count
                                                                                                                                                                                                                                                                                                                  	DirectMembersCount int64 `json:"directMembersCount,omitempty,string"`
                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                  	// Email: Email of Group
                                                                                                                                                                                                                                                                                                                  	Email string `json:"email,omitempty"`
                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                  	// Etag: ETag of the resource.
                                                                                                                                                                                                                                                                                                                  	Etag string `json:"etag,omitempty"`
                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                  	// Id: Unique identifier of Group (Read-only)
                                                                                                                                                                                                                                                                                                                  	Id string `json:"id,omitempty"`
                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                  	// Kind: Kind of resource this is.
                                                                                                                                                                                                                                                                                                                  	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                  	// Name: Group name
                                                                                                                                                                                                                                                                                                                  	Name string `json:"name,omitempty"`
                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                  	// NonEditableAliases: List of non editable aliases (Read-only)
                                                                                                                                                                                                                                                                                                                  	NonEditableAliases []string `json:"nonEditableAliases,omitempty"`
                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                  	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                  	// server.
                                                                                                                                                                                                                                                                                                                  	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                  	// ForceSendFields is a list of field names (e.g. "AdminCreated") 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. "AdminCreated") 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:"-"`
                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                    Group: JSON template for Group resource in Directory API.

                                                                                                                                                                                                                                                                                                                    func (*Group) MarshalJSON

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

                                                                                                                                                                                                                                                                                                                    type Groups

                                                                                                                                                                                                                                                                                                                    type Groups struct {
                                                                                                                                                                                                                                                                                                                    	// Etag: ETag of the resource.
                                                                                                                                                                                                                                                                                                                    	Etag string `json:"etag,omitempty"`
                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                    	// Groups: List of group objects.
                                                                                                                                                                                                                                                                                                                    	Groups []*Group `json:"groups,omitempty"`
                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                    	// Kind: Kind of resource this is.
                                                                                                                                                                                                                                                                                                                    	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                    	// NextPageToken: Token used to access next page of this result.
                                                                                                                                                                                                                                                                                                                    	NextPageToken string `json:"nextPageToken,omitempty"`
                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                    	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                    	// server.
                                                                                                                                                                                                                                                                                                                    	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                    	// ForceSendFields is a list of field names (e.g. "Etag") 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. "Etag") 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:"-"`
                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                      Groups: JSON response template for List Groups operation in Directory API.

                                                                                                                                                                                                                                                                                                                      func (*Groups) MarshalJSON

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

                                                                                                                                                                                                                                                                                                                      type GroupsAliasesDeleteCall

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

                                                                                                                                                                                                                                                                                                                      func (*GroupsAliasesDeleteCall) 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 (*GroupsAliasesDeleteCall) Do

                                                                                                                                                                                                                                                                                                                          Do executes the "directory.groups.aliases.delete" call.

                                                                                                                                                                                                                                                                                                                          func (*GroupsAliasesDeleteCall) Fields

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

                                                                                                                                                                                                                                                                                                                            func (*GroupsAliasesDeleteCall) Header

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

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

                                                                                                                                                                                                                                                                                                                              type GroupsAliasesInsertCall

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

                                                                                                                                                                                                                                                                                                                              func (*GroupsAliasesInsertCall) 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 (*GroupsAliasesInsertCall) Do

                                                                                                                                                                                                                                                                                                                                  Do executes the "directory.groups.aliases.insert" call. Exactly one of *Alias or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Alias.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 (*GroupsAliasesInsertCall) Fields

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

                                                                                                                                                                                                                                                                                                                                    func (*GroupsAliasesInsertCall) Header

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

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

                                                                                                                                                                                                                                                                                                                                      type GroupsAliasesListCall

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

                                                                                                                                                                                                                                                                                                                                      func (*GroupsAliasesListCall) 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 (*GroupsAliasesListCall) Do

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

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

                                                                                                                                                                                                                                                                                                                                            func (*GroupsAliasesListCall) Header

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

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

                                                                                                                                                                                                                                                                                                                                              func (*GroupsAliasesListCall) IfNoneMatch

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

                                                                                                                                                                                                                                                                                                                                                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 GroupsAliasesService

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

                                                                                                                                                                                                                                                                                                                                                func NewGroupsAliasesService

                                                                                                                                                                                                                                                                                                                                                func NewGroupsAliasesService(s *Service) *GroupsAliasesService

                                                                                                                                                                                                                                                                                                                                                func (*GroupsAliasesService) Delete

                                                                                                                                                                                                                                                                                                                                                func (r *GroupsAliasesService) Delete(groupKey string, alias string) *GroupsAliasesDeleteCall

                                                                                                                                                                                                                                                                                                                                                  Delete: Remove a alias for the group

                                                                                                                                                                                                                                                                                                                                                  func (*GroupsAliasesService) Insert

                                                                                                                                                                                                                                                                                                                                                  func (r *GroupsAliasesService) Insert(groupKey string, alias *Alias) *GroupsAliasesInsertCall

                                                                                                                                                                                                                                                                                                                                                    Insert: Add a alias for the group

                                                                                                                                                                                                                                                                                                                                                    func (*GroupsAliasesService) List

                                                                                                                                                                                                                                                                                                                                                      List: List all aliases for a group

                                                                                                                                                                                                                                                                                                                                                      type GroupsDeleteCall

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

                                                                                                                                                                                                                                                                                                                                                      func (*GroupsDeleteCall) 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 (*GroupsDeleteCall) Do

                                                                                                                                                                                                                                                                                                                                                        func (c *GroupsDeleteCall) Do(opts ...googleapi.CallOption) error

                                                                                                                                                                                                                                                                                                                                                          Do executes the "directory.groups.delete" call.

                                                                                                                                                                                                                                                                                                                                                          func (*GroupsDeleteCall) Fields

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

                                                                                                                                                                                                                                                                                                                                                            func (*GroupsDeleteCall) Header

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

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

                                                                                                                                                                                                                                                                                                                                                              type GroupsGetCall

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

                                                                                                                                                                                                                                                                                                                                                              func (*GroupsGetCall) Context

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

                                                                                                                                                                                                                                                                                                                                                                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 (*GroupsGetCall) Do

                                                                                                                                                                                                                                                                                                                                                                func (c *GroupsGetCall) Do(opts ...googleapi.CallOption) (*Group, error)

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

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

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

                                                                                                                                                                                                                                                                                                                                                                    func (*GroupsGetCall) Header

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

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

                                                                                                                                                                                                                                                                                                                                                                      func (*GroupsGetCall) IfNoneMatch

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

                                                                                                                                                                                                                                                                                                                                                                        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 GroupsInsertCall

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

                                                                                                                                                                                                                                                                                                                                                                        func (*GroupsInsertCall) 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 (*GroupsInsertCall) Do

                                                                                                                                                                                                                                                                                                                                                                          func (c *GroupsInsertCall) Do(opts ...googleapi.CallOption) (*Group, error)

                                                                                                                                                                                                                                                                                                                                                                            Do executes the "directory.groups.insert" call. Exactly one of *Group or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Group.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 (*GroupsInsertCall) Fields

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

                                                                                                                                                                                                                                                                                                                                                                              func (*GroupsInsertCall) Header

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

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

                                                                                                                                                                                                                                                                                                                                                                                type GroupsListCall

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

                                                                                                                                                                                                                                                                                                                                                                                func (*GroupsListCall) Context

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

                                                                                                                                                                                                                                                                                                                                                                                  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 (*GroupsListCall) Customer

                                                                                                                                                                                                                                                                                                                                                                                  func (c *GroupsListCall) Customer(customer string) *GroupsListCall

                                                                                                                                                                                                                                                                                                                                                                                    Customer sets the optional parameter "customer": Immutable ID of the G Suite account. In case of multi-domain, to fetch all groups for a customer, fill this field instead of domain.

                                                                                                                                                                                                                                                                                                                                                                                    func (*GroupsListCall) Do

                                                                                                                                                                                                                                                                                                                                                                                    func (c *GroupsListCall) Do(opts ...googleapi.CallOption) (*Groups, error)

                                                                                                                                                                                                                                                                                                                                                                                      Do executes the "directory.groups.list" call. Exactly one of *Groups or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Groups.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 (*GroupsListCall) Domain

                                                                                                                                                                                                                                                                                                                                                                                      func (c *GroupsListCall) Domain(domain string) *GroupsListCall

                                                                                                                                                                                                                                                                                                                                                                                        Domain sets the optional parameter "domain": Name of the domain. Fill this field to get groups from only this domain. To return all groups in a multi-domain fill customer field instead.

                                                                                                                                                                                                                                                                                                                                                                                        func (*GroupsListCall) Fields

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

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

                                                                                                                                                                                                                                                                                                                                                                                          func (*GroupsListCall) Header

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

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

                                                                                                                                                                                                                                                                                                                                                                                            func (*GroupsListCall) IfNoneMatch

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

                                                                                                                                                                                                                                                                                                                                                                                              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 (*GroupsListCall) MaxResults

                                                                                                                                                                                                                                                                                                                                                                                              func (c *GroupsListCall) MaxResults(maxResults int64) *GroupsListCall

                                                                                                                                                                                                                                                                                                                                                                                                MaxResults sets the optional parameter "maxResults": Maximum number of results to return. Max allowed value is 200.

                                                                                                                                                                                                                                                                                                                                                                                                func (*GroupsListCall) OrderBy

                                                                                                                                                                                                                                                                                                                                                                                                func (c *GroupsListCall) OrderBy(orderBy string) *GroupsListCall

                                                                                                                                                                                                                                                                                                                                                                                                  OrderBy sets the optional parameter "orderBy": Column to use for sorting results

                                                                                                                                                                                                                                                                                                                                                                                                  Possible values:

                                                                                                                                                                                                                                                                                                                                                                                                  "email" - Email of the group.
                                                                                                                                                                                                                                                                                                                                                                                                  

                                                                                                                                                                                                                                                                                                                                                                                                  func (*GroupsListCall) PageToken

                                                                                                                                                                                                                                                                                                                                                                                                  func (c *GroupsListCall) PageToken(pageToken string) *GroupsListCall

                                                                                                                                                                                                                                                                                                                                                                                                    PageToken sets the optional parameter "pageToken": Token to specify next page in the list

                                                                                                                                                                                                                                                                                                                                                                                                    func (*GroupsListCall) Pages

                                                                                                                                                                                                                                                                                                                                                                                                    func (c *GroupsListCall) Pages(ctx context.Context, f func(*Groups) error) error

                                                                                                                                                                                                                                                                                                                                                                                                      Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

                                                                                                                                                                                                                                                                                                                                                                                                      func (*GroupsListCall) Query

                                                                                                                                                                                                                                                                                                                                                                                                      func (c *GroupsListCall) Query(query string) *GroupsListCall

                                                                                                                                                                                                                                                                                                                                                                                                        Query sets the optional parameter "query": Query string search. Should be of the form "". Complete documentation is at https://developers.google.com/admin-sdk/directory/v1/guides/search-groups

                                                                                                                                                                                                                                                                                                                                                                                                        func (*GroupsListCall) SortOrder

                                                                                                                                                                                                                                                                                                                                                                                                        func (c *GroupsListCall) SortOrder(sortOrder string) *GroupsListCall

                                                                                                                                                                                                                                                                                                                                                                                                          SortOrder sets the optional parameter "sortOrder": Whether to return results in ascending or descending order. Only of use when orderBy is also used

                                                                                                                                                                                                                                                                                                                                                                                                          Possible values:

                                                                                                                                                                                                                                                                                                                                                                                                          "ASCENDING" - Ascending order.
                                                                                                                                                                                                                                                                                                                                                                                                          "DESCENDING" - Descending order.
                                                                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                                                                          func (*GroupsListCall) UserKey

                                                                                                                                                                                                                                                                                                                                                                                                          func (c *GroupsListCall) UserKey(userKey string) *GroupsListCall

                                                                                                                                                                                                                                                                                                                                                                                                            UserKey sets the optional parameter "userKey": Email or immutable ID of the user if only those groups are to be listed, the given user is a member of. If it's an ID, it should match with the ID of the user object.

                                                                                                                                                                                                                                                                                                                                                                                                            type GroupsPatchCall

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

                                                                                                                                                                                                                                                                                                                                                                                                            func (*GroupsPatchCall) 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 (*GroupsPatchCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                              func (c *GroupsPatchCall) Do(opts ...googleapi.CallOption) (*Group, error)

                                                                                                                                                                                                                                                                                                                                                                                                                Do executes the "directory.groups.patch" call. Exactly one of *Group or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Group.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 (*GroupsPatchCall) Fields

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

                                                                                                                                                                                                                                                                                                                                                                                                                  func (*GroupsPatchCall) Header

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

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

                                                                                                                                                                                                                                                                                                                                                                                                                    type GroupsService

                                                                                                                                                                                                                                                                                                                                                                                                                    type GroupsService struct {
                                                                                                                                                                                                                                                                                                                                                                                                                    	Aliases *GroupsAliasesService
                                                                                                                                                                                                                                                                                                                                                                                                                    	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                                                                                                                    func NewGroupsService

                                                                                                                                                                                                                                                                                                                                                                                                                    func NewGroupsService(s *Service) *GroupsService

                                                                                                                                                                                                                                                                                                                                                                                                                    func (*GroupsService) Delete

                                                                                                                                                                                                                                                                                                                                                                                                                    func (r *GroupsService) Delete(groupKey string) *GroupsDeleteCall

                                                                                                                                                                                                                                                                                                                                                                                                                      Delete: Delete Group

                                                                                                                                                                                                                                                                                                                                                                                                                      func (*GroupsService) Get

                                                                                                                                                                                                                                                                                                                                                                                                                      func (r *GroupsService) Get(groupKey string) *GroupsGetCall

                                                                                                                                                                                                                                                                                                                                                                                                                        Get: Retrieve Group

                                                                                                                                                                                                                                                                                                                                                                                                                        func (*GroupsService) Insert

                                                                                                                                                                                                                                                                                                                                                                                                                        func (r *GroupsService) Insert(group *Group) *GroupsInsertCall

                                                                                                                                                                                                                                                                                                                                                                                                                          Insert: Create Group

                                                                                                                                                                                                                                                                                                                                                                                                                          func (*GroupsService) List

                                                                                                                                                                                                                                                                                                                                                                                                                          func (r *GroupsService) List() *GroupsListCall

                                                                                                                                                                                                                                                                                                                                                                                                                            List: Retrieve all groups of a domain or of a user given a userKey (paginated)

                                                                                                                                                                                                                                                                                                                                                                                                                            func (*GroupsService) Patch

                                                                                                                                                                                                                                                                                                                                                                                                                            func (r *GroupsService) Patch(groupKey string, group *Group) *GroupsPatchCall

                                                                                                                                                                                                                                                                                                                                                                                                                              Patch: Update Group. This method supports patch semantics.

                                                                                                                                                                                                                                                                                                                                                                                                                              func (*GroupsService) Update

                                                                                                                                                                                                                                                                                                                                                                                                                              func (r *GroupsService) Update(groupKey string, group *Group) *GroupsUpdateCall

                                                                                                                                                                                                                                                                                                                                                                                                                                Update: Update Group

                                                                                                                                                                                                                                                                                                                                                                                                                                type GroupsUpdateCall

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

                                                                                                                                                                                                                                                                                                                                                                                                                                func (*GroupsUpdateCall) 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 (*GroupsUpdateCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *GroupsUpdateCall) Do(opts ...googleapi.CallOption) (*Group, error)

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

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

                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*GroupsUpdateCall) Header

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

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

                                                                                                                                                                                                                                                                                                                                                                                                                                        type Member

                                                                                                                                                                                                                                                                                                                                                                                                                                        type Member struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                        	// DeliverySettings: Delivery settings of member
                                                                                                                                                                                                                                                                                                                                                                                                                                        	DeliverySettings string `json:"delivery_settings,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                        	// Email: Email of member (Read-only)
                                                                                                                                                                                                                                                                                                                                                                                                                                        	Email string `json:"email,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                        	// Etag: ETag of the resource.
                                                                                                                                                                                                                                                                                                                                                                                                                                        	Etag