Versions in this module Expand all Collapse all v0 v0.25.2 May 21, 2020 Changes in this version + const CloudPlatformScope + type AccessLevel struct + Basic *BasicLevel + Custom *CustomLevel + Description string + ForceSendFields []string + Name string + NullFields []string + Title string + func (s *AccessLevel) MarshalJSON() ([]byte, error) + type AccessPoliciesAccessLevelsCreateCall struct + func (c *AccessPoliciesAccessLevelsCreateCall) Context(ctx context.Context) *AccessPoliciesAccessLevelsCreateCall + func (c *AccessPoliciesAccessLevelsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *AccessPoliciesAccessLevelsCreateCall) Fields(s ...googleapi.Field) *AccessPoliciesAccessLevelsCreateCall + func (c *AccessPoliciesAccessLevelsCreateCall) Header() http.Header + type AccessPoliciesAccessLevelsDeleteCall struct + func (c *AccessPoliciesAccessLevelsDeleteCall) Context(ctx context.Context) *AccessPoliciesAccessLevelsDeleteCall + func (c *AccessPoliciesAccessLevelsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *AccessPoliciesAccessLevelsDeleteCall) Fields(s ...googleapi.Field) *AccessPoliciesAccessLevelsDeleteCall + func (c *AccessPoliciesAccessLevelsDeleteCall) Header() http.Header + type AccessPoliciesAccessLevelsGetCall struct + func (c *AccessPoliciesAccessLevelsGetCall) AccessLevelFormat(accessLevelFormat string) *AccessPoliciesAccessLevelsGetCall + func (c *AccessPoliciesAccessLevelsGetCall) Context(ctx context.Context) *AccessPoliciesAccessLevelsGetCall + func (c *AccessPoliciesAccessLevelsGetCall) Do(opts ...googleapi.CallOption) (*AccessLevel, error) + func (c *AccessPoliciesAccessLevelsGetCall) Fields(s ...googleapi.Field) *AccessPoliciesAccessLevelsGetCall + func (c *AccessPoliciesAccessLevelsGetCall) Header() http.Header + func (c *AccessPoliciesAccessLevelsGetCall) IfNoneMatch(entityTag string) *AccessPoliciesAccessLevelsGetCall + type AccessPoliciesAccessLevelsListCall struct + func (c *AccessPoliciesAccessLevelsListCall) AccessLevelFormat(accessLevelFormat string) *AccessPoliciesAccessLevelsListCall + func (c *AccessPoliciesAccessLevelsListCall) Context(ctx context.Context) *AccessPoliciesAccessLevelsListCall + func (c *AccessPoliciesAccessLevelsListCall) Do(opts ...googleapi.CallOption) (*ListAccessLevelsResponse, error) + func (c *AccessPoliciesAccessLevelsListCall) Fields(s ...googleapi.Field) *AccessPoliciesAccessLevelsListCall + func (c *AccessPoliciesAccessLevelsListCall) Header() http.Header + func (c *AccessPoliciesAccessLevelsListCall) IfNoneMatch(entityTag string) *AccessPoliciesAccessLevelsListCall + func (c *AccessPoliciesAccessLevelsListCall) PageSize(pageSize int64) *AccessPoliciesAccessLevelsListCall + func (c *AccessPoliciesAccessLevelsListCall) PageToken(pageToken string) *AccessPoliciesAccessLevelsListCall + func (c *AccessPoliciesAccessLevelsListCall) Pages(ctx context.Context, f func(*ListAccessLevelsResponse) error) error + type AccessPoliciesAccessLevelsPatchCall struct + func (c *AccessPoliciesAccessLevelsPatchCall) Context(ctx context.Context) *AccessPoliciesAccessLevelsPatchCall + func (c *AccessPoliciesAccessLevelsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *AccessPoliciesAccessLevelsPatchCall) Fields(s ...googleapi.Field) *AccessPoliciesAccessLevelsPatchCall + func (c *AccessPoliciesAccessLevelsPatchCall) Header() http.Header + func (c *AccessPoliciesAccessLevelsPatchCall) UpdateMask(updateMask string) *AccessPoliciesAccessLevelsPatchCall + type AccessPoliciesAccessLevelsReplaceAllCall struct + func (c *AccessPoliciesAccessLevelsReplaceAllCall) Context(ctx context.Context) *AccessPoliciesAccessLevelsReplaceAllCall + func (c *AccessPoliciesAccessLevelsReplaceAllCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *AccessPoliciesAccessLevelsReplaceAllCall) Fields(s ...googleapi.Field) *AccessPoliciesAccessLevelsReplaceAllCall + func (c *AccessPoliciesAccessLevelsReplaceAllCall) Header() http.Header + type AccessPoliciesAccessLevelsService struct + func NewAccessPoliciesAccessLevelsService(s *Service) *AccessPoliciesAccessLevelsService + func (r *AccessPoliciesAccessLevelsService) Create(parent string, accesslevel *AccessLevel) *AccessPoliciesAccessLevelsCreateCall + func (r *AccessPoliciesAccessLevelsService) Delete(name string) *AccessPoliciesAccessLevelsDeleteCall + func (r *AccessPoliciesAccessLevelsService) Get(name string) *AccessPoliciesAccessLevelsGetCall + func (r *AccessPoliciesAccessLevelsService) List(parent string) *AccessPoliciesAccessLevelsListCall + func (r *AccessPoliciesAccessLevelsService) Patch(name string, accesslevel *AccessLevel) *AccessPoliciesAccessLevelsPatchCall + func (r *AccessPoliciesAccessLevelsService) ReplaceAll(parent string, replaceaccesslevelsrequest *ReplaceAccessLevelsRequest) *AccessPoliciesAccessLevelsReplaceAllCall + type AccessPoliciesCreateCall struct + func (c *AccessPoliciesCreateCall) Context(ctx context.Context) *AccessPoliciesCreateCall + func (c *AccessPoliciesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *AccessPoliciesCreateCall) Fields(s ...googleapi.Field) *AccessPoliciesCreateCall + func (c *AccessPoliciesCreateCall) Header() http.Header + type AccessPoliciesDeleteCall struct + func (c *AccessPoliciesDeleteCall) Context(ctx context.Context) *AccessPoliciesDeleteCall + func (c *AccessPoliciesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *AccessPoliciesDeleteCall) Fields(s ...googleapi.Field) *AccessPoliciesDeleteCall + func (c *AccessPoliciesDeleteCall) Header() http.Header + type AccessPoliciesGetCall struct + func (c *AccessPoliciesGetCall) Context(ctx context.Context) *AccessPoliciesGetCall + func (c *AccessPoliciesGetCall) Do(opts ...googleapi.CallOption) (*AccessPolicy, error) + func (c *AccessPoliciesGetCall) Fields(s ...googleapi.Field) *AccessPoliciesGetCall + func (c *AccessPoliciesGetCall) Header() http.Header + func (c *AccessPoliciesGetCall) IfNoneMatch(entityTag string) *AccessPoliciesGetCall + type AccessPoliciesListCall struct + func (c *AccessPoliciesListCall) Context(ctx context.Context) *AccessPoliciesListCall + func (c *AccessPoliciesListCall) Do(opts ...googleapi.CallOption) (*ListAccessPoliciesResponse, error) + func (c *AccessPoliciesListCall) Fields(s ...googleapi.Field) *AccessPoliciesListCall + func (c *AccessPoliciesListCall) Header() http.Header + func (c *AccessPoliciesListCall) IfNoneMatch(entityTag string) *AccessPoliciesListCall + func (c *AccessPoliciesListCall) PageSize(pageSize int64) *AccessPoliciesListCall + func (c *AccessPoliciesListCall) PageToken(pageToken string) *AccessPoliciesListCall + func (c *AccessPoliciesListCall) Pages(ctx context.Context, f func(*ListAccessPoliciesResponse) error) error + func (c *AccessPoliciesListCall) Parent(parent string) *AccessPoliciesListCall + type AccessPoliciesPatchCall struct + func (c *AccessPoliciesPatchCall) Context(ctx context.Context) *AccessPoliciesPatchCall + func (c *AccessPoliciesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *AccessPoliciesPatchCall) Fields(s ...googleapi.Field) *AccessPoliciesPatchCall + func (c *AccessPoliciesPatchCall) Header() http.Header + func (c *AccessPoliciesPatchCall) UpdateMask(updateMask string) *AccessPoliciesPatchCall + type AccessPoliciesService struct + AccessLevels *AccessPoliciesAccessLevelsService + ServicePerimeters *AccessPoliciesServicePerimetersService + func NewAccessPoliciesService(s *Service) *AccessPoliciesService + func (r *AccessPoliciesService) Create(accesspolicy *AccessPolicy) *AccessPoliciesCreateCall + func (r *AccessPoliciesService) Delete(name string) *AccessPoliciesDeleteCall + func (r *AccessPoliciesService) Get(name string) *AccessPoliciesGetCall + func (r *AccessPoliciesService) List() *AccessPoliciesListCall + func (r *AccessPoliciesService) Patch(name string, accesspolicy *AccessPolicy) *AccessPoliciesPatchCall + type AccessPoliciesServicePerimetersCommitCall struct + func (c *AccessPoliciesServicePerimetersCommitCall) Context(ctx context.Context) *AccessPoliciesServicePerimetersCommitCall + func (c *AccessPoliciesServicePerimetersCommitCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *AccessPoliciesServicePerimetersCommitCall) Fields(s ...googleapi.Field) *AccessPoliciesServicePerimetersCommitCall + func (c *AccessPoliciesServicePerimetersCommitCall) Header() http.Header + type AccessPoliciesServicePerimetersCreateCall struct + func (c *AccessPoliciesServicePerimetersCreateCall) Context(ctx context.Context) *AccessPoliciesServicePerimetersCreateCall + func (c *AccessPoliciesServicePerimetersCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *AccessPoliciesServicePerimetersCreateCall) Fields(s ...googleapi.Field) *AccessPoliciesServicePerimetersCreateCall + func (c *AccessPoliciesServicePerimetersCreateCall) Header() http.Header + type AccessPoliciesServicePerimetersDeleteCall struct + func (c *AccessPoliciesServicePerimetersDeleteCall) Context(ctx context.Context) *AccessPoliciesServicePerimetersDeleteCall + func (c *AccessPoliciesServicePerimetersDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *AccessPoliciesServicePerimetersDeleteCall) Fields(s ...googleapi.Field) *AccessPoliciesServicePerimetersDeleteCall + func (c *AccessPoliciesServicePerimetersDeleteCall) Header() http.Header + type AccessPoliciesServicePerimetersGetCall struct + func (c *AccessPoliciesServicePerimetersGetCall) Context(ctx context.Context) *AccessPoliciesServicePerimetersGetCall + func (c *AccessPoliciesServicePerimetersGetCall) Do(opts ...googleapi.CallOption) (*ServicePerimeter, error) + func (c *AccessPoliciesServicePerimetersGetCall) Fields(s ...googleapi.Field) *AccessPoliciesServicePerimetersGetCall + func (c *AccessPoliciesServicePerimetersGetCall) Header() http.Header + func (c *AccessPoliciesServicePerimetersGetCall) IfNoneMatch(entityTag string) *AccessPoliciesServicePerimetersGetCall + type AccessPoliciesServicePerimetersListCall struct + func (c *AccessPoliciesServicePerimetersListCall) Context(ctx context.Context) *AccessPoliciesServicePerimetersListCall + func (c *AccessPoliciesServicePerimetersListCall) Do(opts ...googleapi.CallOption) (*ListServicePerimetersResponse, error) + func (c *AccessPoliciesServicePerimetersListCall) Fields(s ...googleapi.Field) *AccessPoliciesServicePerimetersListCall + func (c *AccessPoliciesServicePerimetersListCall) Header() http.Header + func (c *AccessPoliciesServicePerimetersListCall) IfNoneMatch(entityTag string) *AccessPoliciesServicePerimetersListCall + func (c *AccessPoliciesServicePerimetersListCall) PageSize(pageSize int64) *AccessPoliciesServicePerimetersListCall + func (c *AccessPoliciesServicePerimetersListCall) PageToken(pageToken string) *AccessPoliciesServicePerimetersListCall + func (c *AccessPoliciesServicePerimetersListCall) Pages(ctx context.Context, f func(*ListServicePerimetersResponse) error) error + type AccessPoliciesServicePerimetersPatchCall struct + func (c *AccessPoliciesServicePerimetersPatchCall) Context(ctx context.Context) *AccessPoliciesServicePerimetersPatchCall + func (c *AccessPoliciesServicePerimetersPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *AccessPoliciesServicePerimetersPatchCall) Fields(s ...googleapi.Field) *AccessPoliciesServicePerimetersPatchCall + func (c *AccessPoliciesServicePerimetersPatchCall) Header() http.Header + func (c *AccessPoliciesServicePerimetersPatchCall) UpdateMask(updateMask string) *AccessPoliciesServicePerimetersPatchCall + type AccessPoliciesServicePerimetersReplaceAllCall struct + func (c *AccessPoliciesServicePerimetersReplaceAllCall) Context(ctx context.Context) *AccessPoliciesServicePerimetersReplaceAllCall + func (c *AccessPoliciesServicePerimetersReplaceAllCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *AccessPoliciesServicePerimetersReplaceAllCall) Fields(s ...googleapi.Field) *AccessPoliciesServicePerimetersReplaceAllCall + func (c *AccessPoliciesServicePerimetersReplaceAllCall) Header() http.Header + type AccessPoliciesServicePerimetersService struct + func NewAccessPoliciesServicePerimetersService(s *Service) *AccessPoliciesServicePerimetersService + func (r *AccessPoliciesServicePerimetersService) Commit(parent string, commitserviceperimetersrequest *CommitServicePerimetersRequest) *AccessPoliciesServicePerimetersCommitCall + func (r *AccessPoliciesServicePerimetersService) Create(parent string, serviceperimeter *ServicePerimeter) *AccessPoliciesServicePerimetersCreateCall + func (r *AccessPoliciesServicePerimetersService) Delete(name string) *AccessPoliciesServicePerimetersDeleteCall + func (r *AccessPoliciesServicePerimetersService) Get(name string) *AccessPoliciesServicePerimetersGetCall + func (r *AccessPoliciesServicePerimetersService) List(parent string) *AccessPoliciesServicePerimetersListCall + func (r *AccessPoliciesServicePerimetersService) Patch(name string, serviceperimeter *ServicePerimeter) *AccessPoliciesServicePerimetersPatchCall + func (r *AccessPoliciesServicePerimetersService) ReplaceAll(parent string, ...) *AccessPoliciesServicePerimetersReplaceAllCall + type AccessPolicy struct + Etag string + ForceSendFields []string + Name string + NullFields []string + Parent string + Title string + func (s *AccessPolicy) MarshalJSON() ([]byte, error) + type BasicLevel struct + CombiningFunction string + Conditions []*Condition + ForceSendFields []string + NullFields []string + func (s *BasicLevel) MarshalJSON() ([]byte, error) + type CancelOperationRequest struct + type CommitServicePerimetersRequest struct + Etag string + ForceSendFields []string + NullFields []string + func (s *CommitServicePerimetersRequest) MarshalJSON() ([]byte, error) + type CommitServicePerimetersResponse struct + ForceSendFields []string + NullFields []string + ServicePerimeters []*ServicePerimeter + func (s *CommitServicePerimetersResponse) MarshalJSON() ([]byte, error) + type Condition struct + DevicePolicy *DevicePolicy + ForceSendFields []string + IpSubnetworks []string + Members []string + Negate bool + NullFields []string + Regions []string + RequiredAccessLevels []string + func (s *Condition) MarshalJSON() ([]byte, error) + type CustomLevel struct + Expr *Expr + ForceSendFields []string + NullFields []string + func (s *CustomLevel) MarshalJSON() ([]byte, error) + type DevicePolicy struct + AllowedDeviceManagementLevels []string + AllowedEncryptionStatuses []string + ForceSendFields []string + NullFields []string + OsConstraints []*OsConstraint + RequireAdminApproval bool + RequireCorpOwned bool + RequireScreenlock bool + func (s *DevicePolicy) MarshalJSON() ([]byte, error) + type Empty struct + type Expr struct + Description string + Expression string + ForceSendFields []string + Location string + NullFields []string + Title string + func (s *Expr) MarshalJSON() ([]byte, error) + type ListAccessLevelsResponse struct + AccessLevels []*AccessLevel + ForceSendFields []string + NextPageToken string + NullFields []string + func (s *ListAccessLevelsResponse) MarshalJSON() ([]byte, error) + type ListAccessPoliciesResponse struct + AccessPolicies []*AccessPolicy + ForceSendFields []string + NextPageToken string + NullFields []string + func (s *ListAccessPoliciesResponse) MarshalJSON() ([]byte, error) + type ListOperationsResponse struct + ForceSendFields []string + NextPageToken string + NullFields []string + Operations []*Operation + func (s *ListOperationsResponse) MarshalJSON() ([]byte, error) + type ListServicePerimetersResponse struct + ForceSendFields []string + NextPageToken string + NullFields []string + ServicePerimeters []*ServicePerimeter + func (s *ListServicePerimetersResponse) MarshalJSON() ([]byte, error) + type Operation struct + Done bool + Error *Status + ForceSendFields []string + Metadata googleapi.RawMessage + Name string + NullFields []string + Response googleapi.RawMessage + func (s *Operation) MarshalJSON() ([]byte, error) + type OperationsCancelCall struct + func (c *OperationsCancelCall) Context(ctx context.Context) *OperationsCancelCall + func (c *OperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *OperationsCancelCall) Fields(s ...googleapi.Field) *OperationsCancelCall + func (c *OperationsCancelCall) Header() http.Header + type OperationsDeleteCall struct + func (c *OperationsDeleteCall) Context(ctx context.Context) *OperationsDeleteCall + func (c *OperationsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *OperationsDeleteCall) Fields(s ...googleapi.Field) *OperationsDeleteCall + func (c *OperationsDeleteCall) Header() http.Header + type OperationsGetCall struct + func (c *OperationsGetCall) Context(ctx context.Context) *OperationsGetCall + func (c *OperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall + func (c *OperationsGetCall) Header() http.Header + func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall + type OperationsListCall struct + func (c *OperationsListCall) Context(ctx context.Context) *OperationsListCall + func (c *OperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error) + func (c *OperationsListCall) Fields(s ...googleapi.Field) *OperationsListCall + func (c *OperationsListCall) Filter(filter string) *OperationsListCall + func (c *OperationsListCall) Header() http.Header + func (c *OperationsListCall) IfNoneMatch(entityTag string) *OperationsListCall + func (c *OperationsListCall) PageSize(pageSize int64) *OperationsListCall + func (c *OperationsListCall) PageToken(pageToken string) *OperationsListCall + func (c *OperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error + type OperationsService struct + func NewOperationsService(s *Service) *OperationsService + func (r *OperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *OperationsCancelCall + func (r *OperationsService) Delete(name string) *OperationsDeleteCall + func (r *OperationsService) Get(name string) *OperationsGetCall + func (r *OperationsService) List(name string) *OperationsListCall + type OsConstraint struct + ForceSendFields []string + MinimumVersion string + NullFields []string + OsType string + RequireVerifiedChromeOs bool + func (s *OsConstraint) MarshalJSON() ([]byte, error) + type ReplaceAccessLevelsRequest struct + AccessLevels []*AccessLevel + Etag string + ForceSendFields []string + NullFields []string + func (s *ReplaceAccessLevelsRequest) MarshalJSON() ([]byte, error) + type ReplaceAccessLevelsResponse struct + AccessLevels []*AccessLevel + ForceSendFields []string + NullFields []string + func (s *ReplaceAccessLevelsResponse) MarshalJSON() ([]byte, error) + type ReplaceServicePerimetersRequest struct + Etag string + ForceSendFields []string + NullFields []string + ServicePerimeters []*ServicePerimeter + func (s *ReplaceServicePerimetersRequest) MarshalJSON() ([]byte, error) + type ReplaceServicePerimetersResponse struct + ForceSendFields []string + NullFields []string + ServicePerimeters []*ServicePerimeter + func (s *ReplaceServicePerimetersResponse) MarshalJSON() ([]byte, error) + type Service struct + AccessPolicies *AccessPoliciesService + BasePath string + Operations *OperationsService + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type ServicePerimeter struct + Description string + ForceSendFields []string + Name string + NullFields []string + PerimeterType string + Spec *ServicePerimeterConfig + Status *ServicePerimeterConfig + Title string + UseExplicitDryRunSpec bool + func (s *ServicePerimeter) MarshalJSON() ([]byte, error) + type ServicePerimeterConfig struct + AccessLevels []string + ForceSendFields []string + NullFields []string + Resources []string + RestrictedServices []string + VpcAccessibleServices *VpcAccessibleServices + func (s *ServicePerimeterConfig) MarshalJSON() ([]byte, error) + type Status struct + Code int64 + Details []googleapi.RawMessage + ForceSendFields []string + Message string + NullFields []string + func (s *Status) MarshalJSON() ([]byte, error) + type VpcAccessibleServices struct + AllowedServices []string + EnableRestriction bool + ForceSendFields []string + NullFields []string + func (s *VpcAccessibleServices) MarshalJSON() ([]byte, error)