# Package Methods (1.16.0)

1.16.0 (latest) 1.15.0 1.14.0 1.13.0 1.12.0 1.11.0 1.10.1 1.9.5 1.8.0 1.7.2 1.6.1 1.5.0 1.4.3 1.3.3 1.2.2 1.1.0 1.0.1 0.2.2 0.1.0 Summary of entries of Methods for cloudshell.

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient

    CloudShellServiceAsyncClient(
        *,
        credentials: typing.Optional[google.auth.credentials.Credentials] = None,
        transport: typing.Optional[
            typing.Union[
                str,
                google.cloud.shell_v1.services.cloud_shell_service.transports.base.CloudShellServiceTransport,
                typing.Callable[
                    [...],
                    google.cloud.shell_v1.services.cloud_shell_service.transports.base.CloudShellServiceTransport,
                ],
            ]
        ] = "grpc_asyncio",
        client_options: typing.Optional[
            google.api_core.client_options.ClientOptions
        ] = None,
        client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
    )

Instantiates the cloud shell service async client.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceAsyncClient_CloudShellServiceAsyncClient)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.add_public_key

    add_public_key(
        request: typing.Optional[
            typing.Union[google.cloud.shell_v1.types.cloudshell.AddPublicKeyRequest, dict]
        ] = None,
        *,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary_async.AsyncRetry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> google.api_core.operation_async.AsyncOperation

Adds a public SSH key to an environment, allowing clients with
the corresponding private key to connect to that environment via
SSH.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.add_public_key](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceAsyncClient_add_public_key)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.authorize_environment

    authorize_environment(
        request: typing.Optional[
            typing.Union[
                google.cloud.shell_v1.types.cloudshell.AuthorizeEnvironmentRequest, dict
            ]
        ] = None,
        *,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary_async.AsyncRetry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> google.api_core.operation_async.AsyncOperation

Sends OAuth credentials to a running environment on
behalf of a user.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.authorize_environment](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceAsyncClient_authorize_environment)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.common_billing_account_path

    common_billing_account_path(billing_account: str) -> str

Returns a fully-qualified billing_account string.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.common_billing_account_path](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceAsyncClient_common_billing_account_path)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.common_folder_path

    common_folder_path(folder: str) -> str

Returns a fully-qualified folder string.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.common_folder_path](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceAsyncClient_common_folder_path)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.common_location_path

    common_location_path(project: str, location: str) -> str

Returns a fully-qualified location string.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.common_location_path](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceAsyncClient_common_location_path)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.common_organization_path

    common_organization_path(organization: str) -> str

Returns a fully-qualified organization string.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.common_organization_path](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceAsyncClient_common_organization_path)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.common_project_path

    common_project_path(project: str) -> str

Returns a fully-qualified project string.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.common_project_path](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceAsyncClient_common_project_path)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.environment_path

    environment_path(user: str, environment: str) -> str

Returns a fully-qualified environment string.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.environment_path](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceAsyncClient_environment_path)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.from_service_account_file

    from_service_account_file(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials
file.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.from_service_account_file](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceAsyncClient_from_service_account_file)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.from_service_account_info

    from_service_account_info(info: dict, *args, **kwargs)

Creates an instance of this client using the provided credentials
info.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.from_service_account_info](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceAsyncClient_from_service_account_info)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.from_service_account_json

    from_service_account_json(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials
file.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.from_service_account_json](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceAsyncClient_from_service_account_json)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.get_environment

    get_environment(
        request: typing.Optional[
            typing.Union[google.cloud.shell_v1.types.cloudshell.GetEnvironmentRequest, dict]
        ] = None,
        *,
        name: typing.Optional[str] = None,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary_async.AsyncRetry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> google.cloud.shell_v1.types.cloudshell.Environment

Gets an environment.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.get_environment](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceAsyncClient_get_environment)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.get_mtls_endpoint_and_cert_source

    get_mtls_endpoint_and_cert_source(
        client_options: typing.Optional[
            google.api_core.client_options.ClientOptions
        ] = None,
    )

