Summary of entries of Methods for eventarcpublishing.
google.cloud.eventarc_publishing_v1.services.publisher.PublisherAsyncClient
PublisherAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.eventarc_publishing_v1.services.publisher.transports.base.PublisherTransport, typing.Callable[[...], google.cloud.eventarc_publishing_v1.services.publisher.transports.base.PublisherTransport]]] = '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 publisher async client.
See more: google.cloud.eventarc_publishing_v1.services.publisher.PublisherAsyncClient
google.cloud.eventarc_publishing_v1.services.publisher.PublisherAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.eventarc_publishing_v1.services.publisher.PublisherAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.eventarc_publishing_v1.services.publisher.PublisherAsyncClient.common_folder_path
google.cloud.eventarc_publishing_v1.services.publisher.PublisherAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.eventarc_publishing_v1.services.publisher.PublisherAsyncClient.common_location_path
google.cloud.eventarc_publishing_v1.services.publisher.PublisherAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.eventarc_publishing_v1.services.publisher.PublisherAsyncClient.common_organization_path
google.cloud.eventarc_publishing_v1.services.publisher.PublisherAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.eventarc_publishing_v1.services.publisher.PublisherAsyncClient.common_project_path
google.cloud.eventarc_publishing_v1.services.publisher.PublisherAsyncClient.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.eventarc_publishing_v1.services.publisher.PublisherAsyncClient.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.eventarc_publishing_v1.services.publisher.PublisherAsyncClient.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.eventarc_publishing_v1.services.publisher.PublisherAsyncClient.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.eventarc_publishing_v1.services.publisher.PublisherAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.eventarc_publishing_v1.services.publisher.transports.base.PublisherTransport
]
Returns an appropriate transport class.
See more: google.cloud.eventarc_publishing_v1.services.publisher.PublisherAsyncClient.get_transport_class
google.cloud.eventarc_publishing_v1.services.publisher.PublisherAsyncClient.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.eventarc_publishing_v1.services.publisher.PublisherAsyncClient.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.eventarc_publishing_v1.services.publisher.PublisherAsyncClient.parse_common_folder_path
google.cloud.eventarc_publishing_v1.services.publisher.PublisherAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.eventarc_publishing_v1.services.publisher.PublisherAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.eventarc_publishing_v1.services.publisher.PublisherAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.eventarc_publishing_v1.services.publisher.PublisherAsyncClient.publish_channel_connection_events
publish_channel_connection_events(
request: typing.Optional[
typing.Union[
google.cloud.eventarc_publishing_v1.types.publisher.PublishChannelConnectionEventsRequest,
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, str]] = ()
) -> (
google.cloud.eventarc_publishing_v1.types.publisher.PublishChannelConnectionEventsResponse
)
Publish events to a ChannelConnection in a partner's project.
google.cloud.eventarc_publishing_v1.services.publisher.PublisherAsyncClient.publish_events
publish_events(
request: typing.Optional[
typing.Union[
google.cloud.eventarc_publishing_v1.types.publisher.PublishEventsRequest,
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, str]] = ()
) -> google.cloud.eventarc_publishing_v1.types.publisher.PublishEventsResponse
Publish events to a subscriber's channel.
See more: google.cloud.eventarc_publishing_v1.services.publisher.PublisherAsyncClient.publish_events
google.cloud.eventarc_publishing_v1.services.publisher.PublisherClient
PublisherClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.eventarc_publishing_v1.services.publisher.transports.base.PublisherTransport, typing.Callable[[...], google.cloud.eventarc_publishing_v1.services.publisher.transports.base.PublisherTransport]]] = 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 publisher client.
See more: google.cloud.eventarc_publishing_v1.services.publisher.PublisherClient
google.cloud.eventarc_publishing_v1.services.publisher.PublisherClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.eventarc_publishing_v1.services.publisher.PublisherClient.exit
google.cloud.eventarc_publishing_v1.services.publisher.PublisherClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
See more: google.cloud.eventarc_publishing_v1.services.publisher.PublisherClient.common_billing_account_path
google.cloud.eventarc_publishing_v1.services.publisher.PublisherClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.eventarc_publishing_v1.services.publisher.PublisherClient.common_folder_path
google.cloud.eventarc_publishing_v1.services.publisher.PublisherClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.eventarc_publishing_v1.services.publisher.PublisherClient.common_location_path
google.cloud.eventarc_publishing_v1.services.publisher.PublisherClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.eventarc_publishing_v1.services.publisher.PublisherClient.common_organization_path
google.cloud.eventarc_publishing_v1.services.publisher.PublisherClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.eventarc_publishing_v1.services.publisher.PublisherClient.common_project_path
google.cloud.eventarc_publishing_v1.services.publisher.PublisherClient.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.eventarc_publishing_v1.services.publisher.PublisherClient.from_service_account_file
google.cloud.eventarc_publishing_v1.services.publisher.PublisherClient.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.eventarc_publishing_v1.services.publisher.PublisherClient.from_service_account_info
google.cloud.eventarc_publishing_v1.services.publisher.PublisherClient.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.eventarc_publishing_v1.services.publisher.PublisherClient.from_service_account_json
google.cloud.eventarc_publishing_v1.services.publisher.PublisherClient.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.eventarc_publishing_v1.services.publisher.PublisherClient.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.eventarc_publishing_v1.services.publisher.PublisherClient.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.eventarc_publishing_v1.services.publisher.PublisherClient.parse_common_folder_path
google.cloud.eventarc_publishing_v1.services.publisher.PublisherClient.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.eventarc_publishing_v1.services.publisher.PublisherClient.parse_common_location_path
google.cloud.eventarc_publishing_v1.services.publisher.PublisherClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.eventarc_publishing_v1.services.publisher.PublisherClient.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.eventarc_publishing_v1.services.publisher.PublisherClient.parse_common_project_path
google.cloud.eventarc_publishing_v1.services.publisher.PublisherClient.publish_channel_connection_events
publish_channel_connection_events(
request: typing.Optional[
typing.Union[
google.cloud.eventarc_publishing_v1.types.publisher.PublishChannelConnectionEventsRequest,
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, str]] = ()
) -> (
google.cloud.eventarc_publishing_v1.types.publisher.PublishChannelConnectionEventsResponse
)
Publish events to a ChannelConnection in a partner's project.
google.cloud.eventarc_publishing_v1.services.publisher.PublisherClient.publish_events
publish_events(
request: typing.Optional[
typing.Union[
google.cloud.eventarc_publishing_v1.types.publisher.PublishEventsRequest,
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, str]] = ()
) -> google.cloud.eventarc_publishing_v1.types.publisher.PublishEventsResponse
Publish events to a subscriber's channel.
See more: google.cloud.eventarc_publishing_v1.services.publisher.PublisherClient.publish_events