AlloyDB API . projects . locations . supportedDatabaseFlags

Instance Methods

close()

Close httplib2 connections.

list(parent, pageSize=None, pageToken=None, x__xgafv=None)

Lists SupportedDatabaseFlags for a given project and location.

list_next()

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
Lists SupportedDatabaseFlags for a given project and location.

Args:
  parent: string, Required. The name of the parent resource. The required format is: * projects/{project}/locations/{location} Regardless of the parent specified here, as long it is contains a valid project and location, the service will return a static list of supported flags resources. Note that we do not yet support region-specific flags. (required)
  pageSize: integer, Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
  pageToken: string, A token identifying a page of results the server should return.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Message for response to listing SupportedDatabaseFlags.
  "nextPageToken": "A String", # A token identifying a page of results the server should return.
  "supportedDatabaseFlags": [ # The list of SupportedDatabaseFlags.
    { # SupportedDatabaseFlag gives general information about a database flag, like type and allowed values. This is a static value that is defined on the server side, and it cannot be modified by callers. To set the Database flags on a particular Instance, a caller should modify the Instance.database_flags field.
      "acceptsMultipleValues": True or False, # Whether the database flag accepts multiple values. If true, a comma-separated list of stringified values may be specified.
      "flagName": "A String", # The name of the database flag, e.g. "max_allowed_packets". The is a possibly key for the Instance.database_flags map field.
      "integerRestrictions": { # Restrictions on INTEGER type values. # Restriction on INTEGER type value.
        "maxValue": "A String", # The maximum value that can be specified, if applicable.
        "minValue": "A String", # The minimum value that can be specified, if applicable.
      },
      "name": "A String", # The name of the flag resource, following Google Cloud conventions, e.g.: * projects/{project}/locations/{location}/flags/{flag} This field currently has no semantic meaning.
      "requiresDbRestart": True or False, # Whether setting or updating this flag on an Instance requires a database restart. If a flag that requires database restart is set, the backend will automatically restart the database (making sure to satisfy any availability SLO's).
      "stringRestrictions": { # Restrictions on STRING type values # Restriction on STRING type value.
        "allowedValues": [ # The list of allowed values, if bounded. This field will be empty if there is a unbounded number of allowed values.
          "A String",
        ],
      },
      "supportedDbVersions": [ # Major database engine versions for which this flag is supported.
        "A String",
      ],
      "valueType": "A String",
    },
  ],
}
list_next()
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.