Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ChromePolicy

import { ChromePolicy } from "https://googleapis.deno.dev/v1/chromepolicy:v1.ts";

The Chrome Policy API is a suite of services that allows Chrome administrators to control the policies applied to their managed Chrome OS devices and Chrome browsers.

class ChromePolicy {
constructor(client?: CredentialsClient, baseUrl?: string);
async customersPoliciesGroupsBatchDelete(customer: string, req: GoogleChromePolicyVersionsV1BatchDeleteGroupPoliciesRequest): Promise<GoogleProtobufEmpty>;
async customersPoliciesGroupsBatchModify(customer: string, req: GoogleChromePolicyVersionsV1BatchModifyGroupPoliciesRequest): Promise<GoogleProtobufEmpty>;
async customersPoliciesGroupsListGroupPriorityOrdering(customer: string, req: GoogleChromePolicyVersionsV1ListGroupPriorityOrderingRequest): Promise<GoogleChromePolicyVersionsV1ListGroupPriorityOrderingResponse>;
async customersPoliciesGroupsUpdateGroupPriorityOrdering(customer: string, req: GoogleChromePolicyVersionsV1UpdateGroupPriorityOrderingRequest): Promise<GoogleProtobufEmpty>;
async customersPoliciesNetworksDefineCertificate(customer: string, req: GoogleChromePolicyVersionsV1DefineCertificateRequest): Promise<GoogleChromePolicyVersionsV1DefineCertificateResponse>;
async customersPoliciesNetworksDefineNetwork(customer: string, req: GoogleChromePolicyVersionsV1DefineNetworkRequest): Promise<GoogleChromePolicyVersionsV1DefineNetworkResponse>;
async customersPoliciesNetworksRemoveCertificate(customer: string, req: GoogleChromePolicyVersionsV1RemoveCertificateRequest): Promise<GoogleChromePolicyVersionsV1RemoveCertificateResponse>;
async customersPoliciesNetworksRemoveNetwork(customer: string, req: GoogleChromePolicyVersionsV1RemoveNetworkRequest): Promise<GoogleChromePolicyVersionsV1RemoveNetworkResponse>;
async customersPoliciesOrgunitsBatchInherit(customer: string, req: GoogleChromePolicyVersionsV1BatchInheritOrgUnitPoliciesRequest): Promise<GoogleProtobufEmpty>;
async customersPoliciesOrgunitsBatchModify(customer: string, req: GoogleChromePolicyVersionsV1BatchModifyOrgUnitPoliciesRequest): Promise<GoogleProtobufEmpty>;
async customersPoliciesResolve(customer: string, req: GoogleChromePolicyVersionsV1ResolveRequest): Promise<GoogleChromePolicyVersionsV1ResolveResponse>;
async customersPolicySchemasGet(name: string): Promise<GoogleChromePolicyVersionsV1PolicySchema>;
async customersPolicySchemasList(parent: string, opts?: CustomersPolicySchemasListOptions): Promise<GoogleChromePolicyVersionsV1ListPolicySchemasResponse>;
}

§Constructors

§
new ChromePolicy(client?: CredentialsClient, baseUrl?: string)
[src]

§Methods

§
customersPoliciesGroupsBatchDelete(customer: string, req: GoogleChromePolicyVersionsV1BatchDeleteGroupPoliciesRequest): Promise<GoogleProtobufEmpty>
[src]

Delete multiple policy values that are applied to a specific group. All targets must have the same target format. That is to say that they must point to the same target resource and must have the same keys specified in additionalTargetKeyNames, though the values for those keys may be different. On failure the request will return the error details as part of the google.rpc.Status.

@param customer

ID of the Google Workspace account or literal "my_customer" for the customer associated to the request.

§
customersPoliciesGroupsBatchModify(customer: string, req: GoogleChromePolicyVersionsV1BatchModifyGroupPoliciesRequest): Promise<GoogleProtobufEmpty>
[src]

Modify multiple policy values that are applied to a specific group. All targets must have the same target format. That is to say that they must point to the same target resource and must have the same keys specified in additionalTargetKeyNames, though the values for those keys may be different. On failure the request will return the error details as part of the google.rpc.Status.

@param customer

ID of the Google Workspace account or literal "my_customer" for the customer associated to the request.

