Cloud Run Admin API . namespaces . domainmappings

Instance Methods

close()

Close httplib2 connections.

create(parent, body=None, dryRun=None, x__xgafv=None)

Create a new domain mapping.

delete(name, apiVersion=None, dryRun=None, kind=None, propagationPolicy=None, x__xgafv=None)

Delete a domain mapping.

get(name, x__xgafv=None)

Get information about a domain mapping.

list(parent, continue=None, fieldSelector=None, includeUninitialized=None, labelSelector=None, limit=None, resourceVersion=None, watch=None, x__xgafv=None)

List all domain mappings.

Method Details

close()
Close httplib2 connections.
create(parent, body=None, dryRun=None, x__xgafv=None)
Create a new domain mapping.

Args:
  parent: string, Required. The namespace in which the domain mapping should be created. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID (required)
  body: object, The request body.
    The object takes the form of:

{ # Resource to hold the state and status of a user's domain mapping. NOTE: This resource is currently in Beta.
  "apiVersion": "A String", # The API version for this call such as "domains.cloudrun.com/v1".
  "kind": "A String", # The kind of resource, in this case "DomainMapping".
  "metadata": { # google.cloud.run.meta.v1.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. # Metadata associated with this BuildTemplate.
    "annotations": { # Unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. In Cloud Run, annotations with 'run.googleapis.com/' and 'autoscaling.knative.dev' are restricted, and the accepted annotations will be different depending on the resource type. * `autoscaling.knative.dev/maxScale`: Revision. * `autoscaling.knative.dev/minScale`: Revision. * `run.googleapis.com/binary-authorization-breakglass`: Service, Job, * `run.googleapis.com/binary-authorization`: Service, Job, Execution. * `run.googleapis.com/client-name`: All resources. * `run.googleapis.com/cloudsql-instances`: Revision, Execution. * `run.googleapis.com/container-dependencies`: Revision . * `run.googleapis.com/cpu-throttling`: Revision. * `run.googleapis.com/custom-audiences`: Service. * `run.googleapis.com/default-url-disabled`: Service. * `run.googleapis.com/description`: Service. * `run.googleapis.com/encryption-key-shutdown-hours`: Revision * `run.googleapis.com/encryption-key`: Revision, Execution. * `run.googleapis.com/execution-environment`: Revision, Execution. * `run.googleapis.com/gc-traffic-tags`: Service. * `run.googleapis.com/ingress`: Service. * `run.googleapis.com/launch-stage`: Service, Job. * `run.googleapis.com/minScale`: Service (ALPHA) * `run.googleapis.com/network-interfaces`: Revision, Execution. * `run.googleapis.com/post-key-revocation-action-type`: Revision. * `run.googleapis.com/secrets`: Revision, Execution. * `run.googleapis.com/secure-session-agent`: Revision. * `run.googleapis.com/sessionAffinity`: Revision. * `run.googleapis.com/startup-cpu-boost`: Revision. * `run.googleapis.com/vpc-access-connector`: Revision, Execution. * `run.googleapis.com/vpc-access-egress`: Revision, Execution.
      "a_key": "A String",
    },
    "clusterName": "A String", # Not supported by Cloud Run
    "creationTimestamp": "A String", # UTC timestamp representing the server time when this object was created.
    "deletionGracePeriodSeconds": 42, # Not supported by Cloud Run
    "deletionTimestamp": "A String", # The read-only soft deletion timestamp for this resource. In Cloud Run, users are not able to set this field. Instead, they must call the corresponding Delete API.
    "finalizers": [ # Not supported by Cloud Run
      "A String",
    ],
    "generateName": "A String", # Not supported by Cloud Run
    "generation": 42, # A system-provided sequence number representing a specific generation of the desired state.
    "labels": { # Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and routes.
      "a_key": "A String",
    },
    "name": "A String", # Required. The name of the resource. Name is required when creating top-level resources (Service, Job), must be unique within a Cloud Run project/region, and cannot be changed once created.
    "namespace": "A String", # Required. Defines the space within each name must be unique within a Cloud Run region. In Cloud Run, it must be project ID or number.
    "ownerReferences": [ # Not supported by Cloud Run
      { # This is not supported or used by Cloud Run.
        "apiVersion": "A String", # This is not supported or used by Cloud Run.
        "blockOwnerDeletion": True or False, # This is not supported or used by Cloud Run.
        "controller": True or False, # This is not supported or used by Cloud Run.
        "kind": "A String", # This is not supported or used by Cloud Run.
        "name": "A String", # This is not supported or used by Cloud Run.
        "uid": "A String", # This is not supported or used by Cloud Run.
      },
    ],
    "resourceVersion": "A String", # Opaque, system-generated value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server or omit the value to disable conflict-detection.
    "selfLink": "A String", # URL representing this object.
    "uid": "A String", # Unique, system-generated identifier for this resource.
  },
  "spec": { # The desired state of the Domain Mapping. # The spec for this DomainMapping.
    "certificateMode": "A String", # The mode of the certificate.
    "forceOverride": True or False, # If set, the mapping will override any mapping set before this spec was set. It is recommended that the user leaves this empty to receive an error warning about a potential conflict and only set it once the respective UI has given such a warning.
    "routeName": "A String", # The name of the Knative Route that this DomainMapping applies to. The route must exist.
  },
  "status": { # The current state of the Domain Mapping. # The current status of the DomainMapping.
    "conditions": [ # Array of observed DomainMappingConditions, indicating the current state of the DomainMapping.
      { # Conditions show the status of reconciliation progress on a given resource. Most resource use a top-level condition type "Ready" or "Completed" to show overall status with other conditions to checkpoint each stage of reconciliation. Note that if metadata.Generation does not equal status.ObservedGeneration, the conditions shown may not be relevant for the current spec.
        "lastTransitionTime": "A String", # Optional. Last time the condition transitioned from one status to another.
        "message": "A String", # Optional. Human readable message indicating details about the current status.
        "reason": "A String", # Optional. One-word CamelCase reason for the condition's last transition. These are intended to be stable, unique values which the client may use to trigger error handling logic, whereas messages which may be changed later by the server.
        "severity": "A String", # Optional. How to interpret this condition. One of Error, Warning, or Info. Conditions of severity Info do not contribute to resource readiness.
        "status": "A String", # Status of the condition, one of True, False, Unknown.
        "type": "A String", # type is used to communicate the status of the reconciliation process. Types common to all resources include: * "Ready" or "Completed": True when the Resource is ready.
      },
    ],
    "mappedRouteName": "A String", # The name of the route that the mapping currently points to.
    "observedGeneration": 42, # ObservedGeneration is the 'Generation' of the DomainMapping that was last processed by the controller. Clients polling for completed reconciliation should poll until observedGeneration = metadata.generation and the Ready condition's status is True or False.
    "resourceRecords": [ # The resource records required to configure this domain mapping. These records must be added to the domain's DNS configuration in order to serve the application via this domain mapping.
      { # A DNS resource record.
        "name": "A String", # Relative name of the object affected by this record. Only applicable for `CNAME` records. Example: 'www'.
        "rrdata": "A String", # Data for this record. Values vary by record type, as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1).
        "type": "A String", # Resource record type. Example: `AAAA`.
      },
    ],
    "url": "A String", # Optional. Not supported by Cloud Run.
  },
}

  dryRun: string, Indicates that the server should validate the request and populate default values without persisting the request. Supported values: `all`
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Resource to hold the state and status of a user's domain mapping. NOTE: This resource is currently in Beta.
  "apiVersion": "A String", # The API version for this call such as "domains.cloudrun.com/v1".
  "kind": "A String", # The kind of resource, in this case "DomainMapping".
  "metadata": { # google.cloud.run.meta.v1.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. # Metadata associated with this BuildTemplate.
    "annotations": { # Unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. In Cloud Run, annotations with 'run.googleapis.com/' and 'autoscaling.knative.dev' are restricted, and the accepted annotations will be different depending on the resource type. * `autoscaling.knative.dev/maxScale`: Revision. * `autoscaling.knative.dev/minScale`: Revision. * `run.googleapis.com/binary-authorization-breakglass`: Service, Job, * `run.googleapis.com/binary-authorization`: Service, Job, Execution. * `run.googleapis.com/client-name`: All resources. * `run.googleapis.com/cloudsql-instances`: Revision, Execution. * `run.googleapis.com/container-dependencies`: Revision . * `run.googleapis.com/cpu-throttling`: Revision. * `run.googleapis.com/custom-audiences`: Service. * `run.googleapis.com/default-url-disabled`: Service. * `run.googleapis.com/description`: Service. * `run.googleapis.com/encryption-key-shutdown-hours`: Revision * `run.googleapis.com/encryption-key`: Revision, Execution. * `run.googleapis.com/execution-environment`: Revision, Execution. * `run.googleapis.com/gc-traffic-tags`: Service. * `run.googleapis.com/ingress`: Service. * `run.googleapis.com/launch-stage`: Service, Job. * `run.googleapis.com/minScale`: Service (ALPHA) * `run.googleapis.com/network-interfaces`: Revision, Execution. * `run.googleapis.com/post-key-revocation-action-type`: Revision. * `run.googleapis.com/secrets`: Revision, Execution. * `run.googleapis.com/secure-session-agent`: Revision. * `run.googleapis.com/sessionAffinity`: Revision. * `run.googleapis.com/startup-cpu-boost`: Revision. * `run.googleapis.com/vpc-access-connector`: Revision, Execution. * `run.googleapis.com/vpc-access-egress`: Revision, Execution.
      "a_key": "A String",
    },
    "clusterName": "A String", # Not supported by Cloud Run
    "creationTimestamp": "A String", # UTC timestamp representing the server time when this object was created.
    "deletionGracePeriodSeconds": 42, # Not supported by Cloud Run
    "deletionTimestamp": "A String", # The read-only soft deletion timestamp for this resource. In Cloud Run, users are not able to set this field. Instead, they must call the corresponding Delete API.
    "finalizers": [ # Not supported by Cloud Run
      "A String",
    ],
    "generateName": "A String", # Not supported by Cloud Run
    "generation": 42, # A system-provided sequence number representing a specific generation of the desired state.
    "labels": { # Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and routes.
      "a_key": "A String",
    },
    "name": "A String", # Required. The name of the resource. Name is required when creating top-level resources (Service, Job), must be unique within a Cloud Run project/region, and cannot be changed once created.
    "namespace": "A String", # Required. Defines the space within each name must be unique within a Cloud Run region. In Cloud Run, it must be project ID or number.
    "ownerReferences": [ # Not supported by Cloud Run
      { # This is not supported or used by Cloud Run.
        "apiVersion": "A String", # This is not supported or used by Cloud Run.
        "blockOwnerDeletion": True or False, # This is not supported or used by Cloud Run.
        "controller": True or False, # This is not supported or used by Cloud Run.
        "kind": "A String", # This is not supported or used by Cloud Run.
        "name": "A String", # This is not supported or used by Cloud Run.
        "uid": "A String", # This is not supported or used by Cloud Run.
      },
    ],
    "resourceVersion": "A String", # Opaque, system-generated value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server or omit the value to disable conflict-detection.
    "selfLink": "A String", # URL representing this object.
    "uid": "A String", # Unique, system-generated identifier for this resource.
  },
  "spec": { # The desired state of the Domain Mapping. # The spec for this DomainMapping.
    "certificateMode": "A String", # The mode of the certificate.
    "forceOverride": True or False, # If set, the mapping will override any mapping set before this spec was set. It is recommended that the user leaves this empty to receive an error warning about a potential conflict and only set it once the respective UI has given such a warning.
    "routeName": "A String", # The name of the Knative Route that this DomainMapping applies to. The route must exist.
  },
  "status": { # The current state of the Domain Mapping. # The current status of the DomainMapping.
    "conditions": [ # Array of observed DomainMappingConditions, indicating the current state of the DomainMapping.
      { # Conditions show the status of reconciliation progress on a given resource. Most resource use a top-level condition type "Ready" or "Completed" to show overall status with other conditions to checkpoint each stage of reconciliation. Note that if metadata.Generation does not equal status.ObservedGeneration, the conditions shown may not be relevant for the current spec.
        "lastTransitionTime": "A String", # Optional. Last time the condition transitioned from one status to another.
        "message": "A String", # Optional. Human readable message indicating details about the current status.
        "reason": "A String", # Optional. One-word CamelCase reason for the condition's last transition. These are intended to be stable, unique values which the client may use to trigger error handling logic, whereas messages which may be changed later by the server.
        "severity": "A String", # Optional. How to interpret this condition. One of Error, Warning, or Info. Conditions of severity Info do not contribute to resource readiness.
        "status": "A String", # Status of the condition, one of True, False, Unknown.
        "type": "A String", # type is used to communicate the status of the reconciliation process. Types common to all resources include: * "Ready" or "Completed": True when the Resource is ready.
      },
    ],
    "mappedRouteName": "A String", # The name of the route that the mapping currently points to.
    "observedGeneration": 42, # ObservedGeneration is the 'Generation' of the DomainMapping that was last processed by the controller. Clients polling for completed reconciliation should poll until observedGeneration = metadata.generation and the Ready condition's status is True or False.
    "resourceRecords": [ # The resource records required to configure this domain mapping. These records must be added to the domain's DNS configuration in order to serve the application via this domain mapping.
      { # A DNS resource record.
        "name": "A String", # Relative name of the object affected by this record. Only applicable for `CNAME` records. Example: 'www'.
        "rrdata": "A String", # Data for this record. Values vary by record type, as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1).
        "type": "A String", # Resource record type. Example: `AAAA`.
      },
    ],
    "url": "A String", # Optional. Not supported by Cloud Run.
  },
}
delete(name, apiVersion=None, dryRun=None, kind=None, propagationPolicy=None, x__xgafv=None)
Delete a domain mapping.

