View Source GoogleApi.BareMetalSolution.V2.Api.Projects (google_api_bare_metal_solution v0.6.0)

API calls for all endpoints tagged Projects.

Summary

Functions

RenameInstance sets a new name for an instance. Use with caution, previous names become immediately invalidated.

Perform an ungraceful, hard reset on a server. Equivalent to shutting the power off and then turning it back on.

Lists information about the supported locations for this service.

List all Networks (and used IPs for each Network) in the vendor account associated with the specified project.

RenameNetwork sets a new name for a network. Use with caution, previous names become immediately invalidated.

RenameNfsShare sets a new name for an nfsshare. Use with caution, previous names become immediately invalidated.

Register a public SSH key in the specified project for use with the interactive serial console feature.

Lists the public SSH keys registered for the specified project. These SSH keys are used only for the interactive serial console feature.

Skips volume's cooloff and deletes it now. Volume must be in cooloff state.

Skips lun's cooloff and deletes it now. Lun must be in cooloff state.

RenameVolume sets a new name for a volume. Use with caution, previous names become immediately invalidated.

Takes a snapshot of a boot volume. Returns INVALID_ARGUMENT if called for a non-boot volume.

Deletes a volume snapshot. Returns INVALID_ARGUMENT if called for a non-boot volume.

Returns the specified snapshot resource. Returns INVALID_ARGUMENT if called for a non-boot volume.

Retrieves the list of snapshots for the specified volume. Returns a response with an empty list of snapshots if called for a non-boot volume.

Uses the specified snapshot to restore its parent volume. Returns INVALID_ARGUMENT if called for a non-boot volume.

Functions

Link to this function

baremetalsolution_projects_locations_get(connection, name, optional_params \\ [], opts \\ [])

View Source
@spec baremetalsolution_projects_locations_get(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.Location.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Gets information about a location.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • name (type: String.t) - Resource name for the location.
  • 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").
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.Location{}} on success
  • {:error, info} on failure
Link to this function

baremetalsolution_projects_locations_instances_detach_lun(connection, instance, optional_params \\ [], opts \\ [])