§
customersPoliciesGroupsListGroupPriorityOrdering(customer: string, req: GoogleChromePolicyVersionsV1ListGroupPriorityOrderingRequest): Promise<GoogleChromePolicyVersionsV1ListGroupPriorityOrderingResponse>
[src]

Retrieve a group priority ordering for an app. The target app must be supplied in additionalTargetKeyNames in the PolicyTargetKey. On failure the request will return the error details as part of the google.rpc.Status.

@param customer

Required. ID of the Google Workspace account or literal "my_customer" for the customer associated to the request.

§
customersPoliciesGroupsUpdateGroupPriorityOrdering(customer: string, req: GoogleChromePolicyVersionsV1UpdateGroupPriorityOrderingRequest): Promise<GoogleProtobufEmpty>
[src]

Update a group priority ordering for an app. The target app must be supplied in additionalTargetKeyNames in the PolicyTargetKey. On failure the request will return the error details as part of the google.rpc.Status.

@param customer

Required. ID of the Google Workspace account or literal "my_customer" for the customer associated to the request.

§
customersPoliciesNetworksDefineCertificate(customer: string, req: GoogleChromePolicyVersionsV1DefineCertificateRequest): Promise<GoogleChromePolicyVersionsV1DefineCertificateResponse>
[src]

Creates a certificate at a specified OU for a customer.

@param customer

Required. The customer for which the certificate will apply.

§
customersPoliciesNetworksDefineNetwork(customer: string, req: GoogleChromePolicyVersionsV1DefineNetworkRequest): Promise<GoogleChromePolicyVersionsV1DefineNetworkResponse>
[src]

Define a new network.

@param customer

Required. The customer who will own this new network.

§
customersPoliciesNetworksRemoveCertificate(customer: string, req: GoogleChromePolicyVersionsV1RemoveCertificateRequest): Promise<GoogleChromePolicyVersionsV1RemoveCertificateResponse>
[src]

Remove an existing certificate by guid.

@param customer

Required. The customer whose certificate will be removed.

§
customersPoliciesNetworksRemoveNetwork(customer: string, req: GoogleChromePolicyVersionsV1RemoveNetworkRequest): Promise<GoogleChromePolicyVersionsV1RemoveNetworkResponse>
[src]

Remove an existing network by guid.

@param customer

Required. The customer whose network will be removed.

§
customersPoliciesOrgunitsBatchInherit(customer: string, req: GoogleChromePolicyVersionsV1BatchInheritOrgUnitPoliciesRequest): Promise<GoogleProtobufEmpty>
[src]

Modify multiple policy values that are applied to a specific org unit so that they now inherit the value from a parent (if applicable). All targets must have the same target format. That is to say that they must point to the same target resource and must have the same keys specified in additionalTargetKeyNames, though the values for those keys may be different. On failure the request will return the error details as part of the google.rpc.Status.

@param customer

ID of the G Suite account or literal "my_customer" for the customer associated to the request.

§
customersPoliciesOrgunitsBatchModify(customer: string, req: GoogleChromePolicyVersionsV1BatchModifyOrgUnitPoliciesRequest): Promise<GoogleProtobufEmpty>
[src]

Modify multiple policy values that are applied to a specific org unit. All targets must have the same target format. That is to say that they must point to the same target resource and must have the same keys specified in additionalTargetKeyNames, though the values for those keys may be different. On failure the request will return the error details as part of the google.rpc.Status.

@param customer

ID of the G Suite account or literal "my_customer" for the customer associated to the request.

§
customersPoliciesResolve(customer: string, req: GoogleChromePolicyVersionsV1ResolveRequest): Promise<GoogleChromePolicyVersionsV1ResolveResponse>
[src]

Gets the resolved policy values for a list of policies that match a search query.

@param customer

ID of the G Suite account or literal "my_customer" for the customer associated to the request.

§
customersPolicySchemasGet(name: string): Promise<GoogleChromePolicyVersionsV1PolicySchema>
[src]

Get a specific policy schema for a customer by its resource name.

@param name

Required. The policy schema resource name to query.

§
customersPolicySchemasList(parent: string, opts?: CustomersPolicySchemasListOptions): Promise<GoogleChromePolicyVersionsV1ListPolicySchemasResponse>
[src]

Gets a list of policy schemas that match a specified filter value for a given customer.

@param parent

Required. The customer for which the listing request will apply.

§

Creates an enterprise file from the content provided by user. Returns a public download url for end user.

@param customer

Required. The customer for which the file upload will apply.