Args:
  name: string, Required. The name of the domain mapping to delete. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID (required)
  apiVersion: string, Cloud Run currently ignores this parameter.
  dryRun: string, Indicates that the server should validate the request and populate default values without persisting the request. Supported values: `all`
  kind: string, Cloud Run currently ignores this parameter.
  propagationPolicy: string, Specifies the propagation policy of delete. Cloud Run currently ignores this setting, and deletes in the background. Please see kubernetes.io/docs/concepts/architecture/garbage-collection/ for more information.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Status is a return value for calls that don't return other objects.
  "code": 42, # Suggested HTTP return code for this status, 0 if not set.
  "details": { # StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined. # Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type.
    "causes": [ # The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.
      { # StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.
        "field": "A String", # The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Examples: "name" - the field "name" on the current resource "items[0].name" - the field "name" on the first array entry in "items"
        "message": "A String", # A human-readable description of the cause of the error. This field may be presented as-is to a reader.
        "reason": "A String", # A machine-readable description of the cause of the error. If this value is empty there is no information available.
      },
    ],
    "group": "A String", # The group attribute of the resource associated with the status StatusReason.
    "kind": "A String", # The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind.
    "name": "A String", # The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).
    "retryAfterSeconds": 42, # If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.
    "uid": "A String", # UID of the resource. (when there is a single resource which can be described).
  },
  "message": "A String", # A human-readable description of the status of this operation.
  "metadata": { # Metadata for synthetic resources like List. In Cloud Run, all List Resources Responses will have a ListMeta instead of ObjectMeta. # Standard list metadata.
    "continue": "A String", # Continuation token is a value emitted when the count of items is larger than the user/system limit. To retrieve the next page of items, pass the value of `continue` as the next request's `page_token`.
    "resourceVersion": "A String", # Opaque string that identifies the server's internal version of this object. It can be used by clients to determine when objects have changed. If the message is passed back to the server, it must be left unmodified.
    "selfLink": "A String", # URL representing this object.
  },
  "reason": "A String", # A machine-readable description of why this operation is in the "Failure" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.
  "status": "A String", # Status of the operation. One of: "Success" or "Failure".
}
get(name, x__xgafv=None)
Get information about a domain mapping.