View Source
@spec baremetalsolution_projects_locations_instances_detach_lun(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.Operation.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Detach LUN from Instance.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • instance (type: String.t) - Required. Name of the instance.
  • 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").
    • :body (type: GoogleApi.BareMetalSolution.V2.Model.DetachLunRequest.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.Operation{}} on success
  • {:error, info} on failure
Link to this function

baremetalsolution_projects_locations_instances_disable_hyperthreading(connection, name, optional_params \\ [], opts \\ [])

View Source
@spec baremetalsolution_projects_locations_instances_disable_hyperthreading(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.Operation.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Perform disable hyperthreading operation on a single server.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • name (type: String.t) - Required. The name field is used to identify the instance. Format: projects/{project}/locations/{location}/instances/{instance}
  • 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").
    • :body (type: GoogleApi.BareMetalSolution.V2.Model.DisableHyperthreadingRequest.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.Operation{}} on success
  • {:error, info} on failure
Link to this function

baremetalsolution_projects_locations_instances_disable_interactive_serial_console(connection, name, optional_params \\ [], opts \\ [])

View Source
@spec baremetalsolution_projects_locations_instances_disable_interactive_serial_console(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.Operation.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Disable the interactive serial console feature on an instance.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • name (type: String.t) - Required. Name of the resource.
  • 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").
    • :body (type: GoogleApi.BareMetalSolution.V2.Model.DisableInteractiveSerialConsoleRequest.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.Operation{}} on success
  • {:error, info} on failure
Link to this function

baremetalsolution_projects_locations_instances_enable_hyperthreading(connection, name, optional_params \\ [], opts \\ [])

View Source
@spec baremetalsolution_projects_locations_instances_enable_hyperthreading(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.Operation.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Perform enable hyperthreading operation on a single server.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • name (type: String.t) - Required. The name field is used to identify the instance. Format: projects/{project}/locations/{location}/instances/{instance}
  • 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").
    • :body (type: GoogleApi.BareMetalSolution.V2.Model.EnableHyperthreadingRequest.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.Operation{}} on success
  • {:error, info} on failure
Link to this function

baremetalsolution_projects_locations_instances_enable_interactive_serial_console(connection, name, optional_params \\ [], opts \\ [])

View Source
@spec baremetalsolution_projects_locations_instances_enable_interactive_serial_console(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.Operation.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Enable the interactive serial console feature on an instance.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • name (type: String.t) - Required. Name of the resource.
  • 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").
    • :body (type: GoogleApi.BareMetalSolution.V2.Model.EnableInteractiveSerialConsoleRequest.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.Operation{}} on success
  • {:error, info} on failure
Link to this function

baremetalsolution_projects_locations_instances_get(connection, name, optional_params \\ [], opts \\ [])

View Source
@spec baremetalsolution_projects_locations_instances_get(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.Instance.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Get details about a single server.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • name (type: String.t) - Required. Name of the resource.
  • 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").
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.Instance{}} on success
  • {:error, info} on failure
Link to this function

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

View Source
@spec baremetalsolution_projects_locations_instances_list(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.ListInstancesResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

List servers in a given project and location.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • parent (type: String.t) - Required. Parent value for ListInstancesRequest.
  • 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").
    • :filter (type: String.t) - List filter.
    • :pageSize (type: integer()) - Requested page size. Server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
    • :pageToken (type: String.t) - A token identifying a page of results from the server.
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.ListInstancesResponse{}} on success
  • {:error, info} on failure
Link to this function

baremetalsolution_projects_locations_instances_load_auth_info(connection, name, optional_params \\ [], opts \\ [])

View Source
@spec baremetalsolution_projects_locations_instances_load_auth_info(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.LoadInstanceAuthInfoResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Load auth info for a server.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • name (type: String.t) - Required. Name of the server.
  • 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").
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.LoadInstanceAuthInfoResponse{}} on success
  • {:error, info} on failure
Link to this function

baremetalsolution_projects_locations_instances_patch(connection, name, optional_params \\ [], opts \\ [])

View Source
@spec baremetalsolution_projects_locations_instances_patch(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.Operation.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Update details of a single server.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • name (type: String.t) - Immutable. The resource name of this Instance. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: projects/{project}/locations/{location}/instances/{instance}
  • 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").
    • :updateMask (type: String.t) - The list of fields to update. The currently supported fields are: labels hyperthreading_enabled os_image ssh_keys kms_key_version
    • :body (type: GoogleApi.BareMetalSolution.V2.Model.Instance.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.Operation{}} on success
  • {:error, info} on failure
Link to this function

baremetalsolution_projects_locations_instances_reimage(connection, name, optional_params \\ [], opts \\ [])

View Source
@spec baremetalsolution_projects_locations_instances_reimage(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.Operation.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Perform reimage operation on a single server.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • name (type: String.t) - Required. The name field is used to identify the instance. Format: projects/{project}/locations/{location}/instances/{instance}
  • 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").
    • :body (type: GoogleApi.BareMetalSolution.V2.Model.ReimageInstanceRequest.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.Operation{}} on success
  • {:error, info} on failure
Link to this function

baremetalsolution_projects_locations_instances_rename(connection, name, optional_params \\ [], opts \\ [])

View Source
@spec baremetalsolution_projects_locations_instances_rename(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.Instance.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

RenameInstance sets a new name for an instance. Use with caution, previous names become immediately invalidated.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • name (type: String.t) - Required. The name field is used to identify the instance. Format: projects/{project}/locations/{location}/instances/{instance}
  • 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").
    • :body (type: GoogleApi.BareMetalSolution.V2.Model.RenameInstanceRequest.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.Instance{}} on success
  • {:error, info} on failure
Link to this function

baremetalsolution_projects_locations_instances_reset(connection, name, optional_params \\ [], opts \\ [])

View Source
@spec baremetalsolution_projects_locations_instances_reset(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.Operation.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Perform an ungraceful, hard reset on a server. Equivalent to shutting the power off and then turning it back on.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • name (type: String.t) - Required. Name of the resource.
  • 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").
    • :body (type: GoogleApi.BareMetalSolution.V2.Model.ResetInstanceRequest.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.Operation{}} on success
  • {:error, info} on failure
Link to this function

baremetalsolution_projects_locations_instances_start(connection, name, optional_params \\ [], opts \\ [])

View Source
@spec baremetalsolution_projects_locations_instances_start(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.Operation.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Starts a server that was shutdown.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • name (type: String.t) - Required. Name of the resource.
  • 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").
    • :body (type: GoogleApi.BareMetalSolution.V2.Model.StartInstanceRequest.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.Operation{}} on success
  • {:error, info} on failure
Link to this function

baremetalsolution_projects_locations_instances_stop(connection, name, optional_params \\ [], opts \\ [])

View Source
@spec baremetalsolution_projects_locations_instances_stop(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.Operation.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Stop a running server.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • name (type: String.t) - Required. Name of the resource.
  • 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").
    • :body (type: GoogleApi.BareMetalSolution.V2.Model.StopInstanceRequest.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.Operation{}} on success
  • {:error, info} on failure
Link to this function

baremetalsolution_projects_locations_list(connection, name, optional_params \\ [], opts \\ [])

View Source
@spec baremetalsolution_projects_locations_list(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.ListLocationsResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Lists information about the supported locations for this service.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • name (type: String.t) - The resource that owns the locations collection, if applicable.
  • 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").
    • :filter (type: String.t) - A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented in more detail in AIP-160.
    • :pageSize (type: integer()) - The maximum number of results to return. If not set, the service selects a default.
    • :pageToken (type: String.t) - A page token received from the next_page_token field in the response. Send that page token to receive the subsequent page.
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.ListLocationsResponse{}} on success
  • {:error, info} on failure
Link to this function

baremetalsolution_projects_locations_networks_get(connection, name, optional_params \\ [], opts \\ [])

View Source
@spec baremetalsolution_projects_locations_networks_get(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.Network.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Get details of a single network.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • name (type: String.t) - Required. Name of the resource.
  • 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").
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.Network{}} on success
  • {:error, info} on failure
Link to this function

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

View Source
@spec baremetalsolution_projects_locations_networks_list(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.ListNetworksResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

List network in a given project and location.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • parent (type: String.t) - Required. Parent value for ListNetworksRequest.
  • 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").
    • :filter (type: String.t) - List filter.
    • :pageSize (type: integer()) - Requested page size. The server might return fewer items than requested. If unspecified, server will pick an appropriate default.
    • :pageToken (type: String.t) - A token identifying a page of results from the server.
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.ListNetworksResponse{}} on success
  • {:error, info} on failure
Link to this function

baremetalsolution_projects_locations_networks_list_network_usage(connection, location, optional_params \\ [], opts \\ [])

View Source
@spec baremetalsolution_projects_locations_networks_list_network_usage(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.ListNetworkUsageResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

List all Networks (and used IPs for each Network) in the vendor account associated with the specified project.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • location (type: String.t) - Required. Parent value (project and location).
  • 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").
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.ListNetworkUsageResponse{}} on success
  • {:error, info} on failure
Link to this function

baremetalsolution_projects_locations_networks_patch(connection, name, optional_params \\ [], opts \\ [])

View Source
@spec baremetalsolution_projects_locations_networks_patch(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.Operation.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Update details of a single network.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • name (type: String.t) - Output only. The resource name of this Network. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: projects/{project}/locations/{location}/networks/{network}
  • 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").
    • :updateMask (type: String.t) - The list of fields to update. The only currently supported fields are: labels, reservations, vrf.vlan_attachments
    • :body (type: GoogleApi.BareMetalSolution.V2.Model.Network.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.Operation{}} on success
  • {:error, info} on failure
Link to this function

baremetalsolution_projects_locations_networks_rename(connection, name, optional_params \\ [], opts \\ [])

View Source
@spec baremetalsolution_projects_locations_networks_rename(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.Network.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

RenameNetwork sets a new name for a network. Use with caution, previous names become immediately invalidated.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • name (type: String.t) - Required. The name field is used to identify the network. Format: projects/{project}/locations/{location}/networks/{network}
  • 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").
    • :body (type: GoogleApi.BareMetalSolution.V2.Model.RenameNetworkRequest.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.Network{}} on success
  • {:error, info} on failure
Link to this function

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

View Source
@spec baremetalsolution_projects_locations_nfs_shares_create(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.Operation.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Create an NFS share.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • parent (type: String.t) - Required. The parent project and location.
  • 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").
    • :body (type: GoogleApi.BareMetalSolution.V2.Model.NfsShare.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.Operation{}} on success
  • {:error, info} on failure
Link to this function

baremetalsolution_projects_locations_nfs_shares_delete(connection, name, optional_params \\ [], opts \\ [])

View Source
@spec baremetalsolution_projects_locations_nfs_shares_delete(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.Operation.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Delete an NFS share. The underlying volume is automatically deleted.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • name (type: String.t) - Required. The name of the NFS share to delete.
  • 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").
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.Operation{}} on success
  • {:error, info} on failure
Link to this function

baremetalsolution_projects_locations_nfs_shares_get(connection, name, optional_params \\ [], opts \\ [])

View Source
@spec baremetalsolution_projects_locations_nfs_shares_get(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.NfsShare.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Get details of a single NFS share.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • name (type: String.t) - Required. Name of the resource.
  • 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").
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.NfsShare{}} on success
  • {:error, info} on failure
Link to this function

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

View Source
@spec baremetalsolution_projects_locations_nfs_shares_list(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.ListNfsSharesResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

List NFS shares.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • parent (type: String.t) - Required. Parent value for ListNfsSharesRequest.
  • 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").
    • :filter (type: String.t) - List filter.
    • :pageSize (type: integer()) - Requested page size. The server might return fewer items than requested. If unspecified, server will pick an appropriate default.
    • :pageToken (type: String.t) - A token identifying a page of results from the server.
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.ListNfsSharesResponse{}} on success
  • {:error, info} on failure
Link to this function

baremetalsolution_projects_locations_nfs_shares_patch(connection, name, optional_params \\ [], opts \\ [])

View Source
@spec baremetalsolution_projects_locations_nfs_shares_patch(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.Operation.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Update details of a single NFS share.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • name (type: String.t) - Immutable. The name of the NFS share.
  • 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").
    • :updateMask (type: String.t) - The list of fields to update. The only currently supported fields are: labels allowed_clients
    • :body (type: GoogleApi.BareMetalSolution.V2.Model.NfsShare.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.Operation{}} on success
  • {:error, info} on failure
Link to this function

baremetalsolution_projects_locations_nfs_shares_rename(connection, name, optional_params \\ [], opts \\ [])

View Source
@spec baremetalsolution_projects_locations_nfs_shares_rename(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.NfsShare.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

RenameNfsShare sets a new name for an nfsshare. Use with caution, previous names become immediately invalidated.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • name (type: String.t) - Required. The name field is used to identify the nfsshare. Format: projects/{project}/locations/{location}/nfsshares/{nfsshare}
  • 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").
    • :body (type: GoogleApi.BareMetalSolution.V2.Model.RenameNfsShareRequest.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.NfsShare{}} on success
  • {:error, info} on failure
Link to this function

baremetalsolution_projects_locations_operations_get(connection, name, optional_params \\ [], opts \\ [])

View Source
@spec baremetalsolution_projects_locations_operations_get(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.Operation.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Get details about an operation.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • name (type: String.t) - The name of the operation resource.
  • 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").
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.Operation{}} on success
  • {:error, info} on failure
Link to this function

baremetalsolution_projects_locations_os_images_get(connection, name, optional_params \\ [], opts \\ [])

View Source
@spec baremetalsolution_projects_locations_os_images_get(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.OSImage.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Get details of a single OS image.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • name (type: String.t) - Required. Name of the OS image.
  • 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").
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.OSImage{}} on success
  • {:error, info} on failure
Link to this function

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

View Source
@spec baremetalsolution_projects_locations_os_images_list(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.ListOSImagesResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Retrieves the list of OS images which are currently approved.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • parent (type: String.t) - Required. Parent value for ListOSImagesRequest.
  • 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").
    • :pageSize (type: integer()) - Requested page size. The server might return fewer items than requested. If unspecified, server will pick an appropriate default. Notice that page_size field is not supported and won't be respected in the API request for now, will be updated when pagination is supported.
    • :pageToken (type: String.t) - A token identifying a page of results from the server.
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.ListOSImagesResponse{}} on success
  • {:error, info} on failure
Link to this function

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

View Source
@spec baremetalsolution_projects_locations_provisioning_configs_create(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.ProvisioningConfig.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Create new ProvisioningConfig.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • parent (type: String.t) - Required. The parent project and location containing the ProvisioningConfig.
  • 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").
    • :email (type: String.t) - Optional. Email provided to send a confirmation with provisioning config to.
    • :body (type: GoogleApi.BareMetalSolution.V2.Model.ProvisioningConfig.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.ProvisioningConfig{}} on success
  • {:error, info} on failure
Link to this function

baremetalsolution_projects_locations_provisioning_configs_get(connection, name, optional_params \\ [], opts \\ [])

View Source
@spec baremetalsolution_projects_locations_provisioning_configs_get(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.ProvisioningConfig.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Get ProvisioningConfig by name.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • name (type: String.t) - Required. Name of the ProvisioningConfig.
  • 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").
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.ProvisioningConfig{}} on success
  • {:error, info} on failure
Link to this function

baremetalsolution_projects_locations_provisioning_configs_patch(connection, name, optional_params \\ [], opts \\ [])

View Source
@spec baremetalsolution_projects_locations_provisioning_configs_patch(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.ProvisioningConfig.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Update existing ProvisioningConfig.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • name (type: String.t) - Output only. The system-generated name of the provisioning config. This follows the UUID format.
  • 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").
    • :email (type: String.t) - Optional. Email provided to send a confirmation with provisioning config to.
    • :updateMask (type: String.t) - Required. The list of fields to update.
    • :body (type: GoogleApi.BareMetalSolution.V2.Model.ProvisioningConfig.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.ProvisioningConfig{}} on success
  • {:error, info} on failure
Link to this function

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

View Source
@spec baremetalsolution_projects_locations_provisioning_configs_submit(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok,
   GoogleApi.BareMetalSolution.V2.Model.SubmitProvisioningConfigResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Submit a provisiong configuration for a given project.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • parent (type: String.t) - Required. The parent project and location containing the ProvisioningConfig.
  • 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").
    • :body (type: GoogleApi.BareMetalSolution.V2.Model.SubmitProvisioningConfigRequest.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.SubmitProvisioningConfigResponse{}} on success
  • {:error, info} on failure
Link to this function

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

View Source
@spec baremetalsolution_projects_locations_provisioning_quotas_list(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.ListProvisioningQuotasResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

List the budget details to provision resources on a given project.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • parent (type: String.t) - Required. Parent value for ListProvisioningQuotasRequest.
  • 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").
    • :pageSize (type: integer()) - Requested page size. The server might return fewer items than requested. If unspecified, server will pick an appropriate default. Notice that page_size field is not supported and won't be respected in the API request for now, will be updated when pagination is supported.
    • :pageToken (type: String.t) - A token identifying a page of results from the server.
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.ListProvisioningQuotasResponse{}} on success
  • {:error, info} on failure
Link to this function

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

View Source
@spec baremetalsolution_projects_locations_ssh_keys_create(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.SSHKey.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Register a public SSH key in the specified project for use with the interactive serial console feature.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • parent (type: String.t) - Required. The parent containing the SSH keys.
  • 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").
    • :sshKeyId (type: String.t) - Required. The ID to use for the key, which will become the final component of the key's resource name. This value must match the regex: [a-zA-Z0-9@.-_]{1,64}
    • :body (type: GoogleApi.BareMetalSolution.V2.Model.SSHKey.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.SSHKey{}} on success
  • {:error, info} on failure
Link to this function

baremetalsolution_projects_locations_ssh_keys_delete(connection, name, optional_params \\ [], opts \\ [])

View Source
@spec baremetalsolution_projects_locations_ssh_keys_delete(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.Empty.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Deletes a public SSH key registered in the specified project.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • name (type: String.t) - Required. The name of the SSH key to delete. Currently, the only valid value for the location is "global".
  • 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").
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.Empty{}} on success
  • {:error, info} on failure
Link to this function

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

View Source
@spec baremetalsolution_projects_locations_ssh_keys_list(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.ListSSHKeysResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Lists the public SSH keys registered for the specified project. These SSH keys are used only for the interactive serial console feature.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • parent (type: String.t) - Required. The parent containing the SSH keys. Currently, the only valid value for the location is "global".
  • 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").
    • :pageSize (type: integer()) - The maximum number of items to return.
    • :pageToken (type: String.t) - The next_page_token value returned from a previous List request, if any.
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.ListSSHKeysResponse{}} on success
  • {:error, info} on failure
Link to this function

baremetalsolution_projects_locations_volumes_evict(connection, name, optional_params \\ [], opts \\ [])

View Source
@spec baremetalsolution_projects_locations_volumes_evict(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.Operation.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Skips volume's cooloff and deletes it now. Volume must be in cooloff state.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • name (type: String.t) - Required. The name of the Volume.
  • 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").
    • :body (type: GoogleApi.BareMetalSolution.V2.Model.EvictVolumeRequest.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.Operation{}} on success
  • {:error, info} on failure
Link to this function

baremetalsolution_projects_locations_volumes_get(connection, name, optional_params \\ [], opts \\ [])

View Source
@spec baremetalsolution_projects_locations_volumes_get(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.Volume.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Get details of a single storage volume.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • name (type: String.t) - Required. Name of the resource.
  • 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").
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.Volume{}} on success
  • {:error, info} on failure
Link to this function

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

View Source
@spec baremetalsolution_projects_locations_volumes_list(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.ListVolumesResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

List storage volumes in a given project and location.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • parent (type: String.t) - Required. Parent value for ListVolumesRequest.
  • 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").
    • :filter (type: String.t) - List filter.
    • :pageSize (type: integer()) - Requested page size. The server might return fewer items than requested. If unspecified, server will pick an appropriate default.
    • :pageToken (type: String.t) - A token identifying a page of results from the server.
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.ListVolumesResponse{}} on success
  • {:error, info} on failure
Link to this function

baremetalsolution_projects_locations_volumes_luns_evict(connection, name, optional_params \\ [], opts \\ [])

View Source
@spec baremetalsolution_projects_locations_volumes_luns_evict(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.Operation.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Skips lun's cooloff and deletes it now. Lun must be in cooloff state.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • name (type: String.t) - Required. The name of the lun.
  • 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").
    • :body (type: GoogleApi.BareMetalSolution.V2.Model.EvictLunRequest.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.Operation{}} on success
  • {:error, info} on failure
Link to this function

baremetalsolution_projects_locations_volumes_luns_get(connection, name, optional_params \\ [], opts \\ [])

View Source
@spec baremetalsolution_projects_locations_volumes_luns_get(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.Lun.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Get details of a single storage logical unit number(LUN).

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • name (type: String.t) - Required. Name of the resource.
  • 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").
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.Lun{}} on success
  • {:error, info} on failure
Link to this function

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

View Source
@spec baremetalsolution_projects_locations_volumes_luns_list(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.ListLunsResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

List storage volume luns for given storage volume.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • parent (type: String.t) - Required. Parent value for ListLunsRequest.
  • 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").
    • :pageSize (type: integer()) - Requested page size. The server might return fewer items than requested. If unspecified, server will pick an appropriate default.
    • :pageToken (type: String.t) - A token identifying a page of results from the server.
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.ListLunsResponse{}} on success
  • {:error, info} on failure
Link to this function

baremetalsolution_projects_locations_volumes_patch(connection, name, optional_params \\ [], opts \\ [])

View Source
@spec baremetalsolution_projects_locations_volumes_patch(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.Operation.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Update details of a single storage volume.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • name (type: String.t) - Output only. The resource name of this Volume. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: projects/{project}/locations/{location}/volumes/{volume}
  • 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").
    • :updateMask (type: String.t) - The list of fields to update. The only currently supported fields are: 'labels'
    • :body (type: GoogleApi.BareMetalSolution.V2.Model.Volume.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.Operation{}} on success
  • {:error, info} on failure
Link to this function

baremetalsolution_projects_locations_volumes_rename(connection, name, optional_params \\ [], opts \\ [])

View Source
@spec baremetalsolution_projects_locations_volumes_rename(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.Volume.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

RenameVolume sets a new name for a volume. Use with caution, previous names become immediately invalidated.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • name (type: String.t) - Required. The name field is used to identify the volume. Format: projects/{project}/locations/{location}/volumes/{volume}
  • 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").
    • :body (type: GoogleApi.BareMetalSolution.V2.Model.RenameVolumeRequest.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.Volume{}} on success
  • {:error, info} on failure
Link to this function

baremetalsolution_projects_locations_volumes_resize(connection, volume, optional_params \\ [], opts \\ [])

View Source
@spec baremetalsolution_projects_locations_volumes_resize(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.Operation.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Emergency Volume resize.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • volume (type: String.t) - Required. Volume to resize.
  • 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").
    • :body (type: GoogleApi.BareMetalSolution.V2.Model.ResizeVolumeRequest.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.Operation{}} on success
  • {:error, info} on failure
Link to this function

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

View Source
@spec baremetalsolution_projects_locations_volumes_snapshots_create(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.VolumeSnapshot.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Takes a snapshot of a boot volume. Returns INVALID_ARGUMENT if called for a non-boot volume.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • parent (type: String.t) - Required. The volume to snapshot.
  • 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").
    • :body (type: GoogleApi.BareMetalSolution.V2.Model.VolumeSnapshot.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.VolumeSnapshot{}} on success
  • {:error, info} on failure
Link to this function

baremetalsolution_projects_locations_volumes_snapshots_delete(connection, name, optional_params \\ [], opts \\ [])

View Source
@spec baremetalsolution_projects_locations_volumes_snapshots_delete(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.Empty.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Deletes a volume snapshot. Returns INVALID_ARGUMENT if called for a non-boot volume.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • name (type: String.t) - Required. The name of the snapshot to delete.
  • 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").
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.Empty{}} on success
  • {:error, info} on failure
Link to this function

baremetalsolution_projects_locations_volumes_snapshots_get(connection, name, optional_params \\ [], opts \\ [])

View Source
@spec baremetalsolution_projects_locations_volumes_snapshots_get(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.VolumeSnapshot.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Returns the specified snapshot resource. Returns INVALID_ARGUMENT if called for a non-boot volume.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • name (type: String.t) - Required. The name of the snapshot.
  • 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").
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.VolumeSnapshot{}} on success
  • {:error, info} on failure
Link to this function

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

View Source
@spec baremetalsolution_projects_locations_volumes_snapshots_list(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.ListVolumeSnapshotsResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Retrieves the list of snapshots for the specified volume. Returns a response with an empty list of snapshots if called for a non-boot volume.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • parent (type: String.t) - Required. Parent value for ListVolumesRequest.
  • 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").
    • :pageSize (type: integer()) - Requested page size. The server might return fewer items than requested. If unspecified, server will pick an appropriate default.
    • :pageToken (type: String.t) - A token identifying a page of results from the server.
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.ListVolumeSnapshotsResponse{}} on success
  • {:error, info} on failure
Link to this function

baremetalsolution_projects_locations_volumes_snapshots_restore_volume_snapshot(connection, volume_snapshot, optional_params \\ [], opts \\ [])

View Source
@spec baremetalsolution_projects_locations_volumes_snapshots_restore_volume_snapshot(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.BareMetalSolution.V2.Model.Operation.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Uses the specified snapshot to restore its parent volume. Returns INVALID_ARGUMENT if called for a non-boot volume.

Parameters

  • connection (type: GoogleApi.BareMetalSolution.V2.Connection.t) - Connection to server
  • volume_snapshot (type: String.t) - Required. Name of the snapshot which will be used to restore its parent volume.
  • 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").
    • :body (type: GoogleApi.BareMetalSolution.V2.Model.RestoreVolumeSnapshotRequest.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.BareMetalSolution.V2.Model.Operation{}} on success
  • {:error, info} on failure