GoogleApi.PrivateCA.V1beta1.Api.Projects.privateca_projects_locations_certificate_authorities_certificates_create

You're seeing just the function privateca_projects_locations_certificate_authorities_certificates_create, go back to GoogleApi.PrivateCA.V1beta1.Api.Projects module for more information.
Link to this function

privateca_projects_locations_certificate_authorities_certificates_create(connection, parent, optional_params \\ [], opts \\ [])

View Source

Specs

privateca_projects_locations_certificate_authorities_certificates_create(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.PrivateCA.V1beta1.Model.Certificate.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Create a new Certificate in a given Project, Location from a particular CertificateAuthority.

Parameters

  • connection (type: GoogleApi.PrivateCA.V1beta1.Connection.t) - Connection to server
  • parent (type: String.t) - Required. The resource name of the location and CertificateAuthority associated with the Certificate, in the format projects/*/locations/*/certificateAuthorities/*.
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
    • :certificateId (type: String.t) - Optional. It must be unique within a location and match the regular expression [a-zA-Z0-9_-]{1,63}. This field is required when using a CertificateAuthority in the Enterprise CertificateAuthority.Tier, but is optional and its value is ignored otherwise.
    • :requestId (type: String.t) - Optional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
    • :body (type: GoogleApi.PrivateCA.V1beta1.Model.Certificate.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.PrivateCA.V1beta1.Model.Certificate{}} on success
  • {:error, info} on failure