diff --git a/docs/dyn/chromepolicy_v1.customers.policies.html b/docs/dyn/chromepolicy_v1.customers.policies.html index 0c0d89247d9..b0daed9d147 100644 --- a/docs/dyn/chromepolicy_v1.customers.policies.html +++ b/docs/dyn/chromepolicy_v1.customers.policies.html @@ -79,6 +79,11 @@

Instance Methods

Returns the groups Resource.

+

+ networks() +

+

Returns the networks Resource.

+

orgunits()

@@ -111,7 +116,7 @@

Method Details

{ # Request message for getting the resolved policy value for a specific target. "pageSize": 42, # The maximum number of policies to return, defaults to 100 and has a maximum of 1000. "pageToken": "A String", # The page token used to retrieve a specific page of the request. - "policySchemaFilter": "A String", # The schema filter to apply to the resolve request. Specify a schema name to view a particular schema, for example: chrome.users.ShowLogoutButton Wildcards are supported, but only in the leaf portion of the schema name. Wildcards cannot be used in namespace directly. Please read https://developers.google.com/chrome/policy/guides/policy-schemas for details on schema namepsaces. For example: Valid: "chrome.users.*", "chrome.users.apps.*", "chrome.printers.*" Invalid: "*", "*.users", "chrome.*", "chrome.*.apps.*" + "policySchemaFilter": "A String", # The schema filter to apply to the resolve request. Specify a schema name to view a particular schema, for example: chrome.users.ShowLogoutButton Wildcards are supported, but only in the leaf portion of the schema name. Wildcards cannot be used in namespace directly. Please read https://developers.google.com/chrome/policy/guides/policy-schemas for details on schema namespaces. For example: Valid: "chrome.users.*", "chrome.users.apps.*", "chrome.printers.*" Invalid: "*", "*.users", "chrome.*", "chrome.*.apps.*" "policyTargetKey": { # The key used to identify the target on which the policy will be applied. # Required. The key of the target resource on which the policies should be resolved. The target resource must point to an Org Unit. "additionalTargetKeys": { # Map containing the additional target key name and value pairs used to further identify the target of the policy. "a_key": "A String", diff --git a/docs/dyn/chromepolicy_v1.customers.policies.networks.html b/docs/dyn/chromepolicy_v1.customers.policies.networks.html new file mode 100644 index 00000000000..7d0b9f4001f --- /dev/null +++ b/docs/dyn/chromepolicy_v1.customers.policies.networks.html @@ -0,0 +1,239 @@ + + + +

Chrome Policy API . customers . policies . networks

+

Instance Methods

+

+ close()

+

Close httplib2 connections.

+

+ defineCertificate(customer, body=None, x__xgafv=None)

+

Creates a certificate at a specified OU for a customer.

+

+ defineNetwork(customer, body=None, x__xgafv=None)

+

Define a new network.

+

+ removeCertificate(customer, body=None, x__xgafv=None)

+

Remove an existing certificate by guid.

+

+ removeNetwork(customer, body=None, x__xgafv=None)

+

Remove an existing network by guid.

+

Method Details

+
+ close() +
Close httplib2 connections.
+
+ +
+ defineCertificate(customer, body=None, x__xgafv=None) +
Creates a certificate at a specified OU for a customer.
+
+Args:
+  customer: string, Required. The customer for which the certificate will apply. (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Request object for creating a certificate.
+  "ceritificateName": "A String", # Optional. The optional name of the certificate. If not specified, the certificate issuer will be used as the name.
+  "certificate": "A String", # Required. The raw contents of the .PEM, .CRT, or .CER file.
+  "settings": [ # Optional. Certificate settings within the chrome.networks.certificates namespace.
+    { # A network setting contains network configurations.
+      "policySchema": "A String", # The fully qualified name of the network setting.
+      "value": { # The value of the network setting.
+        "a_key": "", # Properties of the object.
+      },
+    },
+  ],
+  "targetResource": "A String", # Required. The target resource on which this certificate is applied. The following resources are supported: * Organizational Unit ("orgunits/{orgunit_id}")
+}
+
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Response object for creating a certificate.
+  "networkId": "A String", # The guid of the certificate created by the action.
+  "settings": [ # the affiliated settings of the certificate (NOT IMPLEMENTED)
+    { # A network setting contains network configurations.
+      "policySchema": "A String", # The fully qualified name of the network setting.
+      "value": { # The value of the network setting.
+        "a_key": "", # Properties of the object.
+      },
+    },
+  ],
+  "targetResource": "A String", # the resource at which the certificate is defined.
+}
+
+ +
+ defineNetwork(customer, body=None, x__xgafv=None) +
Define a new network.
+
+Args:
+  customer: string, Required. The customer who will own this new network. (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Request object for creating a new network.
+  "name": "A String", # Required. Name of the new created network.
+  "settings": [ # Required. Detailed network settings.
+    { # A network setting contains network configurations.
+      "policySchema": "A String", # The fully qualified name of the network setting.
+      "value": { # The value of the network setting.
+        "a_key": "", # Properties of the object.
+      },
+    },
+  ],
+  "targetResource": "A String", # Required. The target resource on which this new network will be defined. The following resources are supported: * Organizational Unit ("orgunits/{orgunit_id}")
+}
+
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Response object for creating a network.
+  "networkId": "A String", # Network ID of the new created network.
+  "settings": [ # Detailed network settings of the new created network
+    { # A network setting contains network configurations.
+      "policySchema": "A String", # The fully qualified name of the network setting.
+      "value": { # The value of the network setting.
+        "a_key": "", # Properties of the object.
+      },
+    },
+  ],
+  "targetResource": "A String", # The target resource on which this new network will be defined. The following resources are supported: * Organizational Unit ("orgunits/{orgunit_id}")
+}
+
+ +
+ removeCertificate(customer, body=None, x__xgafv=None) +
Remove an existing certificate by guid.
+
+Args:
+  customer: string, Required. The customer whose certificate will be removed. (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Request object for removing a certificate.
+  "networkId": "A String", # Required. The GUID of the certificate to remove.
+  "targetResource": "A String", # Required. The target resource on which this certificate will be removed. The following resources are supported: * Organizational Unit ("orgunits/{orgunit_id}")
+}
+
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Response object for removing a certificate.
+}
+
+ +
+ removeNetwork(customer, body=None, x__xgafv=None) +
Remove an existing network by guid.
+
+Args:
+  customer: string, Required. The customer whose network will be removed. (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Request object for removing a network
+  "networkId": "A String", # Required. The GUID of the network to remove.
+  "targetResource": "A String", # Required. The target resource on which this network will be removed. The following resources are supported: * Organizational Unit ("orgunits/{orgunit_id}")
+}
+
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Response object for removing a network.
+}
+
+ + \ No newline at end of file diff --git a/docs/dyn/chromepolicy_v1.customers.policySchemas.html b/docs/dyn/chromepolicy_v1.customers.policySchemas.html index c824ad5bfb1..9d851f8169b 100644 --- a/docs/dyn/chromepolicy_v1.customers.policySchemas.html +++ b/docs/dyn/chromepolicy_v1.customers.policySchemas.html @@ -106,7 +106,7 @@

