Summary of entries of Methods for google-cloud-devicestreaming.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceAsyncClient
DirectAccessServiceAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.devicestreaming_v1.services.direct_access_service.transports.base.DirectAccessServiceTransport, typing.Callable[[...], google.cloud.devicestreaming_v1.services.direct_access_service.transports.base.DirectAccessServiceTransport]]] = 'grpc_asyncio', client_options: typing.Optional[google.api_core.client_options.ClientOptions] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the direct access service async client.
See more: google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceAsyncClient
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceAsyncClient.adb_connect
adb_connect(
requests: typing.Optional[
typing.AsyncIterator[
google.cloud.devicestreaming_v1.types.adb_service.AdbMessage
]
] = 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]]] = ()
) -> typing.Awaitable[
typing.AsyncIterable[
google.cloud.devicestreaming_v1.types.adb_service.DeviceMessage
]
]
Exposes an ADB connection if the device supports ADB.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceAsyncClient.cancel_device_session
cancel_device_session(
request: typing.Optional[
typing.Union[
google.cloud.devicestreaming_v1.types.service.CancelDeviceSessionRequest,
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]]] = ()
) -> None
Cancel a DeviceSession.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceAsyncClient.create_device_session
create_device_session(
request: typing.Optional[
typing.Union[
google.cloud.devicestreaming_v1.types.service.CreateDeviceSessionRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
device_session: typing.Optional[
google.cloud.devicestreaming_v1.types.service.DeviceSession
] = None,
device_session_id: 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.devicestreaming_v1.types.service.DeviceSession
Creates a DeviceSession.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceAsyncClient.device_session_path
device_session_path(project: str, device_session: str) -> str
Returns a fully-qualified device_session string.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceAsyncClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceAsyncClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceAsyncClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceAsyncClient.get_device_session
get_device_session(
request: typing.Optional[
typing.Union[
google.cloud.devicestreaming_v1.types.service.GetDeviceSessionRequest, 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.devicestreaming_v1.types.service.DeviceSession
Gets a DeviceSession, which documents the allocation status and whether the device is allocated.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceAsyncClient.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.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.devicestreaming_v1.services.direct_access_service.transports.base.DirectAccessServiceTransport
]
Returns an appropriate transport class.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceAsyncClient.list_device_sessions
list_device_sessions(
request: typing.Optional[
typing.Union[
google.cloud.devicestreaming_v1.types.service.ListDeviceSessionsRequest,
dict,
]
] = None,
*,
parent: 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.devicestreaming_v1.services.direct_access_service.pagers.ListDeviceSessionsAsyncPager
)
Lists DeviceSessions owned by the project user.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceAsyncClient.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.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceAsyncClient.parse_device_session_path
parse_device_session_path(path: str) -> typing.Dict[str, str]
Parses a device_session path into its component segments.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceAsyncClient.update_device_session
update_device_session(
request: typing.Optional[
typing.Union[
google.cloud.devicestreaming_v1.types.service.UpdateDeviceSessionRequest,
dict,
]
] = None,
*,
device_session: typing.Optional[
google.cloud.devicestreaming_v1.types.service.DeviceSession
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = 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.devicestreaming_v1.types.service.DeviceSession
Updates the current DeviceSession to the fields described by the update_mask.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceClient
DirectAccessServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.devicestreaming_v1.services.direct_access_service.transports.base.DirectAccessServiceTransport, typing.Callable[[...], google.cloud.devicestreaming_v1.services.direct_access_service.transports.base.DirectAccessServiceTransport]]] = 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 =
Instantiates the direct access service client.
See more: google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceClient
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceClient.exit
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceClient.adb_connect
adb_connect(
requests: typing.Optional[
typing.Iterator[google.cloud.devicestreaming_v1.types.adb_service.AdbMessage]
] = 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]]] = ()
) -> typing.Iterable[google.cloud.devicestreaming_v1.types.adb_service.DeviceMessage]
Exposes an ADB connection if the device supports ADB.
See more: google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceClient.adb_connect
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceClient.cancel_device_session
cancel_device_session(
request: typing.Optional[
typing.Union[
google.cloud.devicestreaming_v1.types.service.CancelDeviceSessionRequest,
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]]] = ()
) -> None
Cancel a DeviceSession.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceClient.create_device_session
create_device_session(
request: typing.Optional[
typing.Union[
google.cloud.devicestreaming_v1.types.service.CreateDeviceSessionRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
device_session: typing.Optional[
google.cloud.devicestreaming_v1.types.service.DeviceSession
] = None,
device_session_id: 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.devicestreaming_v1.types.service.DeviceSession
Creates a DeviceSession.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceClient.device_session_path
device_session_path(project: str, device_session: str) -> str
Returns a fully-qualified device_session string.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceClient.get_device_session
get_device_session(
request: typing.Optional[
typing.Union[
google.cloud.devicestreaming_v1.types.service.GetDeviceSessionRequest, 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.devicestreaming_v1.types.service.DeviceSession
Gets a DeviceSession, which documents the allocation status and whether the device is allocated.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceClient.list_device_sessions
list_device_sessions(
request: typing.Optional[
typing.Union[
google.cloud.devicestreaming_v1.types.service.ListDeviceSessionsRequest,
dict,
]
] = None,
*,
parent: 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.devicestreaming_v1.services.direct_access_service.pagers.ListDeviceSessionsPager
)
Lists DeviceSessions owned by the project user.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceClient.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.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceClient.parse_device_session_path
parse_device_session_path(path: str) -> typing.Dict[str, str]
Parses a device_session path into its component segments.
google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceClient.update_device_session
update_device_session(
request: typing.Optional[
typing.Union[
google.cloud.devicestreaming_v1.types.service.UpdateDeviceSessionRequest,
dict,
]
] = None,
*,
device_session: typing.Optional[
google.cloud.devicestreaming_v1.types.service.DeviceSession
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = 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.devicestreaming_v1.types.service.DeviceSession
Updates the current DeviceSession to the fields described by the update_mask.
google.cloud.devicestreaming_v1.services.direct_access_service.pagers.ListDeviceSessionsAsyncPager
ListDeviceSessionsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.devicestreaming_v1.types.service.ListDeviceSessionsResponse
],
],
request: google.cloud.devicestreaming_v1.types.service.ListDeviceSessionsRequest,
response: google.cloud.devicestreaming_v1.types.service.ListDeviceSessionsResponse,
*,
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]]] = ()
)
Instantiates the pager.
See more: google.cloud.devicestreaming_v1.services.direct_access_service.pagers.ListDeviceSessionsAsyncPager
google.cloud.devicestreaming_v1.services.direct_access_service.pagers.ListDeviceSessionsPager
ListDeviceSessionsPager(
method: typing.Callable[
[...], google.cloud.devicestreaming_v1.types.service.ListDeviceSessionsResponse
],
request: google.cloud.devicestreaming_v1.types.service.ListDeviceSessionsRequest,
response: google.cloud.devicestreaming_v1.types.service.ListDeviceSessionsResponse,
*,
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]]] = ()
)
Instantiate the pager.
See more: google.cloud.devicestreaming_v1.services.direct_access_service.pagers.ListDeviceSessionsPager