Return the API endpoint and client cert source for mutual TLS.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.get_mtls_endpoint_and_cert_source](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceAsyncClient_get_mtls_endpoint_and_cert_source)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.get_transport_class

    get_transport_class(
        label: typing.Optional[str] = None,
    ) -> typing.Type[
        google.cloud.shell_v1.services.cloud_shell_service.transports.base.CloudShellServiceTransport
    ]

Returns an appropriate transport class.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.get_transport_class](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceAsyncClient_get_transport_class)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.parse_common_billing_account_path

    parse_common_billing_account_path(path: str) -> typing.Dict[str, str]

Parse a billing_account path into its component segments.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.parse_common_billing_account_path](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceAsyncClient_parse_common_billing_account_path)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.parse_common_folder_path

    parse_common_folder_path(path: str) -> typing.Dict[str, str]

Parse a folder path into its component segments.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.parse_common_folder_path](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceAsyncClient_parse_common_folder_path)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.parse_common_location_path

    parse_common_location_path(path: str) -> typing.Dict[str, str]

Parse a location path into its component segments.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.parse_common_location_path](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceAsyncClient_parse_common_location_path)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.parse_common_organization_path

    parse_common_organization_path(path: str) -> typing.Dict[str, str]

Parse a organization path into its component segments.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.parse_common_organization_path](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceAsyncClient_parse_common_organization_path)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.parse_common_project_path

    parse_common_project_path(path: str) -> typing.Dict[str, str]

Parse a project path into its component segments.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.parse_common_project_path](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceAsyncClient_parse_common_project_path)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.parse_environment_path

    parse_environment_path(path: str) -> typing.Dict[str, str]

Parses a environment path into its component segments.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.parse_environment_path](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceAsyncClient_parse_environment_path)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.remove_public_key

    remove_public_key(
        request: typing.Optional[
            typing.Union[
                google.cloud.shell_v1.types.cloudshell.RemovePublicKeyRequest, dict
            ]
        ] = None,
        *,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary_async.AsyncRetry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> google.api_core.operation_async.AsyncOperation

Removes a public SSH key from an environment.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.remove_public_key](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceAsyncClient_remove_public_key)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.start_environment

    start_environment(
        request: typing.Optional[
            typing.Union[
                google.cloud.shell_v1.types.cloudshell.StartEnvironmentRequest, dict
            ]
        ] = None,
        *,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary_async.AsyncRetry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> google.api_core.operation_async.AsyncOperation

Starts an existing environment, allowing clients to
connect to it.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient.start_environment](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceAsyncClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceAsyncClient_start_environment)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient

    CloudShellServiceClient(
        *,
        credentials: typing.Optional[google.auth.credentials.Credentials] = None,
        transport: typing.Optional[
            typing.Union[
                str,
                google.cloud.shell_v1.services.cloud_shell_service.transports.base.CloudShellServiceTransport,
                typing.Callable[
                    [...],
                    google.cloud.shell_v1.services.cloud_shell_service.transports.base.CloudShellServiceTransport,
                ],
            ]
        ] = None,
        client_options: typing.Optional[
            typing.Union[google.api_core.client_options.ClientOptions, dict]
        ] = None,
        client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
    )

Instantiates the cloud shell service client.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceClient_CloudShellServiceClient)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.__exit__

    __exit__(type, value, traceback)

Releases underlying transport's resources.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.**exit**](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceClient___exit__)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.add_public_key

    add_public_key(
        request: typing.Optional[
            typing.Union[google.cloud.shell_v1.types.cloudshell.AddPublicKeyRequest, dict]
        ] = None,
        *,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary.Retry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> google.api_core.operation.Operation

Adds a public SSH key to an environment, allowing clients with
the corresponding private key to connect to that environment via
SSH.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.add_public_key](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceClient_add_public_key)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.authorize_environment

    authorize_environment(
        request: typing.Optional[
            typing.Union[
                google.cloud.shell_v1.types.cloudshell.AuthorizeEnvironmentRequest, dict
            ]
        ] = None,
        *,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary.Retry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> google.api_core.operation.Operation

Sends OAuth credentials to a running environment on
behalf of a user.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.authorize_environment](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceClient_authorize_environment)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.common_billing_account_path

    common_billing_account_path(billing_account: str) -> str