Method Details

Returns: An object of the form: - { # Resource representing a policy schema. Next ID: 14 + { # Resource representing a policy schema. "accessRestrictions": [ # Output only. Specific access restrictions related to this policy. "A String", ], @@ -116,7 +116,7 @@

Method Details

"keyDescription": "A String", # Key description. }, ], - "categoryTitle": "A String", # Output only. Title of the category in which a setting belongs. + "categoryTitle": "A String", # Title of the category in which a setting belongs. "definition": { # Describes a complete .proto file. # Schema definition using proto descriptor. "enumType": [ { # Describes an enum type. @@ -172,6 +172,7 @@

Method Details

}, "fieldDescriptions": [ # Output only. Detailed description of each field that is part of the schema. { # Provides detailed information for a particular field that is part of a PolicySchema. + "defaultValue": "", # Output only. Client default if the policy is unset. "description": "A String", # Deprecated. Use name and field_description instead. The description for the field. "field": "A String", # Output only. The name of the field for associated with this description. "fieldDependencies": [ # Output only. Provides a list of fields and values. At least one of the fields must have the corresponding value in order for this field to be allowed to be set. @@ -190,7 +191,7 @@

Method Details

], "name": "A String", # Output only. The name of the field. "nestedFieldDescriptions": [ # Output only. Provides the description of the fields nested in this field, if the field is a message type that defines multiple fields. - # Object with schema name: GoogleChromePolicyV1PolicySchemaFieldDescription + # Object with schema name: GoogleChromePolicyVersionsV1PolicySchemaFieldDescription ], "requiredItems": [ # Output only. Provides a list of fields that are required to be set if this field has a certain value. { # The fields that will become required based on the value of this field. @@ -247,7 +248,7 @@

Method Details

Args: parent: string, Required. The customer for which the listing request will apply. (required) filter: string, The schema filter used to find a particular schema based on fields like its resource name, description and `additionalTargetKeyNames`. - pageSize: integer, The maximum number of policy schemas to return. + pageSize: integer, The maximum number of policy schemas to return, defaults to 100 and has a maximum of 1000. pageToken: string, The page token used to retrieve a specific page of the listing request. x__xgafv: string, V1 error format. Allowed values @@ -260,7 +261,7 @@

Method Details

