create(project=*, body=None, clientOperationId=None)
delete(project=*, policy=*, clientOperationId=None)
get(project=*, policy=*, clientOperationId=None)
list(project=*, pageToken=None, maxResults=None)
list_next(previous_request=*, previous_response=*)
Retrieves the next page of results.
patch(project=*, policy=*, body=None, clientOperationId=None)
update(project=*, policy=*, body=None, clientOperationId=None)
create(project=*, body=None, clientOperationId=None)
Args: project: string, A parameter (required) body: object, The request body. The object takes the form of: { "alternativeNameServerConfig": { "kind": "dns#policyAlternativeNameServerConfig", # Identifies what kind of resource this is. Value: the fixed string "dns#policyAlternativeNameServerConfig". "targetNameServers": [ { "ipv4Address": "A String", "forwardingPath": "A String", "kind": "dns#policyAlternativeNameServerConfigTargetNameServer", # Identifies what kind of resource this is. Value: the fixed string "dns#policyAlternativeNameServerConfigTargetNameServer". }, ], }, "kind": "dns#policy", # Identifies what kind of resource this is. Value: the fixed string "dns#policy". "description": "A String", "enableInboundForwarding": True or False, "enableLogging": True or False, "networks": [ { "kind": "dns#policyNetwork", # Identifies what kind of resource this is. Value: the fixed string "dns#policyNetwork". "networkUrl": "A String", }, ], "id": "A String", "name": "A String", } clientOperationId: string, A parameter Returns: An object of the form: { "alternativeNameServerConfig": { "kind": "dns#policyAlternativeNameServerConfig", # Identifies what kind of resource this is. Value: the fixed string "dns#policyAlternativeNameServerConfig". "targetNameServers": [ { "ipv4Address": "A String", "forwardingPath": "A String", "kind": "dns#policyAlternativeNameServerConfigTargetNameServer", # Identifies what kind of resource this is. Value: the fixed string "dns#policyAlternativeNameServerConfigTargetNameServer". }, ], }, "kind": "dns#policy", # Identifies what kind of resource this is. Value: the fixed string "dns#policy". "description": "A String", "enableInboundForwarding": True or False, "enableLogging": True or False, "networks": [ { "kind": "dns#policyNetwork", # Identifies what kind of resource this is. Value: the fixed string "dns#policyNetwork". "networkUrl": "A String", }, ], "id": "A String", "name": "A String", }
delete(project=*, policy=*, clientOperationId=None)
Args: project: string, A parameter (required) policy: string, A parameter (required) clientOperationId: string, A parameter
get(project=*, policy=*, clientOperationId=None)
Args: project: string, A parameter (required) policy: string, A parameter (required) clientOperationId: string, A parameter Returns: An object of the form: { "alternativeNameServerConfig": { "kind": "dns#policyAlternativeNameServerConfig", # Identifies what kind of resource this is. Value: the fixed string "dns#policyAlternativeNameServerConfig". "targetNameServers": [ { "ipv4Address": "A String", "forwardingPath": "A String", "kind": "dns#policyAlternativeNameServerConfigTargetNameServer", # Identifies what kind of resource this is. Value: the fixed string "dns#policyAlternativeNameServerConfigTargetNameServer". }, ], }, "kind": "dns#policy", # Identifies what kind of resource this is. Value: the fixed string "dns#policy". "description": "A String", "enableInboundForwarding": True or False, "enableLogging": True or False, "networks": [ { "kind": "dns#policyNetwork", # Identifies what kind of resource this is. Value: the fixed string "dns#policyNetwork". "networkUrl": "A String", }, ], "id": "A String", "name": "A String", }
list(project=*, pageToken=None, maxResults=None)
Args: project: string, A parameter (required) pageToken: string, A parameter maxResults: integer, A parameter Returns: An object of the form: { "nextPageToken": "A String", "header": { "operationId": "A String", }, "kind": "dns#policiesListResponse", # Type of resource. "policies": [ { "alternativeNameServerConfig": { "kind": "dns#policyAlternativeNameServerConfig", # Identifies what kind of resource this is. Value: the fixed string "dns#policyAlternativeNameServerConfig". "targetNameServers": [ { "ipv4Address": "A String", "forwardingPath": "A String", "kind": "dns#policyAlternativeNameServerConfigTargetNameServer", # Identifies what kind of resource this is. Value: the fixed string "dns#policyAlternativeNameServerConfigTargetNameServer". }, ], }, "kind": "dns#policy", # Identifies what kind of resource this is. Value: the fixed string "dns#policy". "description": "A String", "enableInboundForwarding": True or False, "enableLogging": True or False, "networks": [ { "kind": "dns#policyNetwork", # Identifies what kind of resource this is. Value: the fixed string "dns#policyNetwork". "networkUrl": "A String", }, ], "id": "A String", "name": "A String", }, ], }
list_next(previous_request=*, previous_response=*)
Retrieves the next page of results. Args: previous_request: The request for the previous page. (required) previous_response: The response from the request for the previous page. (required) Returns: A request object that you can call 'execute()' on to request the next page. Returns None if there are no more items in the collection.
patch(project=*, policy=*, body=None, clientOperationId=None)
Args: project: string, A parameter (required) policy: string, A parameter (required) body: object, The request body. The object takes the form of: { "alternativeNameServerConfig": { "kind": "dns#policyAlternativeNameServerConfig", # Identifies what kind of resource this is. Value: the fixed string "dns#policyAlternativeNameServerConfig". "targetNameServers": [ { "ipv4Address": "A String", "forwardingPath": "A String", "kind": "dns#policyAlternativeNameServerConfigTargetNameServer", # Identifies what kind of resource this is. Value: the fixed string "dns#policyAlternativeNameServerConfigTargetNameServer". }, ], }, "kind": "dns#policy", # Identifies what kind of resource this is. Value: the fixed string "dns#policy". "description": "A String", "enableInboundForwarding": True or False, "enableLogging": True or False, "networks": [ { "kind": "dns#policyNetwork", # Identifies what kind of resource this is. Value: the fixed string "dns#policyNetwork". "networkUrl": "A String", }, ], "id": "A String", "name": "A String", } clientOperationId: string, A parameter Returns: An object of the form: { "policy": { "alternativeNameServerConfig": { "kind": "dns#policyAlternativeNameServerConfig", # Identifies what kind of resource this is. Value: the fixed string "dns#policyAlternativeNameServerConfig". "targetNameServers": [ { "ipv4Address": "A String", "forwardingPath": "A String", "kind": "dns#policyAlternativeNameServerConfigTargetNameServer", # Identifies what kind of resource this is. Value: the fixed string "dns#policyAlternativeNameServerConfigTargetNameServer". }, ], }, "kind": "dns#policy", # Identifies what kind of resource this is. Value: the fixed string "dns#policy". "description": "A String", "enableInboundForwarding": True or False, "enableLogging": True or False, "networks": [ { "kind": "dns#policyNetwork", # Identifies what kind of resource this is. Value: the fixed string "dns#policyNetwork". "networkUrl": "A String", }, ], "id": "A String", "name": "A String", }, "header": { "operationId": "A String", }, }
update(project=*, policy=*, body=None, clientOperationId=None)
Args: project: string, A parameter (required) policy: string, A parameter (required) body: object, The request body. The object takes the form of: { "alternativeNameServerConfig": { "kind": "dns#policyAlternativeNameServerConfig", # Identifies what kind of resource this is. Value: the fixed string "dns#policyAlternativeNameServerConfig". "targetNameServers": [ { "ipv4Address": "A String", "forwardingPath": "A String", "kind": "dns#policyAlternativeNameServerConfigTargetNameServer", # Identifies what kind of resource this is. Value: the fixed string "dns#policyAlternativeNameServerConfigTargetNameServer". }, ], }, "kind": "dns#policy", # Identifies what kind of resource this is. Value: the fixed string "dns#policy". "description": "A String", "enableInboundForwarding": True or False, "enableLogging": True or False, "networks": [ { "kind": "dns#policyNetwork", # Identifies what kind of resource this is. Value: the fixed string "dns#policyNetwork". "networkUrl": "A String", }, ], "id": "A String", "name": "A String", } clientOperationId: string, A parameter Returns: An object of the form: { "policy": { "alternativeNameServerConfig": { "kind": "dns#policyAlternativeNameServerConfig", # Identifies what kind of resource this is. Value: the fixed string "dns#policyAlternativeNameServerConfig". "targetNameServers": [ { "ipv4Address": "A String", "forwardingPath": "A String", "kind": "dns#policyAlternativeNameServerConfigTargetNameServer", # Identifies what kind of resource this is. Value: the fixed string "dns#policyAlternativeNameServerConfigTargetNameServer". }, ], }, "kind": "dns#policy", # Identifies what kind of resource this is. Value: the fixed string "dns#policy". "description": "A String", "enableInboundForwarding": True or False, "enableLogging": True or False, "networks": [ { "kind": "dns#policyNetwork", # Identifies what kind of resource this is. Value: the fixed string "dns#policyNetwork". "networkUrl": "A String", }, ], "id": "A String", "name": "A String", }, "header": { "operationId": "A String", }, }