Returns a fully-qualified billing_account string.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.common_billing_account_path](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceClient_common_billing_account_path)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.common_folder_path

    common_folder_path(folder: str) -> str

Returns a fully-qualified folder string.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.common_folder_path](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceClient_common_folder_path)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.common_location_path

    common_location_path(project: str, location: str) -> str

Returns a fully-qualified location string.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.common_location_path](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceClient_common_location_path)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.common_organization_path

    common_organization_path(organization: str) -> str

Returns a fully-qualified organization string.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.common_organization_path](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceClient_common_organization_path)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.common_project_path

    common_project_path(project: str) -> str

Returns a fully-qualified project string.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.common_project_path](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceClient_common_project_path)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.environment_path

    environment_path(user: str, environment: str) -> str

Returns a fully-qualified environment string.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.environment_path](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceClient_environment_path)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.from_service_account_file

    from_service_account_file(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials
file.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.from_service_account_file](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceClient_from_service_account_file)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.from_service_account_info

    from_service_account_info(info: dict, *args, **kwargs)

Creates an instance of this client using the provided credentials
info.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.from_service_account_info](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceClient_from_service_account_info)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.from_service_account_json

    from_service_account_json(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials
file.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.from_service_account_json](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceClient_from_service_account_json)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.get_environment

    get_environment(
        request: typing.Optional[
            typing.Union[google.cloud.shell_v1.types.cloudshell.GetEnvironmentRequest, dict]
        ] = None,
        *,
        name: typing.Optional[str] = None,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary.Retry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> google.cloud.shell_v1.types.cloudshell.Environment

Gets an environment.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.get_environment](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceClient_get_environment)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.get_mtls_endpoint_and_cert_source

    get_mtls_endpoint_and_cert_source(
        client_options: typing.Optional[
            google.api_core.client_options.ClientOptions
        ] = None,
    )

Deprecated.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.get_mtls_endpoint_and_cert_source](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceClient_get_mtls_endpoint_and_cert_source)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.parse_common_billing_account_path

    parse_common_billing_account_path(path: str) -> typing.Dict[str, str]

Parse a billing_account path into its component segments.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.parse_common_billing_account_path](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceClient_parse_common_billing_account_path)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.parse_common_folder_path

    parse_common_folder_path(path: str) -> typing.Dict[str, str]

Parse a folder path into its component segments.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.parse_common_folder_path](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceClient_parse_common_folder_path)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.parse_common_location_path

    parse_common_location_path(path: str) -> typing.Dict[str, str]

Parse a location path into its component segments.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.parse_common_location_path](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceClient_parse_common_location_path)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.parse_common_organization_path

    parse_common_organization_path(path: str) -> typing.Dict[str, str]

Parse a organization path into its component segments.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.parse_common_organization_path](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceClient_parse_common_organization_path)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.parse_common_project_path

    parse_common_project_path(path: str) -> typing.Dict[str, str]

Parse a project path into its component segments.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.parse_common_project_path](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceClient_parse_common_project_path)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.parse_environment_path

    parse_environment_path(path: str) -> typing.Dict[str, str]

Parses a environment path into its component segments.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.parse_environment_path](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceClient_parse_environment_path)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.remove_public_key

    remove_public_key(
        request: typing.Optional[
            typing.Union[
                google.cloud.shell_v1.types.cloudshell.RemovePublicKeyRequest, dict
            ]
        ] = None,
        *,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary.Retry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> google.api_core.operation.Operation

Removes a public SSH key from an environment.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.remove_public_key](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceClient_remove_public_key)

### google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.start_environment

    start_environment(
        request: typing.Optional[
            typing.Union[
                google.cloud.shell_v1.types.cloudshell.StartEnvironmentRequest, dict
            ]
        ] = None,
        *,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary.Retry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> google.api_core.operation.Operation

Starts an existing environment, allowing clients to
connect to it.

See more: [google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient.start_environment](https://cloud.google.com/python/docs/reference/cloudshell/latest/google.cloud.shell_v1.services.cloud_shell_service.CloudShellServiceClient#google_cloud_shell_v1_services_cloud_shell_service_CloudShellServiceClient_start_environment)