{ # Response message for listing policy schemas that match a filter. "nextPageToken": "A String", # The page token used to get the next page of policy schemas. "policySchemas": [ # The list of policy schemas that match the query. - { # Resource representing a policy schema. Next ID: 14 + { # Resource representing a policy schema. "accessRestrictions": [ # Output only. Specific access restrictions related to this policy. "A String", ], @@ -270,7 +271,7 @@

Method Details

"keyDescription": "A String", # Key description. }, ], - "categoryTitle": "A String", # Output only. Title of the category in which a setting belongs. + "categoryTitle": "A String", # Title of the category in which a setting belongs. "definition": { # Describes a complete .proto file. # Schema definition using proto descriptor. "enumType": [ { # Describes an enum type. @@ -326,6 +327,7 @@

Method Details

}, "fieldDescriptions": [ # Output only. Detailed description of each field that is part of the schema. { # Provides detailed information for a particular field that is part of a PolicySchema. + "defaultValue": "", # Output only. Client default if the policy is unset. "description": "A String", # Deprecated. Use name and field_description instead. The description for the field. "field": "A String", # Output only. The name of the field for associated with this description. "fieldDependencies": [ # Output only. Provides a list of fields and values. At least one of the fields must have the corresponding value in order for this field to be allowed to be set. @@ -344,7 +346,7 @@

Method Details

], "name": "A String", # Output only. The name of the field. "nestedFieldDescriptions": [ # Output only. Provides the description of the fields nested in this field, if the field is a message type that defines multiple fields. - # Object with schema name: GoogleChromePolicyV1PolicySchemaFieldDescription + # Object with schema name: GoogleChromePolicyVersionsV1PolicySchemaFieldDescription ], "requiredItems": [ # Output only. Provides a list of fields that are required to be set if this field has a certain value. { # The fields that will become required based on the value of this field. diff --git a/docs/dyn/chromepolicy_v1.media.html b/docs/dyn/chromepolicy_v1.media.html index f1d21bf8548..b5714aed4c9 100644 --- a/docs/dyn/chromepolicy_v1.media.html +++ b/docs/dyn/chromepolicy_v1.media.html @@ -95,7 +95,7 @@

Method Details

