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.
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. }