Args:
  name: string, Required. The name of the domain mapping to retrieve. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Resource to hold the state and status of a user's domain mapping. NOTE: This resource is currently in Beta.
  "apiVersion": "A String", # The API version for this call such as "domains.cloudrun.com/v1".
  "kind": "A String", # The kind of resource, in this case "DomainMapping".
  "metadata": { # google.cloud.run.meta.v1.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. # Metadata associated with this BuildTemplate.
    "annotations": { # Unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. In Cloud Run, annotations with 'run.googleapis.com/' and 'autoscaling.knative.dev' are restricted, and the accepted annotations will be different depending on the resource type. * `autoscaling.knative.dev/maxScale`: Revision. * `autoscaling.knative.dev/minScale`: Revision. * `run.googleapis.com/binary-authorization-breakglass`: Service, Job, * `run.googleapis.com/binary-authorization`: Service, Job, Execution. * `run.googleapis.com/client-name`: All resources. * `run.googleapis.com/cloudsql-instances`: Revision, Execution. * `run.googleapis.com/container-dependencies`: Revision . * `run.googleapis.com/cpu-throttling`: Revision. * `run.googleapis.com/custom-audiences`: Service. * `run.googleapis.com/default-url-disabled`: Service. * `run.googleapis.com/description`: Service. * `run.googleapis.com/encryption-key-shutdown-hours`: Revision * `run.googleapis.com/encryption-key`: Revision, Execution. * `run.googleapis.com/execution-environment`: Revision, Execution. * `run.googleapis.com/gc-traffic-tags`: Service. * `run.googleapis.com/ingress`: Service. * `run.googleapis.com/launch-stage`: Service, Job. * `run.googleapis.com/minScale`: Service (ALPHA) * `run.googleapis.com/network-interfaces`: Revision, Execution. * `run.googleapis.com/post-key-revocation-action-type`: Revision. * `run.googleapis.com/secrets`: Revision, Execution. * `run.googleapis.com/secure-session-agent`: Revision. * `run.googleapis.com/sessionAffinity`: Revision. * `run.googleapis.com/startup-cpu-boost`: Revision. * `run.googleapis.com/vpc-access-connector`: Revision, Execution. * `run.googleapis.com/vpc-access-egress`: Revision, Execution.
      "a_key": "A String",
    },
    "clusterName": "A String", # Not supported by Cloud Run
    "creationTimestamp": "A String", # UTC timestamp representing the server time when this object was created.
    "deletionGracePeriodSeconds": 42, # Not supported by Cloud Run
    "deletionTimestamp": "A String", # The read-only soft deletion timestamp for this resource. In Cloud Run, users are not able to set this field. Instead, they must call the corresponding Delete API.
    "finalizers": [ # Not supported by Cloud Run
      "A String",
    ],
    "generateName": "A String", # Not supported by Cloud Run
    "generation": 42, # A system-provided sequence number representing a specific generation of the desired state.
    "labels": { # Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and routes.
      "a_key": "A String",
    },
    "name": "A String", # Required. The name of the resource. Name is required when creating top-level resources (Service, Job), must be unique within a Cloud Run project/region, and cannot be changed once created.
    "namespace": "A String", # Required. Defines the space within each name must be unique within a Cloud Run region. In Cloud Run, it must be project ID or number.
    "ownerReferences": [ # Not supported by Cloud Run
      { # This is not supported or used by Cloud Run.
        "apiVersion": "A String", # This is not supported or used by Cloud Run.
        "blockOwnerDeletion": True or False, # This is not supported or used by Cloud Run.
        "controller": True or False, # This is not supported or used by Cloud Run.
        "kind": "A String", # This is not supported or used by Cloud Run.
        "name": "A String", # This is not supported or used by Cloud Run.
        "uid": "A String", # This is not supported or used by Cloud Run.
      },
    ],
    "resourceVersion": "A String", # Opaque, system-generated value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server or omit the value to disable conflict-detection.
    "selfLink": "A String", # URL representing this object.
    "uid": "A String", # Unique, system-generated identifier for this resource.
  },
  "spec": { # The desired state of the Domain Mapping. # The spec for this DomainMapping.
    "certificateMode": "A String", # The mode of the certificate.
    "forceOverride": True or False, # If set, the mapping will override any mapping set before this spec was set. It is recommended that the user leaves this empty to receive an error warning about a potential conflict and only set it once the respective UI has given such a warning.
    "routeName": "A String", # The name of the Knative Route that this DomainMapping applies to. The route must exist.
  },
  "status": { # The current state of the Domain Mapping. # The current status of the DomainMapping.
    "conditions": [ # Array of observed DomainMappingConditions, indicating the current state of the DomainMapping.
      { # Conditions show the status of reconciliation progress on a given resource. Most resource use a top-level condition type "Ready" or "Completed" to show overall status with other conditions to checkpoint each stage of reconciliation. Note that if metadata.Generation does not equal status.ObservedGeneration, the conditions shown may not be relevant for the current spec.
        "lastTransitionTime": "A String", # Optional. Last time the condition transitioned from one status to another.
        "message": "A String", # Optional. Human readable message indicating details about the current status.
        "reason": "A String", # Optional. One-word CamelCase reason for the condition's last transition. These are intended to be stable, unique values which the client may use to trigger error handling logic, whereas messages which may be changed later by the server.
        "severity": "A String", # Optional. How to interpret this condition. One of Error, Warning, or Info. Conditions of severity Info do not contribute to resource readiness.
        "status": "A String", # Status of the condition, one of True, False, Unknown.
        "type": "A String", # type is used to communicate the status of the reconciliation process. Types common to all resources include: * "Ready" or "Completed": True when the Resource is ready.
      },
    ],
    "mappedRouteName": "A String", # The name of the route that the mapping currently points to.
    "observedGeneration": 42, # ObservedGeneration is the 'Generation' of the DomainMapping that was last processed by the controller. Clients polling for completed reconciliation should poll until observedGeneration = metadata.generation and the Ready condition's status is True or False.
    "resourceRecords": [ # The resource records required to configure this domain mapping. These records must be added to the domain's DNS configuration in order to serve the application via this domain mapping.
      { # A DNS resource record.
        "name": "A String", # Relative name of the object affected by this record. Only applicable for `CNAME` records. Example: 'www'.
        "rrdata": "A String", # Data for this record. Values vary by record type, as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1).
        "type": "A String", # Resource record type. Example: `AAAA`.
      },
    ],
    "url": "A String", # Optional. Not supported by Cloud Run.
  },
}
list(parent, continue=None, fieldSelector=None, includeUninitialized=None, labelSelector=None, limit=None, resourceVersion=None, watch=None, x__xgafv=None)
List all domain mappings.