body: object, The request body. The object takes the form of: -{ # Request message for uploading a file for a policy. Next ID: 5 +{ # Request message for uploading a file for a policy. "policyField": "A String", # Required. The fully qualified policy schema and field name this file is uploaded for. This information will be used to validate the content type of the file. } @@ -109,7 +109,7 @@

Method Details

Returns: An object of the form: - { # Response message for downloading an uploaded file. Next ID: 2 + { # Response message for downloading an uploaded file. "downloadUri": "A String", # The uri for end user to download the file. } diff --git a/googleapiclient/discovery_cache/documents/chromepolicy.v1.json b/googleapiclient/discovery_cache/documents/chromepolicy.v1.json index 14e2e30d1de..5baa6d95bb4 100644 --- a/googleapiclient/discovery_cache/documents/chromepolicy.v1.json +++ b/googleapiclient/discovery_cache/documents/chromepolicy.v1.json @@ -260,6 +260,122 @@ } } }, + "networks": { + "methods": { + "defineCertificate": { + "description": "Creates a certificate at a specified OU for a customer.", + "flatPath": "v1/customers/{customersId}/policies/networks:defineCertificate", + "httpMethod": "POST", + "id": "chromepolicy.customers.policies.networks.defineCertificate", + "parameterOrder": [ + "customer" + ], + "parameters": { + "customer": { + "description": "Required. The customer for which the certificate will apply.", + "location": "path", + "pattern": "^customers/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+customer}/policies/networks:defineCertificate", + "request": { + "$ref": "GoogleChromePolicyV1DefineCertificateRequest" + }, + "response": { + "$ref": "GoogleChromePolicyV1DefineCertificateResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/chrome.management.policy" + ] + }, + "defineNetwork": { + "description": "Define a new network.", + "flatPath": "v1/customers/{customersId}/policies/networks:defineNetwork", + "httpMethod": "POST", + "id": "chromepolicy.customers.policies.networks.defineNetwork", + "parameterOrder": [ + "customer" + ], + "parameters": { + "customer": { + "description": "Required. The customer who will own this new network.", + "location": "path", + "pattern": "^customers/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+customer}/policies/networks:defineNetwork", + "request": { + "$ref": "GoogleChromePolicyV1DefineNetworkRequest" + }, + "response": { + "$ref": "GoogleChromePolicyV1DefineNetworkResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/chrome.management.policy" + ] + }, + "removeCertificate": { + "description": "Remove an existing certificate by guid.", + "flatPath": "v1/customers/{customersId}/policies/networks:removeCertificate", + "httpMethod": "POST", + "id": "chromepolicy.customers.policies.networks.removeCertificate", + "parameterOrder": [ + "customer" + ], + "parameters": { + "customer": { + "description": "Required. The customer whose certificate will be removed.", + "location": "path", + "pattern": "^customers/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+customer}/policies/networks:removeCertificate", + "request": { + "$ref": "GoogleChromePolicyV1RemoveCertificateRequest" + }, + "response": { + "$ref": "GoogleChromePolicyV1RemoveCertificateResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/chrome.management.policy" + ] + }, + "removeNetwork": { + "description": "Remove an existing network by guid.", + "flatPath": "v1/customers/{customersId}/policies/networks:removeNetwork", + "httpMethod": "POST", + "id": "chromepolicy.customers.policies.networks.removeNetwork", + "parameterOrder": [ + "customer" + ], + "parameters": { + "customer": { + "description": "Required. The customer whose network will be removed.", + "location": "path", + "pattern": "^customers/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+customer}/policies/networks:removeNetwork", + "request": { + "$ref": "GoogleChromePolicyV1RemoveNetworkRequest" + }, + "response": { + "$ref": "GoogleChromePolicyV1RemoveNetworkResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/chrome.management.policy" + ] + } + } + }, "orgunits": { "methods": { "batchInherit": { @@ -343,7 +459,7 @@ }, "path": "v1/{+name}", "response": { - "$ref": "GoogleChromePolicyV1PolicySchema" + "$ref": "GoogleChromePolicyVersionsV1PolicySchema" }, "scopes": [ "https://www.googleapis.com/auth/chrome.management.policy", @@ -365,7 +481,7 @@ "type": "string" }, "pageSize": { - "description": "The maximum number of policy schemas to return.", + "description": "The maximum number of policy schemas to return, defaults to 100 and has a maximum of 1000.", "format": "int32", "location": "query", "type": "integer" @@ -385,7 +501,7 @@ }, "path": "v1/{+parent}/policySchemas", "response": { - "$ref": "GoogleChromePolicyV1ListPolicySchemasResponse" + "$ref": "GoogleChromePolicyVersionsV1ListPolicySchemasResponse" }, "scopes": [ "https://www.googleapis.com/auth/chrome.management.policy", @@ -441,7 +557,7 @@ } } }, - "revision": "20220919", + "revision": "20221001", "rootUrl": "https://chromepolicy.googleapis.com/", "schemas": { "ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle": { @@ -476,21 +592,6 @@ }, "type": "object" }, - "GoogleChromePolicyV1AdditionalTargetKeyName": { - "description": "Additional key names that will be used to identify the target of the policy value.", - "id": "GoogleChromePolicyV1AdditionalTargetKeyName", - "properties": { - "key": { - "description": "Key name.", - "type": "string" - }, - "keyDescription": { - "description": "Key description.", - "type": "string" - } - }, - "type": "object" - }, "GoogleChromePolicyV1BatchDeleteGroupPoliciesRequest": { "description": "Request message for specifying that multiple policy values will be deleted.", "id": "GoogleChromePolicyV1BatchDeleteGroupPoliciesRequest", @@ -547,6 +648,98 @@ }, "type": "object" }, + "GoogleChromePolicyV1DefineCertificateRequest": { + "description": "Request object for creating a certificate.", + "id": "GoogleChromePolicyV1DefineCertificateRequest", + "properties": { + "ceritificateName": { + "description": "Optional. The optional name of the certificate. If not specified, the certificate issuer will be used as the name.", + "type": "string" + }, + "certificate": { + "description": "Required. The raw contents of the .PEM, .CRT, or .CER file.", + "type": "string" + }, + "settings": { + "description": "Optional. Certificate settings within the chrome.networks.certificates namespace.", + "items": { + "$ref": "GoogleChromePolicyV1NetworkSetting" + }, + "type": "array" + }, + "targetResource": { + "description": "Required. The target resource on which this certificate is applied. The following resources are supported: * Organizational Unit (\"orgunits/{orgunit_id}\")", + "type": "string" + } + }, + "type": "object" + }, + "GoogleChromePolicyV1DefineCertificateResponse": { + "description": "Response object for creating a certificate.", + "id": "GoogleChromePolicyV1DefineCertificateResponse", + "properties": { + "networkId": { + "description": "The guid of the certificate created by the action.", + "type": "string" + }, + "settings": { + "description": "the affiliated settings of the certificate (NOT IMPLEMENTED)", + "items": { + "$ref": "GoogleChromePolicyV1NetworkSetting" + }, + "type": "array" + }, + "targetResource": { + "description": "the resource at which the certificate is defined.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleChromePolicyV1DefineNetworkRequest": { + "description": "Request object for creating a new network.", + "id": "GoogleChromePolicyV1DefineNetworkRequest", + "properties": { + "name": { + "description": "Required. Name of the new created network.", + "type": "string" + }, + "settings": { + "description": "Required. Detailed network settings.", + "items": { + "$ref": "GoogleChromePolicyV1NetworkSetting" + }, + "type": "array" + }, + "targetResource": { + "description": "Required. The target resource on which this new network will be defined. The following resources are supported: * Organizational Unit (\"orgunits/{orgunit_id}\")", + "type": "string" + } + }, + "type": "object" + }, + "GoogleChromePolicyV1DefineNetworkResponse": { + "description": "Response object for creating a network.", + "id": "GoogleChromePolicyV1DefineNetworkResponse", + "properties": { + "networkId": { + "description": "Network ID of the new created network.", + "type": "string" + }, + "settings": { + "description": "Detailed network settings of the new created network", + "items": { + "$ref": "GoogleChromePolicyV1NetworkSetting" + }, + "type": "array" + }, + "targetResource": { + "description": "The target resource on which this new network will be defined. The following resources are supported: * Organizational Unit (\"orgunits/{orgunit_id}\")", + "type": "string" + } + }, + "type": "object" + }, "GoogleChromePolicyV1DeleteGroupPolicyRequest": { "description": "Request parameters for deleting the policy value of a specific group target.", "id": "GoogleChromePolicyV1DeleteGroupPolicyRequest", @@ -617,24 +810,6 @@ }, "type": "object" }, - "GoogleChromePolicyV1ListPolicySchemasResponse": { - "description": "Response message for listing policy schemas that match a filter.", - "id": "GoogleChromePolicyV1ListPolicySchemasResponse", - "properties": { - "nextPageToken": { - "description": "The page token used to get the next page of policy schemas.", - "type": "string" - }, - "policySchemas": { - "description": "The list of policy schemas that match the query.", - "items": { - "$ref": "GoogleChromePolicyV1PolicySchema" - }, - "type": "array" - } - }, - "type": "object" - }, "GoogleChromePolicyV1ModifyGroupPolicyRequest": { "description": "Request parameters for modifying a policy value for a specific group target.", "id": "GoogleChromePolicyV1ModifyGroupPolicyRequest", @@ -675,9 +850,248 @@ }, "type": "object" }, - "GoogleChromePolicyV1PolicySchema": { - "description": "Resource representing a policy schema. Next ID: 14", - "id": "GoogleChromePolicyV1PolicySchema", + "GoogleChromePolicyV1NetworkSetting": { + "description": "A network setting contains network configurations.", + "id": "GoogleChromePolicyV1NetworkSetting", + "properties": { + "policySchema": { + "description": "The fully qualified name of the network setting.", + "type": "string" + }, + "value": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "The value of the network setting.", + "type": "object" + } + }, + "type": "object" + }, + "GoogleChromePolicyV1PolicyModificationFieldError": { + "description": "Error information for a modification request of a specific field on a specific policy.", + "id": "GoogleChromePolicyV1PolicyModificationFieldError", + "properties": { + "error": { + "description": "Output only. The error message related to the field.", + "readOnly": true, + "type": "string" + }, + "field": { + "description": "Output only. The name of the field with the error.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleChromePolicyV1PolicyTargetKey": { + "description": "The key used to identify the target on which the policy will be applied.", + "id": "GoogleChromePolicyV1PolicyTargetKey", + "properties": { + "additionalTargetKeys": { + "additionalProperties": { + "type": "string" + }, + "description": "Map containing the additional target key name and value pairs used to further identify the target of the policy.", + "type": "object" + }, + "targetResource": { + "description": "The target resource on which this policy is applied. The following resources are supported: * Organizational Unit (\"orgunits/{orgunit_id}\") * Group (\"groups/{group_id}\")", + "type": "string" + } + }, + "type": "object" + }, + "GoogleChromePolicyV1PolicyValue": { + "description": "A particular value for a policy managed by the service.", + "id": "GoogleChromePolicyV1PolicyValue", + "properties": { + "policySchema": { + "description": "The fully qualified name of the policy schema associated with this policy.", + "type": "string" + }, + "value": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "The value of the policy that is compatible with the schema that it is associated with.", + "type": "object" + } + }, + "type": "object" + }, + "GoogleChromePolicyV1RemoveCertificateRequest": { + "description": "Request object for removing a certificate.", + "id": "GoogleChromePolicyV1RemoveCertificateRequest", + "properties": { + "networkId": { + "description": "Required. The GUID of the certificate to remove.", + "type": "string" + }, + "targetResource": { + "description": "Required. The target resource on which this certificate will be removed. The following resources are supported: * Organizational Unit (\"orgunits/{orgunit_id}\")", + "type": "string" + } + }, + "type": "object" + }, + "GoogleChromePolicyV1RemoveCertificateResponse": { + "description": "Response object for removing a certificate.", + "id": "GoogleChromePolicyV1RemoveCertificateResponse", + "properties": {}, + "type": "object" + }, + "GoogleChromePolicyV1RemoveNetworkRequest": { + "description": "Request object for removing a network", + "id": "GoogleChromePolicyV1RemoveNetworkRequest", + "properties": { + "networkId": { + "description": "Required. The GUID of the network to remove.", + "type": "string" + }, + "targetResource": { + "description": "Required. The target resource on which this network will be removed. The following resources are supported: * Organizational Unit (\"orgunits/{orgunit_id}\")", + "type": "string" + } + }, + "type": "object" + }, + "GoogleChromePolicyV1RemoveNetworkResponse": { + "description": "Response object for removing a network.", + "id": "GoogleChromePolicyV1RemoveNetworkResponse", + "properties": {}, + "type": "object" + }, + "GoogleChromePolicyV1ResolveRequest": { + "description": "Request message for getting the resolved policy value for a specific target.", + "id": "GoogleChromePolicyV1ResolveRequest", + "properties": { + "pageSize": { + "description": "The maximum number of policies to return, defaults to 100 and has a maximum of 1000.", + "format": "int32", + "type": "integer" + }, + "pageToken": { + "description": "The page token used to retrieve a specific page of the request.", + "type": "string" + }, + "policySchemaFilter": { + "description": "The schema filter to apply to the resolve request. Specify a schema name to view a particular schema, for example: chrome.users.ShowLogoutButton Wildcards are supported, but only in the leaf portion of the schema name. Wildcards cannot be used in namespace directly. Please read https://developers.google.com/chrome/policy/guides/policy-schemas for details on schema namespaces. For example: Valid: \"chrome.users.*\", \"chrome.users.apps.*\", \"chrome.printers.*\" Invalid: \"*\", \"*.users\", \"chrome.*\", \"chrome.*.apps.*\"", + "type": "string" + }, + "policyTargetKey": { + "$ref": "GoogleChromePolicyV1PolicyTargetKey", + "description": "Required. The key of the target resource on which the policies should be resolved. The target resource must point to an Org Unit." + } + }, + "type": "object" + }, + "GoogleChromePolicyV1ResolveResponse": { + "description": "Response message for getting the resolved policy value for a specific target.", + "id": "GoogleChromePolicyV1ResolveResponse", + "properties": { + "nextPageToken": { + "description": "The page token used to get the next set of resolved policies found by the request.", + "type": "string" + }, + "resolvedPolicies": { + "description": "The list of resolved policies found by the resolve request.", + "items": { + "$ref": "GoogleChromePolicyV1ResolvedPolicy" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleChromePolicyV1ResolvedPolicy": { + "description": "The resolved value of a policy for a given target.", + "id": "GoogleChromePolicyV1ResolvedPolicy", + "properties": { + "addedSourceKey": { + "$ref": "GoogleChromePolicyV1PolicyTargetKey", + "description": "Output only. The added source key establishes at which level an entity was explicitly added for management. This is useful for certain type of policies that are only applied if they are explicitly added for management. For example: apps and networks. An entity can only be deleted from management in an Organizational Unit that it was explicitly added to. If this is not present it means that the policy is managed without the need to explicitly add an entity, for example: standard user or device policies.", + "readOnly": true + }, + "sourceKey": { + "$ref": "GoogleChromePolicyV1PolicyTargetKey", + "description": "Output only. The source resource from which this policy value is obtained. May be the same as `targetKey` if the policy is directly modified on the target, otherwise it would be another resource from which the policy gets its value (if applicable). If not present, the source is the default value for the customer.", + "readOnly": true + }, + "targetKey": { + "$ref": "GoogleChromePolicyV1PolicyTargetKey", + "description": "Output only. The target resource for which the resolved policy value applies.", + "readOnly": true + }, + "value": { + "$ref": "GoogleChromePolicyV1PolicyValue", + "description": "Output only. The resolved value of the policy.", + "readOnly": true + } + }, + "type": "object" + }, + "GoogleChromePolicyV1UpdateGroupPriorityOrderingRequest": { + "description": "Request message for updating the group priority ordering of an app.", + "id": "GoogleChromePolicyV1UpdateGroupPriorityOrderingRequest", + "properties": { + "groupIds": { + "description": "Required. The group IDs, in desired priority ordering.", + "items": { + "type": "string" + }, + "type": "array" + }, + "policyNamespace": { + "description": "Required. The namespace of the policy type for the request.", + "type": "string" + }, + "policyTargetKey": { + "$ref": "GoogleChromePolicyV1PolicyTargetKey", + "description": "Required. The key of the target for which we want to update the group priority ordering. The target resource must point to an app." + } + }, + "type": "object" + }, + "GoogleChromePolicyVersionsV1AdditionalTargetKeyName": { + "description": "Additional key names that will be used to identify the target of the policy value.", + "id": "GoogleChromePolicyVersionsV1AdditionalTargetKeyName", + "properties": { + "key": { + "description": "Key name.", + "type": "string" + }, + "keyDescription": { + "description": "Key description.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleChromePolicyVersionsV1ListPolicySchemasResponse": { + "description": "Response message for listing policy schemas that match a filter.", + "id": "GoogleChromePolicyVersionsV1ListPolicySchemasResponse", + "properties": { + "nextPageToken": { + "description": "The page token used to get the next page of policy schemas.", + "type": "string" + }, + "policySchemas": { + "description": "The list of policy schemas that match the query.", + "items": { + "$ref": "GoogleChromePolicyVersionsV1PolicySchema" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleChromePolicyVersionsV1PolicySchema": { + "description": "Resource representing a policy schema.", + "id": "GoogleChromePolicyVersionsV1PolicySchema", "properties": { "accessRestrictions": { "description": "Output only. Specific access restrictions related to this policy.", @@ -690,14 +1104,13 @@ "additionalTargetKeyNames": { "description": "Output only. Additional key names that will be used to identify the target of the policy value. When specifying a `policyTargetKey`, each of the additional keys specified here will have to be included in the `additionalTargetKeys` map.", "items": { - "$ref": "GoogleChromePolicyV1AdditionalTargetKeyName" + "$ref": "GoogleChromePolicyVersionsV1AdditionalTargetKeyName" }, "readOnly": true, "type": "array" }, "categoryTitle": { - "description": "Output only. Title of the category in which a setting belongs.", - "readOnly": true, + "description": "Title of the category in which a setting belongs.", "type": "string" }, "definition": { @@ -707,7 +1120,7 @@ "fieldDescriptions": { "description": "Output only. Detailed description of each field that is part of the schema.", "items": { - "$ref": "GoogleChromePolicyV1PolicySchemaFieldDescription" + "$ref": "GoogleChromePolicyVersionsV1PolicySchemaFieldDescription" }, "readOnly": true, "type": "array" @@ -719,7 +1132,7 @@ "notices": { "description": "Output only. Special notice messages related to setting certain values in certain fields in the schema.", "items": { - "$ref": "GoogleChromePolicyV1PolicySchemaNoticeDescription" + "$ref": "GoogleChromePolicyVersionsV1PolicySchemaNoticeDescription" }, "readOnly": true, "type": "array" @@ -769,9 +1182,9 @@ }, "type": "object" }, - "GoogleChromePolicyV1PolicySchemaFieldDependencies": { + "GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies": { "description": "The field and the value it must have for another field to be allowed to be set.", - "id": "GoogleChromePolicyV1PolicySchemaFieldDependencies", + "id": "GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies", "properties": { "sourceField": { "description": "The source field which this field depends on.", @@ -784,10 +1197,15 @@ }, "type": "object" }, - "GoogleChromePolicyV1PolicySchemaFieldDescription": { + "GoogleChromePolicyVersionsV1PolicySchemaFieldDescription": { "description": "Provides detailed information for a particular field that is part of a PolicySchema.", - "id": "GoogleChromePolicyV1PolicySchemaFieldDescription", + "id": "GoogleChromePolicyVersionsV1PolicySchemaFieldDescription", "properties": { + "defaultValue": { + "description": "Output only. Client default if the policy is unset.", + "readOnly": true, + "type": "any" + }, "description": { "description": "Deprecated. Use name and field_description instead. The description for the field.", "type": "string" @@ -800,7 +1218,7 @@ "fieldDependencies": { "description": "Output only. Provides a list of fields and values. At least one of the fields must have the corresponding value in order for this field to be allowed to be set.", "items": { - "$ref": "GoogleChromePolicyV1PolicySchemaFieldDependencies" + "$ref": "GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies" }, "readOnly": true, "type": "array" @@ -818,7 +1236,7 @@ "knownValueDescriptions": { "description": "Output only. If the field has a set of known values, this field will provide a description for these values.", "items": { - "$ref": "GoogleChromePolicyV1PolicySchemaFieldKnownValueDescription" + "$ref": "GoogleChromePolicyVersionsV1PolicySchemaFieldKnownValueDescription" }, "readOnly": true, "type": "array" @@ -831,7 +1249,7 @@ "nestedFieldDescriptions": { "description": "Output only. Provides the description of the fields nested in this field, if the field is a message type that defines multiple fields.", "items": { - "$ref": "GoogleChromePolicyV1PolicySchemaFieldDescription" + "$ref": "GoogleChromePolicyVersionsV1PolicySchemaFieldDescription" }, "readOnly": true, "type": "array" @@ -839,7 +1257,7 @@ "requiredItems": { "description": "Output only. Provides a list of fields that are required to be set if this field has a certain value.", "items": { - "$ref": "GoogleChromePolicyV1PolicySchemaRequiredItems" + "$ref": "GoogleChromePolicyVersionsV1PolicySchemaRequiredItems" }, "readOnly": true, "type": "array" @@ -847,9 +1265,9 @@ }, "type": "object" }, - "GoogleChromePolicyV1PolicySchemaFieldKnownValueDescription": { + "GoogleChromePolicyVersionsV1PolicySchemaFieldKnownValueDescription": { "description": "Provides detailed information about a known value that is allowed for a particular field in a PolicySchema.", - "id": "GoogleChromePolicyV1PolicySchemaFieldKnownValueDescription", + "id": "GoogleChromePolicyVersionsV1PolicySchemaFieldKnownValueDescription", "properties": { "description": { "description": "Output only. Additional description for this value.", @@ -864,9 +1282,9 @@ }, "type": "object" }, - "GoogleChromePolicyV1PolicySchemaNoticeDescription": { + "GoogleChromePolicyVersionsV1PolicySchemaNoticeDescription": { "description": "Provides special notice messages related to a particular value in a field that is part of a PolicySchema.", - "id": "GoogleChromePolicyV1PolicySchemaNoticeDescription", + "id": "GoogleChromePolicyVersionsV1PolicySchemaNoticeDescription", "properties": { "acknowledgementRequired": { "description": "Output only. Whether the user needs to acknowledge the notice message before the value can be set.", @@ -891,9 +1309,9 @@ }, "type": "object" }, - "GoogleChromePolicyV1PolicySchemaRequiredItems": { + "GoogleChromePolicyVersionsV1PolicySchemaRequiredItems": { "description": "The fields that will become required based on the value of this field.", - "id": "GoogleChromePolicyV1PolicySchemaRequiredItems", + "id": "GoogleChromePolicyVersionsV1PolicySchemaRequiredItems", "properties": { "fieldConditions": { "description": "The value(s) of the field that provoke required field enforcement. An empty field_conditions implies that any value assigned to this field will provoke required field enforcement.", @@ -912,136 +1330,8 @@ }, "type": "object" }, - "GoogleChromePolicyV1PolicyTargetKey": { - "description": "The key used to identify the target on which the policy will be applied.", - "id": "GoogleChromePolicyV1PolicyTargetKey", - "properties": { - "additionalTargetKeys": { - "additionalProperties": { - "type": "string" - }, - "description": "Map containing the additional target key name and value pairs used to further identify the target of the policy.", - "type": "object" - }, - "targetResource": { - "description": "The target resource on which this policy is applied. The following resources are supported: * Organizational Unit (\"orgunits/{orgunit_id}\") * Group (\"groups/{group_id}\")", - "type": "string" - } - }, - "type": "object" - }, - "GoogleChromePolicyV1PolicyValue": { - "description": "A particular value for a policy managed by the service.", - "id": "GoogleChromePolicyV1PolicyValue", - "properties": { - "policySchema": { - "description": "The fully qualified name of the policy schema associated with this policy.", - "type": "string" - }, - "value": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "The value of the policy that is compatible with the schema that it is associated with.", - "type": "object" - } - }, - "type": "object" - }, - "GoogleChromePolicyV1ResolveRequest": { - "description": "Request message for getting the resolved policy value for a specific target.", - "id": "GoogleChromePolicyV1ResolveRequest", - "properties": { - "pageSize": { - "description": "The maximum number of policies to return, defaults to 100 and has a maximum of 1000.", - "format": "int32", - "type": "integer" - }, - "pageToken": { - "description": "The page token used to retrieve a specific page of the request.", - "type": "string" - }, - "policySchemaFilter": { - "description": "The schema filter to apply to the resolve request. Specify a schema name to view a particular schema, for example: chrome.users.ShowLogoutButton Wildcards are supported, but only in the leaf portion of the schema name. Wildcards cannot be used in namespace directly. Please read https://developers.google.com/chrome/policy/guides/policy-schemas for details on schema namepsaces. For example: Valid: \"chrome.users.*\", \"chrome.users.apps.*\", \"chrome.printers.*\" Invalid: \"*\", \"*.users\", \"chrome.*\", \"chrome.*.apps.*\"", - "type": "string" - }, - "policyTargetKey": { - "$ref": "GoogleChromePolicyV1PolicyTargetKey", - "description": "Required. The key of the target resource on which the policies should be resolved. The target resource must point to an Org Unit." - } - }, - "type": "object" - }, - "GoogleChromePolicyV1ResolveResponse": { - "description": "Response message for getting the resolved policy value for a specific target.", - "id": "GoogleChromePolicyV1ResolveResponse", - "properties": { - "nextPageToken": { - "description": "The page token used to get the next set of resolved policies found by the request.", - "type": "string" - }, - "resolvedPolicies": { - "description": "The list of resolved policies found by the resolve request.", - "items": { - "$ref": "GoogleChromePolicyV1ResolvedPolicy" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleChromePolicyV1ResolvedPolicy": { - "description": "The resolved value of a policy for a given target.", - "id": "GoogleChromePolicyV1ResolvedPolicy", - "properties": { - "addedSourceKey": { - "$ref": "GoogleChromePolicyV1PolicyTargetKey", - "description": "Output only. The added source key establishes at which level an entity was explicitly added for management. This is useful for certain type of policies that are only applied if they are explicitly added for management. For example: apps and networks. An entity can only be deleted from management in an Organizational Unit that it was explicitly added to. If this is not present it means that the policy is managed without the need to explicitly add an entity, for example: standard user or device policies.", - "readOnly": true - }, - "sourceKey": { - "$ref": "GoogleChromePolicyV1PolicyTargetKey", - "description": "Output only. The source resource from which this policy value is obtained. May be the same as `targetKey` if the policy is directly modified on the target, otherwise it would be another resource from which the policy gets its value (if applicable). If not present, the source is the default value for the customer.", - "readOnly": true - }, - "targetKey": { - "$ref": "GoogleChromePolicyV1PolicyTargetKey", - "description": "Output only. The target resource for which the resolved policy value applies.", - "readOnly": true - }, - "value": { - "$ref": "GoogleChromePolicyV1PolicyValue", - "description": "Output only. The resolved value of the policy.", - "readOnly": true - } - }, - "type": "object" - }, - "GoogleChromePolicyV1UpdateGroupPriorityOrderingRequest": { - "description": "Request message for updating the group priority ordering of an app.", - "id": "GoogleChromePolicyV1UpdateGroupPriorityOrderingRequest", - "properties": { - "groupIds": { - "description": "Required. The group IDs, in desired priority ordering.", - "items": { - "type": "string" - }, - "type": "array" - }, - "policyNamespace": { - "description": "Required. The namespace of the policy type for the request.", - "type": "string" - }, - "policyTargetKey": { - "$ref": "GoogleChromePolicyV1PolicyTargetKey", - "description": "Required. The key of the target for which we want to update the group priority ordering. The target resource must point to an app." - } - }, - "type": "object" - }, "GoogleChromePolicyVersionsV1UploadPolicyFileRequest": { - "description": "Request message for uploading a file for a policy. Next ID: 5", + "description": "Request message for uploading a file for a policy.", "id": "GoogleChromePolicyVersionsV1UploadPolicyFileRequest", "properties": { "policyField": { @@ -1052,7 +1342,7 @@ "type": "object" }, "GoogleChromePolicyVersionsV1UploadPolicyFileResponse": { - "description": "Response message for downloading an uploaded file. Next ID: 2", + "description": "Response message for downloading an uploaded file.", "id": "GoogleChromePolicyVersionsV1UploadPolicyFileResponse", "properties": { "downloadUri": {