Args:
  parent: string, Required. The namespace from which the domain mappings should be listed. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID (required)
  continue: string, Optional. Encoded string to continue paging.
  fieldSelector: string, Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently used by Cloud Run.
  includeUninitialized: boolean, Not currently used by Cloud Run.
  labelSelector: string, Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.
  limit: integer, Optional. The maximum number of records that should be returned.
  resourceVersion: string, The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.
  watch: boolean, Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # ListDomainMappingsResponse is a list of DomainMapping resources.
  "apiVersion": "A String", # The API version for this call such as "domains.cloudrun.com/v1".
  "items": [ # List of DomainMappings.
    { # Resource to hold the state and status of a user's domain mapping. NOTE: This resource is currently in Beta.
      "apiVersion": "A String", # The API version for this call such as "domains.cloudrun.com/v1".
      "kind": "A String", # The kind of resource, in this case "DomainMapping".
      "metadata": { # google.cloud.run.meta.v1.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. # Metadata associated with this BuildTemplate.
        "annotations": { # Unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. In Cloud Run, annotations with 'run.googleapis.com/' and 'autoscaling.knative.dev' are restricted, and the accepted annotations will be different depending on the resource type. * `autoscaling.knative.dev/maxScale`: Revision. * `autoscaling.knative.dev/minScale`: Revision. * `run.googleapis.com/binary-authorization-breakglass`: Service, Job, * `run.googleapis.com/binary-authorization`: Service, Job, Execution. * `run.googleapis.com/client-name`: All resources. * `run.googleapis.com/cloudsql-instances`: Revision, Execution. * `run.googleapis.com/container-dependencies`: Revision . * `run.googleapis.com/cpu-throttling`: Revision. * `run.googleapis.com/custom-audiences`: Service. * `run.googleapis.com/default-url-disabled`: Service. * `run.googleapis.com/description`: Service. * `run.googleapis.com/encryption-key-shutdown-hours`: Revision * `run.googleapis.com/encryption-key`: Revision, Execution. * `run.googleapis.com/execution-environment`: Revision, Execution. * `run.googleapis.com/gc-traffic-tags`: Service. * `run.googleapis.com/ingress`: Service. * `run.googleapis.com/launch-stage`: Service, Job. * `run.googleapis.com/minScale`: Service (ALPHA) * `run.googleapis.com/network-interfaces`: Revision, Execution. * `run.googleapis.com/post-key-revocation-action-type`: Revision. * `run.googleapis.com/secrets`: Revision, Execution. * `run.googleapis.com/secure-session-agent`: Revision. * `run.googleapis.com/sessionAffinity`: Revision. * `run.googleapis.com/startup-cpu-boost`: Revision. * `run.googleapis.com/vpc-access-connector`: Revision, Execution. * `run.googleapis.com/vpc-access-egress`: Revision, Execution.
          "a_key": "A String",
        },
        "clusterName": "A String", # Not supported by Cloud Run
        "creationTimestamp": "A String", # UTC timestamp representing the server time when this object was created.
        "deletionGracePeriodSeconds": 42, # Not supported by Cloud Run
        "deletionTimestamp": "A String", # The read-only soft deletion timestamp for this resource. In Cloud Run, users are not able to set this field. Instead, they must call the corresponding Delete API.
        "finalizers": [ # Not supported by Cloud Run
          "A String",
        ],
        "generateName": "A String", # Not supported by Cloud Run
        "generation": 42, # A system-provided sequence number representing a specific generation of the desired state.
        "labels": { # Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and routes.
          "a_key": "A String",
        },
        "name": "A String", # Required. The name of the resource. Name is required when creating top-level resources (Service, Job), must be unique within a Cloud Run project/region, and cannot be changed once created.
        "namespace": "A String", # Required. Defines the space within each name must be unique within a Cloud Run region. In Cloud Run, it must be project ID or number.
        "ownerReferences": [ # Not supported by Cloud Run
          { # This is not supported or used by Cloud Run.
            "apiVersion": "A String", # This is not supported or used by Cloud Run.
            "blockOwnerDeletion": True or False, # This is not supported or used by Cloud Run.
            "controller": True or False, # This is not supported or used by Cloud Run.
            "kind": "A String", # This is not supported or used by Cloud Run.
            "name": "A String", # This is not supported or used by Cloud Run.
            "uid": "A String", # This is not supported or used by Cloud Run.
          },
        ],
        "resourceVersion": "A String", # Opaque, system-generated value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server or omit the value to disable conflict-detection.
        "selfLink": "A String", # URL representing this object.
        "uid": "A String", # Unique, system-generated identifier for this resource.
      },
      "spec": { # The desired state of the Domain Mapping. # The spec for this DomainMapping.
        "certificateMode": "A String", # The mode of the certificate.
        "forceOverride": True or False, # If set, the mapping will override any mapping set before this spec was set. It is recommended that the user leaves this empty to receive an error warning about a potential conflict and only set it once the respective UI has given such a warning.
        "routeName": "A String", # The name of the Knative Route that this DomainMapping applies to. The route must exist.
      },
      "status": { # The current state of the Domain Mapping. # The current status of the DomainMapping.
        "conditions": [ # Array of observed DomainMappingConditions, indicating the current state of the DomainMapping.
          { # Conditions show the status of reconciliation progress on a given resource. Most resource use a top-level condition type "Ready" or "Completed" to show overall status with other conditions to checkpoint each stage of reconciliation. Note that if metadata.Generation does not equal status.ObservedGeneration, the conditions shown may not be relevant for the current spec.
            "lastTransitionTime": "A String", # Optional. Last time the condition transitioned from one status to another.
            "message": "A String", # Optional. Human readable message indicating details about the current status.
            "reason": "A String", # Optional. One-word CamelCase reason for the condition's last transition. These are intended to be stable, unique values which the client may use to trigger error handling logic, whereas messages which may be changed later by the server.
            "severity": "A String", # Optional. How to interpret this condition. One of Error, Warning, or Info. Conditions of severity Info do not contribute to resource readiness.
            "status": "A String", # Status of the condition, one of True, False, Unknown.
            "type": "A String", # type is used to communicate the status of the reconciliation process. Types common to all resources include: * "Ready" or "Completed": True when the Resource is ready.
          },
        ],
        "mappedRouteName": "A String", # The name of the route that the mapping currently points to.
        "observedGeneration": 42, # ObservedGeneration is the 'Generation' of the DomainMapping that was last processed by the controller. Clients polling for completed reconciliation should poll until observedGeneration = metadata.generation and the Ready condition's status is True or False.
        "resourceRecords": [ # The resource records required to configure this domain mapping. These records must be added to the domain's DNS configuration in order to serve the application via this domain mapping.
          { # A DNS resource record.
            "name": "A String", # Relative name of the object affected by this record. Only applicable for `CNAME` records. Example: 'www'.
            "rrdata": "A String", # Data for this record. Values vary by record type, as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1).
            "type": "A String", # Resource record type. Example: `AAAA`.
          },
        ],
        "url": "A String", # Optional. Not supported by Cloud Run.
      },
    },
  ],
  "kind": "A String", # The kind of this resource, in this case "DomainMappingList".
  "metadata": { # Metadata for synthetic resources like List. In Cloud Run, all List Resources Responses will have a ListMeta instead of ObjectMeta. # Metadata associated with this DomainMapping list.
    "continue": "A String", # Continuation token is a value emitted when the count of items is larger than the user/system limit. To retrieve the next page of items, pass the value of `continue` as the next request's `page_token`.
    "resourceVersion": "A String", # Opaque string that identifies the server's internal version of this object. It can be used by clients to determine when objects have changed. If the message is passed back to the server, it must be left unmodified.
    "selfLink": "A String", # URL representing this object.
  },
  "unreachable": [ # Locations that could not be reached.
    "A String",
  ],
}