Summary of entries of Methods for monitoring.
google.cloud.monitoring_v3.query.Query.__deepcopy__
__deepcopy__(memo)
Create a deepcopy of the query object.
google.cloud.monitoring_v3.query.Query.align
align(per_series_aligner, seconds=0, minutes=0, hours=0)
Copy the query and add temporal alignment.
google.cloud.monitoring_v3.query.Query.as_dataframe
as_dataframe(label=None, labels=None)
Return all the selected time series as a pandas
dataframe.
See more: google.cloud.monitoring_v3.query.Query.as_dataframe
google.cloud.monitoring_v3.query.Query.iter
iter(headers_only=False, page_size=None)
Yield all time series objects selected by the query.
google.cloud.monitoring_v3.query.Query.reduce
reduce(cross_series_reducer, *group_by_fields)
Copy the query and add cross-series reduction.
google.cloud.monitoring_v3.query.Query.select_group
select_group(group_id)
Copy the query and add filtering by group.
See more: google.cloud.monitoring_v3.query.Query.select_group
google.cloud.monitoring_v3.query.Query.select_interval
select_interval(end_time, start_time=None)
Copy the query and set the query time interval.
See more: google.cloud.monitoring_v3.query.Query.select_interval
google.cloud.monitoring_v3.query.Query.select_metrics
select_metrics(*args, **kwargs)
Copy the query and add filtering by metric labels.
See more: google.cloud.monitoring_v3.query.Query.select_metrics
google.cloud.monitoring_v3.query.Query.select_projects
select_projects(*args)
Copy the query and add filtering by monitored projects.
See more: google.cloud.monitoring_v3.query.Query.select_projects
google.cloud.monitoring_v3.query.Query.select_resources
select_resources(*args, **kwargs)
Copy the query and add filtering by resource labels.
See more: google.cloud.monitoring_v3.query.Query.select_resources
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceAsyncClient
AlertPolicyServiceAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.monitoring_v3.services.alert_policy_service.transports.base.AlertPolicyServiceTransport, typing.Callable[[...], google.cloud.monitoring_v3.services.alert_policy_service.transports.base.AlertPolicyServiceTransport]]] = '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 alert policy service async client.
See more: google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceAsyncClient
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceAsyncClient.alert_policy_condition_path
alert_policy_condition_path(project: str, alert_policy: str, condition: str) -> str
Returns a fully-qualified alert_policy_condition string.
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceAsyncClient.alert_policy_path
alert_policy_path(project: str, alert_policy: str) -> str
Returns a fully-qualified alert_policy string.
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceAsyncClient.create_alert_policy
create_alert_policy(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.alert_service.CreateAlertPolicyRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
alert_policy: typing.Optional[
google.cloud.monitoring_v3.types.alert.AlertPolicy
] = 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.monitoring_v3.types.alert.AlertPolicy
Creates a new alerting policy.
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceAsyncClient.delete_alert_policy
delete_alert_policy(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.alert_service.DeleteAlertPolicyRequest,
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, str]] = ()
) -> None
Deletes an alerting policy.
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceAsyncClient.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.monitoring_v3.services.alert_policy_service.AlertPolicyServiceAsyncClient.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.monitoring_v3.services.alert_policy_service.AlertPolicyServiceAsyncClient.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.monitoring_v3.services.alert_policy_service.AlertPolicyServiceAsyncClient.get_alert_policy
get_alert_policy(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.alert_service.GetAlertPolicyRequest, 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, str]] = ()
) -> google.cloud.monitoring_v3.types.alert.AlertPolicy
Gets a single alerting policy.
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceAsyncClient.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.monitoring_v3.services.alert_policy_service.AlertPolicyServiceAsyncClient.get_transport_class
get_transport_class() -> (
typing.Type[
google.cloud.monitoring_v3.services.alert_policy_service.transports.base.AlertPolicyServiceTransport
]
)
Returns an appropriate transport class.
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceAsyncClient.list_alert_policies
list_alert_policies(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.alert_service.ListAlertPoliciesRequest,
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, str]] = ()
) -> (
google.cloud.monitoring_v3.services.alert_policy_service.pagers.ListAlertPoliciesAsyncPager
)
Lists the existing alerting policies for the workspace.
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceAsyncClient.parse_alert_policy_condition_path
parse_alert_policy_condition_path(path: str) -> typing.Dict[str, str]
Parses a alert_policy_condition path into its component segments.
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceAsyncClient.parse_alert_policy_path
parse_alert_policy_path(path: str) -> typing.Dict[str, str]
Parses a alert_policy path into its component segments.
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceAsyncClient.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.monitoring_v3.services.alert_policy_service.AlertPolicyServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceAsyncClient.update_alert_policy
update_alert_policy(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.alert_service.UpdateAlertPolicyRequest,
dict,
]
] = None,
*,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
alert_policy: typing.Optional[
google.cloud.monitoring_v3.types.alert.AlertPolicy
] = 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.monitoring_v3.types.alert.AlertPolicy
Updates an alerting policy.
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceClient
AlertPolicyServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.monitoring_v3.services.alert_policy_service.transports.base.AlertPolicyServiceTransport, typing.Callable[[...], google.cloud.monitoring_v3.services.alert_policy_service.transports.base.AlertPolicyServiceTransport]]] = 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 alert policy service client.
See more: google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceClient
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceClient.exit
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceClient.alert_policy_condition_path
alert_policy_condition_path(project: str, alert_policy: str, condition: str) -> str
Returns a fully-qualified alert_policy_condition string.
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceClient.alert_policy_path
alert_policy_path(project: str, alert_policy: str) -> str
Returns a fully-qualified alert_policy string.
See more: google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceClient.alert_policy_path
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceClient.common_folder_path
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceClient.create_alert_policy
create_alert_policy(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.alert_service.CreateAlertPolicyRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
alert_policy: typing.Optional[
google.cloud.monitoring_v3.types.alert.AlertPolicy
] = 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.monitoring_v3.types.alert.AlertPolicy
Creates a new alerting policy.
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceClient.delete_alert_policy
delete_alert_policy(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.alert_service.DeleteAlertPolicyRequest,
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, str]] = ()
) -> None
Deletes an alerting policy.
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceClient.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.monitoring_v3.services.alert_policy_service.AlertPolicyServiceClient.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.monitoring_v3.services.alert_policy_service.AlertPolicyServiceClient.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.monitoring_v3.services.alert_policy_service.AlertPolicyServiceClient.get_alert_policy
get_alert_policy(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.alert_service.GetAlertPolicyRequest, 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, str]] = ()
) -> google.cloud.monitoring_v3.types.alert.AlertPolicy
Gets a single alerting policy.
See more: google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceClient.get_alert_policy
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceClient.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.monitoring_v3.services.alert_policy_service.AlertPolicyServiceClient.list_alert_policies
list_alert_policies(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.alert_service.ListAlertPoliciesRequest,
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, str]] = ()
) -> (
google.cloud.monitoring_v3.services.alert_policy_service.pagers.ListAlertPoliciesPager
)
Lists the existing alerting policies for the workspace.
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceClient.parse_alert_policy_condition_path
parse_alert_policy_condition_path(path: str) -> typing.Dict[str, str]
Parses a alert_policy_condition path into its component segments.
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceClient.parse_alert_policy_path
parse_alert_policy_path(path: str) -> typing.Dict[str, str]
Parses a alert_policy path into its component segments.
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceClient.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.monitoring_v3.services.alert_policy_service.AlertPolicyServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.monitoring_v3.services.alert_policy_service.AlertPolicyServiceClient.update_alert_policy
update_alert_policy(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.alert_service.UpdateAlertPolicyRequest,
dict,
]
] = None,
*,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
alert_policy: typing.Optional[
google.cloud.monitoring_v3.types.alert.AlertPolicy
] = 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.monitoring_v3.types.alert.AlertPolicy
Updates an alerting policy.
google.cloud.monitoring_v3.services.alert_policy_service.pagers.ListAlertPoliciesAsyncPager
ListAlertPoliciesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.monitoring_v3.types.alert_service.ListAlertPoliciesResponse
],
],
request: google.cloud.monitoring_v3.types.alert_service.ListAlertPoliciesRequest,
response: google.cloud.monitoring_v3.types.alert_service.ListAlertPoliciesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.monitoring_v3.services.alert_policy_service.pagers.ListAlertPoliciesAsyncPager
google.cloud.monitoring_v3.services.alert_policy_service.pagers.ListAlertPoliciesPager
ListAlertPoliciesPager(
method: typing.Callable[
[...], google.cloud.monitoring_v3.types.alert_service.ListAlertPoliciesResponse
],
request: google.cloud.monitoring_v3.types.alert_service.ListAlertPoliciesRequest,
response: google.cloud.monitoring_v3.types.alert_service.ListAlertPoliciesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.monitoring_v3.services.alert_policy_service.pagers.ListAlertPoliciesPager
google.cloud.monitoring_v3.services.group_service.GroupServiceAsyncClient
GroupServiceAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.monitoring_v3.services.group_service.transports.base.GroupServiceTransport, typing.Callable[[...], google.cloud.monitoring_v3.services.group_service.transports.base.GroupServiceTransport]]] = '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 group service async client.
See more: google.cloud.monitoring_v3.services.group_service.GroupServiceAsyncClient
google.cloud.monitoring_v3.services.group_service.GroupServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.monitoring_v3.services.group_service.GroupServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.monitoring_v3.services.group_service.GroupServiceAsyncClient.common_folder_path
google.cloud.monitoring_v3.services.group_service.GroupServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.monitoring_v3.services.group_service.GroupServiceAsyncClient.common_location_path
google.cloud.monitoring_v3.services.group_service.GroupServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.monitoring_v3.services.group_service.GroupServiceAsyncClient.common_organization_path
google.cloud.monitoring_v3.services.group_service.GroupServiceAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.monitoring_v3.services.group_service.GroupServiceAsyncClient.common_project_path
google.cloud.monitoring_v3.services.group_service.GroupServiceAsyncClient.create_group
create_group(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.group_service.CreateGroupRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
group: typing.Optional[google.cloud.monitoring_v3.types.group.Group] = 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.monitoring_v3.types.group.Group
Creates a new group.
See more: google.cloud.monitoring_v3.services.group_service.GroupServiceAsyncClient.create_group
google.cloud.monitoring_v3.services.group_service.GroupServiceAsyncClient.delete_group
delete_group(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.group_service.DeleteGroupRequest, 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, str]] = ()
) -> None
Deletes an existing group.
See more: google.cloud.monitoring_v3.services.group_service.GroupServiceAsyncClient.delete_group
google.cloud.monitoring_v3.services.group_service.GroupServiceAsyncClient.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.monitoring_v3.services.group_service.GroupServiceAsyncClient.from_service_account_file
google.cloud.monitoring_v3.services.group_service.GroupServiceAsyncClient.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.monitoring_v3.services.group_service.GroupServiceAsyncClient.from_service_account_info
google.cloud.monitoring_v3.services.group_service.GroupServiceAsyncClient.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.monitoring_v3.services.group_service.GroupServiceAsyncClient.from_service_account_json
google.cloud.monitoring_v3.services.group_service.GroupServiceAsyncClient.get_group
get_group(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.group_service.GetGroupRequest, 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, str]] = ()
) -> google.cloud.monitoring_v3.types.group.Group
Gets a single group.
See more: google.cloud.monitoring_v3.services.group_service.GroupServiceAsyncClient.get_group
google.cloud.monitoring_v3.services.group_service.GroupServiceAsyncClient.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.monitoring_v3.services.group_service.GroupServiceAsyncClient.get_transport_class
get_transport_class() -> (
typing.Type[
google.cloud.monitoring_v3.services.group_service.transports.base.GroupServiceTransport
]
)
Returns an appropriate transport class.
See more: google.cloud.monitoring_v3.services.group_service.GroupServiceAsyncClient.get_transport_class
google.cloud.monitoring_v3.services.group_service.GroupServiceAsyncClient.group_path
group_path(project: str, group: str) -> str
Returns a fully-qualified group string.
See more: google.cloud.monitoring_v3.services.group_service.GroupServiceAsyncClient.group_path
google.cloud.monitoring_v3.services.group_service.GroupServiceAsyncClient.list_group_members
list_group_members(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.group_service.ListGroupMembersRequest, 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, str]] = ()
) -> (
google.cloud.monitoring_v3.services.group_service.pagers.ListGroupMembersAsyncPager
)
Lists the monitored resources that are members of a group.
See more: google.cloud.monitoring_v3.services.group_service.GroupServiceAsyncClient.list_group_members
google.cloud.monitoring_v3.services.group_service.GroupServiceAsyncClient.list_groups
list_groups(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.group_service.ListGroupsRequest, 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, str]] = ()
) -> google.cloud.monitoring_v3.services.group_service.pagers.ListGroupsAsyncPager
Lists the existing groups.
See more: google.cloud.monitoring_v3.services.group_service.GroupServiceAsyncClient.list_groups
google.cloud.monitoring_v3.services.group_service.GroupServiceAsyncClient.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.monitoring_v3.services.group_service.GroupServiceAsyncClient.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.monitoring_v3.services.group_service.GroupServiceAsyncClient.parse_common_folder_path
google.cloud.monitoring_v3.services.group_service.GroupServiceAsyncClient.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.monitoring_v3.services.group_service.GroupServiceAsyncClient.parse_common_location_path
google.cloud.monitoring_v3.services.group_service.GroupServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.monitoring_v3.services.group_service.GroupServiceAsyncClient.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.monitoring_v3.services.group_service.GroupServiceAsyncClient.parse_common_project_path
google.cloud.monitoring_v3.services.group_service.GroupServiceAsyncClient.parse_group_path
parse_group_path(path: str) -> typing.Dict[str, str]
Parses a group path into its component segments.
See more: google.cloud.monitoring_v3.services.group_service.GroupServiceAsyncClient.parse_group_path
google.cloud.monitoring_v3.services.group_service.GroupServiceAsyncClient.update_group
update_group(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.group_service.UpdateGroupRequest, dict
]
] = None,
*,
group: typing.Optional[google.cloud.monitoring_v3.types.group.Group] = 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.monitoring_v3.types.group.Group
Updates an existing group.
See more: google.cloud.monitoring_v3.services.group_service.GroupServiceAsyncClient.update_group
google.cloud.monitoring_v3.services.group_service.GroupServiceClient
GroupServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.monitoring_v3.services.group_service.transports.base.GroupServiceTransport, typing.Callable[[...], google.cloud.monitoring_v3.services.group_service.transports.base.GroupServiceTransport]]] = 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 group service client.
See more: google.cloud.monitoring_v3.services.group_service.GroupServiceClient
google.cloud.monitoring_v3.services.group_service.GroupServiceClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.monitoring_v3.services.group_service.GroupServiceClient.exit
google.cloud.monitoring_v3.services.group_service.GroupServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
See more: google.cloud.monitoring_v3.services.group_service.GroupServiceClient.common_billing_account_path
google.cloud.monitoring_v3.services.group_service.GroupServiceClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.monitoring_v3.services.group_service.GroupServiceClient.common_folder_path
google.cloud.monitoring_v3.services.group_service.GroupServiceClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.monitoring_v3.services.group_service.GroupServiceClient.common_location_path
google.cloud.monitoring_v3.services.group_service.GroupServiceClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.monitoring_v3.services.group_service.GroupServiceClient.common_organization_path
google.cloud.monitoring_v3.services.group_service.GroupServiceClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.monitoring_v3.services.group_service.GroupServiceClient.common_project_path
google.cloud.monitoring_v3.services.group_service.GroupServiceClient.create_group
create_group(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.group_service.CreateGroupRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
group: typing.Optional[google.cloud.monitoring_v3.types.group.Group] = 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.monitoring_v3.types.group.Group
Creates a new group.
See more: google.cloud.monitoring_v3.services.group_service.GroupServiceClient.create_group
google.cloud.monitoring_v3.services.group_service.GroupServiceClient.delete_group
delete_group(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.group_service.DeleteGroupRequest, 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, str]] = ()
) -> None
Deletes an existing group.
See more: google.cloud.monitoring_v3.services.group_service.GroupServiceClient.delete_group
google.cloud.monitoring_v3.services.group_service.GroupServiceClient.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.monitoring_v3.services.group_service.GroupServiceClient.from_service_account_file
google.cloud.monitoring_v3.services.group_service.GroupServiceClient.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.monitoring_v3.services.group_service.GroupServiceClient.from_service_account_info
google.cloud.monitoring_v3.services.group_service.GroupServiceClient.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.monitoring_v3.services.group_service.GroupServiceClient.from_service_account_json
google.cloud.monitoring_v3.services.group_service.GroupServiceClient.get_group
get_group(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.group_service.GetGroupRequest, 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, str]] = ()
) -> google.cloud.monitoring_v3.types.group.Group
Gets a single group.
See more: google.cloud.monitoring_v3.services.group_service.GroupServiceClient.get_group
google.cloud.monitoring_v3.services.group_service.GroupServiceClient.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.monitoring_v3.services.group_service.GroupServiceClient.group_path
group_path(project: str, group: str) -> str
Returns a fully-qualified group string.
See more: google.cloud.monitoring_v3.services.group_service.GroupServiceClient.group_path
google.cloud.monitoring_v3.services.group_service.GroupServiceClient.list_group_members
list_group_members(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.group_service.ListGroupMembersRequest, 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, str]] = ()
) -> google.cloud.monitoring_v3.services.group_service.pagers.ListGroupMembersPager
Lists the monitored resources that are members of a group.
See more: google.cloud.monitoring_v3.services.group_service.GroupServiceClient.list_group_members
google.cloud.monitoring_v3.services.group_service.GroupServiceClient.list_groups
list_groups(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.group_service.ListGroupsRequest, 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, str]] = ()
) -> google.cloud.monitoring_v3.services.group_service.pagers.ListGroupsPager
Lists the existing groups.
See more: google.cloud.monitoring_v3.services.group_service.GroupServiceClient.list_groups
google.cloud.monitoring_v3.services.group_service.GroupServiceClient.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.monitoring_v3.services.group_service.GroupServiceClient.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.monitoring_v3.services.group_service.GroupServiceClient.parse_common_folder_path
google.cloud.monitoring_v3.services.group_service.GroupServiceClient.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.monitoring_v3.services.group_service.GroupServiceClient.parse_common_location_path
google.cloud.monitoring_v3.services.group_service.GroupServiceClient.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.monitoring_v3.services.group_service.GroupServiceClient.parse_common_organization_path
google.cloud.monitoring_v3.services.group_service.GroupServiceClient.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.monitoring_v3.services.group_service.GroupServiceClient.parse_common_project_path
google.cloud.monitoring_v3.services.group_service.GroupServiceClient.parse_group_path
parse_group_path(path: str) -> typing.Dict[str, str]
Parses a group path into its component segments.
See more: google.cloud.monitoring_v3.services.group_service.GroupServiceClient.parse_group_path
google.cloud.monitoring_v3.services.group_service.GroupServiceClient.update_group
update_group(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.group_service.UpdateGroupRequest, dict
]
] = None,
*,
group: typing.Optional[google.cloud.monitoring_v3.types.group.Group] = 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.monitoring_v3.types.group.Group
Updates an existing group.
See more: google.cloud.monitoring_v3.services.group_service.GroupServiceClient.update_group
google.cloud.monitoring_v3.services.group_service.pagers.ListGroupMembersAsyncPager
ListGroupMembersAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.monitoring_v3.types.group_service.ListGroupMembersResponse
],
],
request: google.cloud.monitoring_v3.types.group_service.ListGroupMembersRequest,
response: google.cloud.monitoring_v3.types.group_service.ListGroupMembersResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.monitoring_v3.services.group_service.pagers.ListGroupMembersAsyncPager
google.cloud.monitoring_v3.services.group_service.pagers.ListGroupMembersPager
ListGroupMembersPager(
method: typing.Callable[
[...], google.cloud.monitoring_v3.types.group_service.ListGroupMembersResponse
],
request: google.cloud.monitoring_v3.types.group_service.ListGroupMembersRequest,
response: google.cloud.monitoring_v3.types.group_service.ListGroupMembersResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.monitoring_v3.services.group_service.pagers.ListGroupMembersPager
google.cloud.monitoring_v3.services.group_service.pagers.ListGroupsAsyncPager
ListGroupsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.monitoring_v3.types.group_service.ListGroupsResponse
],
],
request: google.cloud.monitoring_v3.types.group_service.ListGroupsRequest,
response: google.cloud.monitoring_v3.types.group_service.ListGroupsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.monitoring_v3.services.group_service.pagers.ListGroupsAsyncPager
google.cloud.monitoring_v3.services.group_service.pagers.ListGroupsPager
ListGroupsPager(
method: typing.Callable[
[...], google.cloud.monitoring_v3.types.group_service.ListGroupsResponse
],
request: google.cloud.monitoring_v3.types.group_service.ListGroupsRequest,
response: google.cloud.monitoring_v3.types.group_service.ListGroupsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.monitoring_v3.services.group_service.pagers.ListGroupsPager
google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient
MetricServiceAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.monitoring_v3.services.metric_service.transports.base.MetricServiceTransport, typing.Callable[[...], google.cloud.monitoring_v3.services.metric_service.transports.base.MetricServiceTransport]]] = '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 metric service async client.
See more: google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient
google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient.common_folder_path
google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient.common_location_path
google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient.common_organization_path
google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient.common_project_path
google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient.create_metric_descriptor
create_metric_descriptor(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.metric_service.CreateMetricDescriptorRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
metric_descriptor: typing.Optional[google.api.metric_pb2.MetricDescriptor] = 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.api.metric_pb2.MetricDescriptor
Creates a new metric descriptor.
See more: google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient.create_metric_descriptor
google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient.create_service_time_series
create_service_time_series(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.metric_service.CreateTimeSeriesRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
time_series: typing.Optional[
typing.MutableSequence[google.cloud.monitoring_v3.types.metric.TimeSeries]
] = 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]] = ()
) -> None
Creates or adds data to one or more service time series.
google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient.create_time_series
create_time_series(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.metric_service.CreateTimeSeriesRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
time_series: typing.Optional[
typing.MutableSequence[google.cloud.monitoring_v3.types.metric.TimeSeries]
] = 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]] = ()
) -> None
Creates or adds data to one or more time series.
See more: google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient.create_time_series
google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient.delete_metric_descriptor
delete_metric_descriptor(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.metric_service.DeleteMetricDescriptorRequest,
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, str]] = ()
) -> None
Deletes a metric descriptor.
See more: google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient.delete_metric_descriptor
google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient.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.monitoring_v3.services.metric_service.MetricServiceAsyncClient.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.monitoring_v3.services.metric_service.MetricServiceAsyncClient.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.monitoring_v3.services.metric_service.MetricServiceAsyncClient.get_metric_descriptor
get_metric_descriptor(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.metric_service.GetMetricDescriptorRequest,
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, str]] = ()
) -> google.api.metric_pb2.MetricDescriptor
Gets a single metric descriptor.
See more: google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient.get_metric_descriptor
google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient.get_monitored_resource_descriptor
get_monitored_resource_descriptor(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.metric_service.GetMonitoredResourceDescriptorRequest,
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, str]] = ()
) -> google.api.monitored_resource_pb2.MonitoredResourceDescriptor
Gets a single monitored resource descriptor.
google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient.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.monitoring_v3.services.metric_service.MetricServiceAsyncClient.get_transport_class
get_transport_class() -> (
typing.Type[
google.cloud.monitoring_v3.services.metric_service.transports.base.MetricServiceTransport
]
)
Returns an appropriate transport class.
See more: google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient.get_transport_class
google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient.list_metric_descriptors
list_metric_descriptors(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.metric_service.ListMetricDescriptorsRequest,
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, str]] = ()
) -> (
google.cloud.monitoring_v3.services.metric_service.pagers.ListMetricDescriptorsAsyncPager
)
Lists metric descriptors that match a filter.
See more: google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient.list_metric_descriptors
google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient.list_monitored_resource_descriptors
list_monitored_resource_descriptors(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.metric_service.ListMonitoredResourceDescriptorsRequest,
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, str]] = ()
) -> (
google.cloud.monitoring_v3.services.metric_service.pagers.ListMonitoredResourceDescriptorsAsyncPager
)
Lists monitored resource descriptors that match a filter.
google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient.list_time_series
list_time_series(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.metric_service.ListTimeSeriesRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
filter: typing.Optional[str] = None,
interval: typing.Optional[
google.cloud.monitoring_v3.types.common.TimeInterval
] = None,
view: typing.Optional[
google.cloud.monitoring_v3.types.metric_service.ListTimeSeriesRequest.TimeSeriesView
] = 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.monitoring_v3.services.metric_service.pagers.ListTimeSeriesAsyncPager
Lists time series that match a filter.
See more: google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient.list_time_series
google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient.metric_descriptor_path
metric_descriptor_path(project: str, metric_descriptor: str) -> str
Returns a fully-qualified metric_descriptor string.
See more: google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient.metric_descriptor_path
google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient.monitored_resource_descriptor_path
monitored_resource_descriptor_path(
project: str, monitored_resource_descriptor: str
) -> str
Returns a fully-qualified monitored_resource_descriptor string.
google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient.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.monitoring_v3.services.metric_service.MetricServiceAsyncClient.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.monitoring_v3.services.metric_service.MetricServiceAsyncClient.parse_common_folder_path
google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient.parse_metric_descriptor_path
parse_metric_descriptor_path(path: str) -> typing.Dict[str, str]
Parses a metric_descriptor path into its component segments.
google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient.parse_monitored_resource_descriptor_path
parse_monitored_resource_descriptor_path(path: str) -> typing.Dict[str, str]
Parses a monitored_resource_descriptor path into its component segments.
google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient.parse_time_series_path
parse_time_series_path(path: str) -> typing.Dict[str, str]
Parses a time_series path into its component segments.
See more: google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient.parse_time_series_path
google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient.time_series_path
time_series_path(project: str, time_series: str) -> str
Returns a fully-qualified time_series string.
See more: google.cloud.monitoring_v3.services.metric_service.MetricServiceAsyncClient.time_series_path
google.cloud.monitoring_v3.services.metric_service.MetricServiceClient
MetricServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.monitoring_v3.services.metric_service.transports.base.MetricServiceTransport, typing.Callable[[...], google.cloud.monitoring_v3.services.metric_service.transports.base.MetricServiceTransport]]] = 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 metric service client.
See more: google.cloud.monitoring_v3.services.metric_service.MetricServiceClient
google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.exit
google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
See more: google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.common_billing_account_path
google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.common_folder_path
google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.common_location_path
google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.common_organization_path
google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.common_project_path
google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.create_metric_descriptor
create_metric_descriptor(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.metric_service.CreateMetricDescriptorRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
metric_descriptor: typing.Optional[google.api.metric_pb2.MetricDescriptor] = 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.api.metric_pb2.MetricDescriptor
Creates a new metric descriptor.
See more: google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.create_metric_descriptor
google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.create_service_time_series
create_service_time_series(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.metric_service.CreateTimeSeriesRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
time_series: typing.Optional[
typing.MutableSequence[google.cloud.monitoring_v3.types.metric.TimeSeries]
] = 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]] = ()
) -> None
Creates or adds data to one or more service time series.
See more: google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.create_service_time_series
google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.create_time_series
create_time_series(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.metric_service.CreateTimeSeriesRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
time_series: typing.Optional[
typing.MutableSequence[google.cloud.monitoring_v3.types.metric.TimeSeries]
] = 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]] = ()
) -> None
Creates or adds data to one or more time series.
See more: google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.create_time_series
google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.delete_metric_descriptor
delete_metric_descriptor(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.metric_service.DeleteMetricDescriptorRequest,
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, str]] = ()
) -> None
Deletes a metric descriptor.
See more: google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.delete_metric_descriptor
google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.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.monitoring_v3.services.metric_service.MetricServiceClient.from_service_account_file
google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.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.monitoring_v3.services.metric_service.MetricServiceClient.from_service_account_info
google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.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.monitoring_v3.services.metric_service.MetricServiceClient.from_service_account_json
google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.get_metric_descriptor
get_metric_descriptor(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.metric_service.GetMetricDescriptorRequest,
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, str]] = ()
) -> google.api.metric_pb2.MetricDescriptor
Gets a single metric descriptor.
See more: google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.get_metric_descriptor
google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.get_monitored_resource_descriptor
get_monitored_resource_descriptor(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.metric_service.GetMonitoredResourceDescriptorRequest,
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, str]] = ()
) -> google.api.monitored_resource_pb2.MonitoredResourceDescriptor
Gets a single monitored resource descriptor.
google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.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.monitoring_v3.services.metric_service.MetricServiceClient.list_metric_descriptors
list_metric_descriptors(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.metric_service.ListMetricDescriptorsRequest,
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, str]] = ()
) -> (
google.cloud.monitoring_v3.services.metric_service.pagers.ListMetricDescriptorsPager
)
Lists metric descriptors that match a filter.
See more: google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.list_metric_descriptors
google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.list_monitored_resource_descriptors
list_monitored_resource_descriptors(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.metric_service.ListMonitoredResourceDescriptorsRequest,
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, str]] = ()
) -> (
google.cloud.monitoring_v3.services.metric_service.pagers.ListMonitoredResourceDescriptorsPager
)
Lists monitored resource descriptors that match a filter.
google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.list_time_series
list_time_series(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.metric_service.ListTimeSeriesRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
filter: typing.Optional[str] = None,
interval: typing.Optional[
google.cloud.monitoring_v3.types.common.TimeInterval
] = None,
view: typing.Optional[
google.cloud.monitoring_v3.types.metric_service.ListTimeSeriesRequest.TimeSeriesView
] = 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.monitoring_v3.services.metric_service.pagers.ListTimeSeriesPager
Lists time series that match a filter.
See more: google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.list_time_series
google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.metric_descriptor_path
metric_descriptor_path(project: str, metric_descriptor: str) -> str
Returns a fully-qualified metric_descriptor string.
See more: google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.metric_descriptor_path
google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.monitored_resource_descriptor_path
monitored_resource_descriptor_path(
project: str, monitored_resource_descriptor: str
) -> str
Returns a fully-qualified monitored_resource_descriptor string.
google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.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.monitoring_v3.services.metric_service.MetricServiceClient.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.monitoring_v3.services.metric_service.MetricServiceClient.parse_common_folder_path
google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.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.monitoring_v3.services.metric_service.MetricServiceClient.parse_common_location_path
google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.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.monitoring_v3.services.metric_service.MetricServiceClient.parse_common_project_path
google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.parse_metric_descriptor_path
parse_metric_descriptor_path(path: str) -> typing.Dict[str, str]
Parses a metric_descriptor path into its component segments.
See more: google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.parse_metric_descriptor_path
google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.parse_monitored_resource_descriptor_path
parse_monitored_resource_descriptor_path(path: str) -> typing.Dict[str, str]
Parses a monitored_resource_descriptor path into its component segments.
google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.parse_time_series_path
parse_time_series_path(path: str) -> typing.Dict[str, str]
Parses a time_series path into its component segments.
See more: google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.parse_time_series_path
google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.time_series_path
time_series_path(project: str, time_series: str) -> str
Returns a fully-qualified time_series string.
See more: google.cloud.monitoring_v3.services.metric_service.MetricServiceClient.time_series_path
google.cloud.monitoring_v3.services.metric_service.pagers.ListMetricDescriptorsAsyncPager
ListMetricDescriptorsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.monitoring_v3.types.metric_service.ListMetricDescriptorsResponse
],
],
request: google.cloud.monitoring_v3.types.metric_service.ListMetricDescriptorsRequest,
response: google.cloud.monitoring_v3.types.metric_service.ListMetricDescriptorsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.monitoring_v3.services.metric_service.pagers.ListMetricDescriptorsAsyncPager
google.cloud.monitoring_v3.services.metric_service.pagers.ListMetricDescriptorsPager
ListMetricDescriptorsPager(
method: typing.Callable[
[...],
google.cloud.monitoring_v3.types.metric_service.ListMetricDescriptorsResponse,
],
request: google.cloud.monitoring_v3.types.metric_service.ListMetricDescriptorsRequest,
response: google.cloud.monitoring_v3.types.metric_service.ListMetricDescriptorsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.monitoring_v3.services.metric_service.pagers.ListMetricDescriptorsPager
google.cloud.monitoring_v3.services.metric_service.pagers.ListMonitoredResourceDescriptorsAsyncPager
ListMonitoredResourceDescriptorsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.monitoring_v3.types.metric_service.ListMonitoredResourceDescriptorsResponse
],
],
request: google.cloud.monitoring_v3.types.metric_service.ListMonitoredResourceDescriptorsRequest,
response: google.cloud.monitoring_v3.types.metric_service.ListMonitoredResourceDescriptorsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.monitoring_v3.services.metric_service.pagers.ListMonitoredResourceDescriptorsAsyncPager
google.cloud.monitoring_v3.services.metric_service.pagers.ListMonitoredResourceDescriptorsPager
ListMonitoredResourceDescriptorsPager(
method: typing.Callable[
[...],
google.cloud.monitoring_v3.types.metric_service.ListMonitoredResourceDescriptorsResponse,
],
request: google.cloud.monitoring_v3.types.metric_service.ListMonitoredResourceDescriptorsRequest,
response: google.cloud.monitoring_v3.types.metric_service.ListMonitoredResourceDescriptorsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.monitoring_v3.services.metric_service.pagers.ListMonitoredResourceDescriptorsPager
google.cloud.monitoring_v3.services.metric_service.pagers.ListTimeSeriesAsyncPager
ListTimeSeriesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.monitoring_v3.types.metric_service.ListTimeSeriesResponse
],
],
request: google.cloud.monitoring_v3.types.metric_service.ListTimeSeriesRequest,
response: google.cloud.monitoring_v3.types.metric_service.ListTimeSeriesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.monitoring_v3.services.metric_service.pagers.ListTimeSeriesAsyncPager
google.cloud.monitoring_v3.services.metric_service.pagers.ListTimeSeriesPager
ListTimeSeriesPager(
method: typing.Callable[
[...], google.cloud.monitoring_v3.types.metric_service.ListTimeSeriesResponse
],
request: google.cloud.monitoring_v3.types.metric_service.ListTimeSeriesRequest,
response: google.cloud.monitoring_v3.types.metric_service.ListTimeSeriesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.monitoring_v3.services.metric_service.pagers.ListTimeSeriesPager
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceAsyncClient
NotificationChannelServiceAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.monitoring_v3.services.notification_channel_service.transports.base.NotificationChannelServiceTransport, typing.Callable[[...], google.cloud.monitoring_v3.services.notification_channel_service.transports.base.NotificationChannelServiceTransport]]] = '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 notification channel service async client.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceAsyncClient.create_notification_channel
create_notification_channel(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.notification_service.CreateNotificationChannelRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
notification_channel: typing.Optional[
google.cloud.monitoring_v3.types.notification.NotificationChannel
] = 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.monitoring_v3.types.notification.NotificationChannel
Creates a new notification channel, representing a single notification endpoint such as an email address, SMS number, or PagerDuty service.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceAsyncClient.delete_notification_channel
delete_notification_channel(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.notification_service.DeleteNotificationChannelRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
force: typing.Optional[bool] = 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]] = ()
) -> None
Deletes a notification channel.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceAsyncClient.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.monitoring_v3.services.notification_channel_service.NotificationChannelServiceAsyncClient.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.monitoring_v3.services.notification_channel_service.NotificationChannelServiceAsyncClient.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.monitoring_v3.services.notification_channel_service.NotificationChannelServiceAsyncClient.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.monitoring_v3.services.notification_channel_service.NotificationChannelServiceAsyncClient.get_notification_channel
get_notification_channel(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.notification_service.GetNotificationChannelRequest,
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, str]] = ()
) -> google.cloud.monitoring_v3.types.notification.NotificationChannel
Gets a single notification channel.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceAsyncClient.get_notification_channel_descriptor
get_notification_channel_descriptor(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.notification_service.GetNotificationChannelDescriptorRequest,
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, str]] = ()
) -> google.cloud.monitoring_v3.types.notification.NotificationChannelDescriptor
Gets a single channel descriptor.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceAsyncClient.get_notification_channel_verification_code
get_notification_channel_verification_code(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.notification_service.GetNotificationChannelVerificationCodeRequest,
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, str]] = ()
) -> (
google.cloud.monitoring_v3.types.notification_service.GetNotificationChannelVerificationCodeResponse
)
Requests a verification code for an already verified channel that can then be used in a call to VerifyNotificationChannel() on a different channel with an equivalent identity in the same or in a different project.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceAsyncClient.get_transport_class
get_transport_class() -> (
typing.Type[
google.cloud.monitoring_v3.services.notification_channel_service.transports.base.NotificationChannelServiceTransport
]
)
Returns an appropriate transport class.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceAsyncClient.list_notification_channel_descriptors
list_notification_channel_descriptors(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.notification_service.ListNotificationChannelDescriptorsRequest,
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, str]] = ()
) -> (
google.cloud.monitoring_v3.services.notification_channel_service.pagers.ListNotificationChannelDescriptorsAsyncPager
)
Lists the descriptors for supported channel types.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceAsyncClient.list_notification_channels
list_notification_channels(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.notification_service.ListNotificationChannelsRequest,
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, str]] = ()
) -> (
google.cloud.monitoring_v3.services.notification_channel_service.pagers.ListNotificationChannelsAsyncPager
)
Lists the notification channels that have been created for the project.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceAsyncClient.notification_channel_descriptor_path
notification_channel_descriptor_path(project: str, channel_descriptor: str) -> str
Returns a fully-qualified notification_channel_descriptor string.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceAsyncClient.notification_channel_path
notification_channel_path(project: str, notification_channel: str) -> str
Returns a fully-qualified notification_channel string.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceAsyncClient.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.monitoring_v3.services.notification_channel_service.NotificationChannelServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceAsyncClient.parse_notification_channel_descriptor_path
parse_notification_channel_descriptor_path(path: str) -> typing.Dict[str, str]
Parses a notification_channel_descriptor path into its component segments.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceAsyncClient.parse_notification_channel_path
parse_notification_channel_path(path: str) -> typing.Dict[str, str]
Parses a notification_channel path into its component segments.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceAsyncClient.send_notification_channel_verification_code
send_notification_channel_verification_code(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.notification_service.SendNotificationChannelVerificationCodeRequest,
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, str]] = ()
) -> None
Causes a verification code to be delivered to the channel.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceAsyncClient.update_notification_channel
update_notification_channel(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.notification_service.UpdateNotificationChannelRequest,
dict,
]
] = None,
*,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
notification_channel: typing.Optional[
google.cloud.monitoring_v3.types.notification.NotificationChannel
] = 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.monitoring_v3.types.notification.NotificationChannel
Updates a notification channel.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceAsyncClient.verify_notification_channel
verify_notification_channel(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.notification_service.VerifyNotificationChannelRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
code: 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, str]] = ()
) -> google.cloud.monitoring_v3.types.notification.NotificationChannel
Verifies a NotificationChannel
by proving receipt of the
code delivered to the channel as a result of calling
SendNotificationChannelVerificationCode
.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceClient
NotificationChannelServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.monitoring_v3.services.notification_channel_service.transports.base.NotificationChannelServiceTransport, typing.Callable[[...], google.cloud.monitoring_v3.services.notification_channel_service.transports.base.NotificationChannelServiceTransport]]] = 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 notification channel service client.
See more: google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceClient
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceClient.create_notification_channel
create_notification_channel(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.notification_service.CreateNotificationChannelRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
notification_channel: typing.Optional[
google.cloud.monitoring_v3.types.notification.NotificationChannel
] = 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.monitoring_v3.types.notification.NotificationChannel
Creates a new notification channel, representing a single notification endpoint such as an email address, SMS number, or PagerDuty service.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceClient.delete_notification_channel
delete_notification_channel(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.notification_service.DeleteNotificationChannelRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
force: typing.Optional[bool] = 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]] = ()
) -> None
Deletes a notification channel.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceClient.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.monitoring_v3.services.notification_channel_service.NotificationChannelServiceClient.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.monitoring_v3.services.notification_channel_service.NotificationChannelServiceClient.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.monitoring_v3.services.notification_channel_service.NotificationChannelServiceClient.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.monitoring_v3.services.notification_channel_service.NotificationChannelServiceClient.get_notification_channel
get_notification_channel(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.notification_service.GetNotificationChannelRequest,
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, str]] = ()
) -> google.cloud.monitoring_v3.types.notification.NotificationChannel
Gets a single notification channel.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceClient.get_notification_channel_descriptor
get_notification_channel_descriptor(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.notification_service.GetNotificationChannelDescriptorRequest,
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, str]] = ()
) -> google.cloud.monitoring_v3.types.notification.NotificationChannelDescriptor
Gets a single channel descriptor.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceClient.get_notification_channel_verification_code
get_notification_channel_verification_code(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.notification_service.GetNotificationChannelVerificationCodeRequest,
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, str]] = ()
) -> (
google.cloud.monitoring_v3.types.notification_service.GetNotificationChannelVerificationCodeResponse
)
Requests a verification code for an already verified channel that can then be used in a call to VerifyNotificationChannel() on a different channel with an equivalent identity in the same or in a different project.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceClient.list_notification_channel_descriptors
list_notification_channel_descriptors(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.notification_service.ListNotificationChannelDescriptorsRequest,
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, str]] = ()
) -> (
google.cloud.monitoring_v3.services.notification_channel_service.pagers.ListNotificationChannelDescriptorsPager
)
Lists the descriptors for supported channel types.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceClient.list_notification_channels
list_notification_channels(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.notification_service.ListNotificationChannelsRequest,
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, str]] = ()
) -> (
google.cloud.monitoring_v3.services.notification_channel_service.pagers.ListNotificationChannelsPager
)
Lists the notification channels that have been created for the project.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceClient.notification_channel_descriptor_path
notification_channel_descriptor_path(project: str, channel_descriptor: str) -> str
Returns a fully-qualified notification_channel_descriptor string.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceClient.notification_channel_path
notification_channel_path(project: str, notification_channel: str) -> str
Returns a fully-qualified notification_channel string.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceClient.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.monitoring_v3.services.notification_channel_service.NotificationChannelServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceClient.parse_notification_channel_descriptor_path
parse_notification_channel_descriptor_path(path: str) -> typing.Dict[str, str]
Parses a notification_channel_descriptor path into its component segments.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceClient.parse_notification_channel_path
parse_notification_channel_path(path: str) -> typing.Dict[str, str]
Parses a notification_channel path into its component segments.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceClient.send_notification_channel_verification_code
send_notification_channel_verification_code(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.notification_service.SendNotificationChannelVerificationCodeRequest,
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, str]] = ()
) -> None
Causes a verification code to be delivered to the channel.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceClient.update_notification_channel
update_notification_channel(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.notification_service.UpdateNotificationChannelRequest,
dict,
]
] = None,
*,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
notification_channel: typing.Optional[
google.cloud.monitoring_v3.types.notification.NotificationChannel
] = 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.monitoring_v3.types.notification.NotificationChannel
Updates a notification channel.
google.cloud.monitoring_v3.services.notification_channel_service.NotificationChannelServiceClient.verify_notification_channel
verify_notification_channel(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.notification_service.VerifyNotificationChannelRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
code: 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, str]] = ()
) -> google.cloud.monitoring_v3.types.notification.NotificationChannel
Verifies a NotificationChannel
by proving receipt of the
code delivered to the channel as a result of calling
SendNotificationChannelVerificationCode
.
google.cloud.monitoring_v3.services.notification_channel_service.pagers.ListNotificationChannelDescriptorsAsyncPager
ListNotificationChannelDescriptorsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.monitoring_v3.types.notification_service.ListNotificationChannelDescriptorsResponse
],
],
request: google.cloud.monitoring_v3.types.notification_service.ListNotificationChannelDescriptorsRequest,
response: google.cloud.monitoring_v3.types.notification_service.ListNotificationChannelDescriptorsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
google.cloud.monitoring_v3.services.notification_channel_service.pagers.ListNotificationChannelDescriptorsPager
ListNotificationChannelDescriptorsPager(
method: typing.Callable[
[...],
google.cloud.monitoring_v3.types.notification_service.ListNotificationChannelDescriptorsResponse,
],
request: google.cloud.monitoring_v3.types.notification_service.ListNotificationChannelDescriptorsRequest,
response: google.cloud.monitoring_v3.types.notification_service.ListNotificationChannelDescriptorsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
google.cloud.monitoring_v3.services.notification_channel_service.pagers.ListNotificationChannelsAsyncPager
ListNotificationChannelsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.monitoring_v3.types.notification_service.ListNotificationChannelsResponse
],
],
request: google.cloud.monitoring_v3.types.notification_service.ListNotificationChannelsRequest,
response: google.cloud.monitoring_v3.types.notification_service.ListNotificationChannelsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
google.cloud.monitoring_v3.services.notification_channel_service.pagers.ListNotificationChannelsPager
ListNotificationChannelsPager(
method: typing.Callable[
[...],
google.cloud.monitoring_v3.types.notification_service.ListNotificationChannelsResponse,
],
request: google.cloud.monitoring_v3.types.notification_service.ListNotificationChannelsRequest,
response: google.cloud.monitoring_v3.types.notification_service.ListNotificationChannelsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
google.cloud.monitoring_v3.services.query_service.QueryServiceAsyncClient
QueryServiceAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.monitoring_v3.services.query_service.transports.base.QueryServiceTransport, typing.Callable[[...], google.cloud.monitoring_v3.services.query_service.transports.base.QueryServiceTransport]]] = '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 query service async client.
See more: google.cloud.monitoring_v3.services.query_service.QueryServiceAsyncClient
google.cloud.monitoring_v3.services.query_service.QueryServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.monitoring_v3.services.query_service.QueryServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.monitoring_v3.services.query_service.QueryServiceAsyncClient.common_folder_path
google.cloud.monitoring_v3.services.query_service.QueryServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.monitoring_v3.services.query_service.QueryServiceAsyncClient.common_location_path
google.cloud.monitoring_v3.services.query_service.QueryServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.monitoring_v3.services.query_service.QueryServiceAsyncClient.common_organization_path
google.cloud.monitoring_v3.services.query_service.QueryServiceAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.monitoring_v3.services.query_service.QueryServiceAsyncClient.common_project_path
google.cloud.monitoring_v3.services.query_service.QueryServiceAsyncClient.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.monitoring_v3.services.query_service.QueryServiceAsyncClient.from_service_account_file
google.cloud.monitoring_v3.services.query_service.QueryServiceAsyncClient.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.monitoring_v3.services.query_service.QueryServiceAsyncClient.from_service_account_info
google.cloud.monitoring_v3.services.query_service.QueryServiceAsyncClient.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.monitoring_v3.services.query_service.QueryServiceAsyncClient.from_service_account_json
google.cloud.monitoring_v3.services.query_service.QueryServiceAsyncClient.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.monitoring_v3.services.query_service.QueryServiceAsyncClient.get_transport_class
get_transport_class() -> (
typing.Type[
google.cloud.monitoring_v3.services.query_service.transports.base.QueryServiceTransport
]
)
Returns an appropriate transport class.
See more: google.cloud.monitoring_v3.services.query_service.QueryServiceAsyncClient.get_transport_class
google.cloud.monitoring_v3.services.query_service.QueryServiceAsyncClient.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.monitoring_v3.services.query_service.QueryServiceAsyncClient.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.monitoring_v3.services.query_service.QueryServiceAsyncClient.parse_common_folder_path
google.cloud.monitoring_v3.services.query_service.QueryServiceAsyncClient.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.monitoring_v3.services.query_service.QueryServiceAsyncClient.parse_common_location_path
google.cloud.monitoring_v3.services.query_service.QueryServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.monitoring_v3.services.query_service.QueryServiceAsyncClient.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.monitoring_v3.services.query_service.QueryServiceAsyncClient.parse_common_project_path
google.cloud.monitoring_v3.services.query_service.QueryServiceAsyncClient.query_time_series
query_time_series(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.metric_service.QueryTimeSeriesRequest, 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.monitoring_v3.services.query_service.pagers.QueryTimeSeriesAsyncPager
Queries time series using Monitoring Query Language.
See more: google.cloud.monitoring_v3.services.query_service.QueryServiceAsyncClient.query_time_series
google.cloud.monitoring_v3.services.query_service.QueryServiceClient
QueryServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.monitoring_v3.services.query_service.transports.base.QueryServiceTransport, typing.Callable[[...], google.cloud.monitoring_v3.services.query_service.transports.base.QueryServiceTransport]]] = 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 query service client.
See more: google.cloud.monitoring_v3.services.query_service.QueryServiceClient
google.cloud.monitoring_v3.services.query_service.QueryServiceClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.monitoring_v3.services.query_service.QueryServiceClient.exit
google.cloud.monitoring_v3.services.query_service.QueryServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
See more: google.cloud.monitoring_v3.services.query_service.QueryServiceClient.common_billing_account_path
google.cloud.monitoring_v3.services.query_service.QueryServiceClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.monitoring_v3.services.query_service.QueryServiceClient.common_folder_path
google.cloud.monitoring_v3.services.query_service.QueryServiceClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.monitoring_v3.services.query_service.QueryServiceClient.common_location_path
google.cloud.monitoring_v3.services.query_service.QueryServiceClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.monitoring_v3.services.query_service.QueryServiceClient.common_organization_path
google.cloud.monitoring_v3.services.query_service.QueryServiceClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.monitoring_v3.services.query_service.QueryServiceClient.common_project_path
google.cloud.monitoring_v3.services.query_service.QueryServiceClient.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.monitoring_v3.services.query_service.QueryServiceClient.from_service_account_file
google.cloud.monitoring_v3.services.query_service.QueryServiceClient.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.monitoring_v3.services.query_service.QueryServiceClient.from_service_account_info
google.cloud.monitoring_v3.services.query_service.QueryServiceClient.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.monitoring_v3.services.query_service.QueryServiceClient.from_service_account_json
google.cloud.monitoring_v3.services.query_service.QueryServiceClient.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.monitoring_v3.services.query_service.QueryServiceClient.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.monitoring_v3.services.query_service.QueryServiceClient.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.monitoring_v3.services.query_service.QueryServiceClient.parse_common_folder_path
google.cloud.monitoring_v3.services.query_service.QueryServiceClient.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.monitoring_v3.services.query_service.QueryServiceClient.parse_common_location_path
google.cloud.monitoring_v3.services.query_service.QueryServiceClient.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.monitoring_v3.services.query_service.QueryServiceClient.parse_common_organization_path
google.cloud.monitoring_v3.services.query_service.QueryServiceClient.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.monitoring_v3.services.query_service.QueryServiceClient.parse_common_project_path
google.cloud.monitoring_v3.services.query_service.QueryServiceClient.query_time_series
query_time_series(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.metric_service.QueryTimeSeriesRequest, 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.monitoring_v3.services.query_service.pagers.QueryTimeSeriesPager
Queries time series using Monitoring Query Language.
See more: google.cloud.monitoring_v3.services.query_service.QueryServiceClient.query_time_series
google.cloud.monitoring_v3.services.query_service.pagers.QueryTimeSeriesAsyncPager
QueryTimeSeriesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.monitoring_v3.types.metric_service.QueryTimeSeriesResponse
],
],
request: google.cloud.monitoring_v3.types.metric_service.QueryTimeSeriesRequest,
response: google.cloud.monitoring_v3.types.metric_service.QueryTimeSeriesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.monitoring_v3.services.query_service.pagers.QueryTimeSeriesAsyncPager
google.cloud.monitoring_v3.services.query_service.pagers.QueryTimeSeriesPager
QueryTimeSeriesPager(
method: typing.Callable[
[...], google.cloud.monitoring_v3.types.metric_service.QueryTimeSeriesResponse
],
request: google.cloud.monitoring_v3.types.metric_service.QueryTimeSeriesRequest,
response: google.cloud.monitoring_v3.types.metric_service.QueryTimeSeriesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.monitoring_v3.services.query_service.pagers.QueryTimeSeriesPager
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceAsyncClient
ServiceMonitoringServiceAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.monitoring_v3.services.service_monitoring_service.transports.base.ServiceMonitoringServiceTransport, typing.Callable[[...], google.cloud.monitoring_v3.services.service_monitoring_service.transports.base.ServiceMonitoringServiceTransport]]] = '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 service monitoring service async client.
See more: google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceAsyncClient
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceAsyncClient.create_service
create_service(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.service_service.CreateServiceRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
service: typing.Optional[google.cloud.monitoring_v3.types.service.Service] = 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.monitoring_v3.types.service.Service
Create a Service
.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceAsyncClient.create_service_level_objective
create_service_level_objective(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.service_service.CreateServiceLevelObjectiveRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
service_level_objective: typing.Optional[
google.cloud.monitoring_v3.types.service.ServiceLevelObjective
] = 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.monitoring_v3.types.service.ServiceLevelObjective
Create a ServiceLevelObjective
for the given Service
.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceAsyncClient.delete_service
delete_service(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.service_service.DeleteServiceRequest, 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, str]] = ()
) -> None
Soft delete this Service
.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceAsyncClient.delete_service_level_objective
delete_service_level_objective(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.service_service.DeleteServiceLevelObjectiveRequest,
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, str]] = ()
) -> None
Delete the given ServiceLevelObjective
.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceAsyncClient.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.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceAsyncClient.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.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceAsyncClient.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.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceAsyncClient.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.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceAsyncClient.get_service
get_service(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.service_service.GetServiceRequest, 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, str]] = ()
) -> google.cloud.monitoring_v3.types.service.Service
Get the named Service
.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceAsyncClient.get_service_level_objective
get_service_level_objective(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.service_service.GetServiceLevelObjectiveRequest,
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, str]] = ()
) -> google.cloud.monitoring_v3.types.service.ServiceLevelObjective
Get a ServiceLevelObjective
by name.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceAsyncClient.get_transport_class
get_transport_class() -> (
typing.Type[
google.cloud.monitoring_v3.services.service_monitoring_service.transports.base.ServiceMonitoringServiceTransport
]
)
Returns an appropriate transport class.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceAsyncClient.list_service_level_objectives
list_service_level_objectives(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.service_service.ListServiceLevelObjectivesRequest,
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, str]] = ()
) -> (
google.cloud.monitoring_v3.services.service_monitoring_service.pagers.ListServiceLevelObjectivesAsyncPager
)
List the ServiceLevelObjective
\ s for the given Service
.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceAsyncClient.list_services
list_services(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.service_service.ListServicesRequest, 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, str]] = ()
) -> (
google.cloud.monitoring_v3.services.service_monitoring_service.pagers.ListServicesAsyncPager
)
List Service
\ s for this Metrics Scope.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceAsyncClient.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.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceAsyncClient.parse_service_level_objective_path
parse_service_level_objective_path(path: str) -> typing.Dict[str, str]
Parses a service_level_objective path into its component segments.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceAsyncClient.parse_service_path
parse_service_path(path: str) -> typing.Dict[str, str]
Parses a service path into its component segments.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceAsyncClient.service_level_objective_path
service_level_objective_path(
project: str, service: str, service_level_objective: str
) -> str
Returns a fully-qualified service_level_objective string.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceAsyncClient.service_path
service_path(project: str, service: str) -> str
Returns a fully-qualified service string.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceAsyncClient.update_service
update_service(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.service_service.UpdateServiceRequest, dict
]
] = None,
*,
service: typing.Optional[google.cloud.monitoring_v3.types.service.Service] = 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.monitoring_v3.types.service.Service
Update this Service
.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceAsyncClient.update_service_level_objective
update_service_level_objective(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.service_service.UpdateServiceLevelObjectiveRequest,
dict,
]
] = None,
*,
service_level_objective: typing.Optional[
google.cloud.monitoring_v3.types.service.ServiceLevelObjective
] = 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.monitoring_v3.types.service.ServiceLevelObjective
Update the given ServiceLevelObjective
.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceClient
ServiceMonitoringServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.monitoring_v3.services.service_monitoring_service.transports.base.ServiceMonitoringServiceTransport, typing.Callable[[...], google.cloud.monitoring_v3.services.service_monitoring_service.transports.base.ServiceMonitoringServiceTransport]]] = 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 service monitoring service client.
See more: google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceClient
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceClient.exit
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceClient.create_service
create_service(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.service_service.CreateServiceRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
service: typing.Optional[google.cloud.monitoring_v3.types.service.Service] = 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.monitoring_v3.types.service.Service
Create a Service
.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceClient.create_service_level_objective
create_service_level_objective(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.service_service.CreateServiceLevelObjectiveRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
service_level_objective: typing.Optional[
google.cloud.monitoring_v3.types.service.ServiceLevelObjective
] = 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.monitoring_v3.types.service.ServiceLevelObjective
Create a ServiceLevelObjective
for the given Service
.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceClient.delete_service
delete_service(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.service_service.DeleteServiceRequest, 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, str]] = ()
) -> None
Soft delete this Service
.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceClient.delete_service_level_objective
delete_service_level_objective(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.service_service.DeleteServiceLevelObjectiveRequest,
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, str]] = ()
) -> None
Delete the given ServiceLevelObjective
.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceClient.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.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceClient.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.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceClient.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.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceClient.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.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceClient.get_service
get_service(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.service_service.GetServiceRequest, 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, str]] = ()
) -> google.cloud.monitoring_v3.types.service.Service
Get the named Service
.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceClient.get_service_level_objective
get_service_level_objective(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.service_service.GetServiceLevelObjectiveRequest,
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, str]] = ()
) -> google.cloud.monitoring_v3.types.service.ServiceLevelObjective
Get a ServiceLevelObjective
by name.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceClient.list_service_level_objectives
list_service_level_objectives(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.service_service.ListServiceLevelObjectivesRequest,
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, str]] = ()
) -> (
google.cloud.monitoring_v3.services.service_monitoring_service.pagers.ListServiceLevelObjectivesPager
)
List the ServiceLevelObjective
\ s for the given Service
.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceClient.list_services
list_services(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.service_service.ListServicesRequest, 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, str]] = ()
) -> (
google.cloud.monitoring_v3.services.service_monitoring_service.pagers.ListServicesPager
)
List Service
\ s for this Metrics Scope.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceClient.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.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceClient.parse_service_level_objective_path
parse_service_level_objective_path(path: str) -> typing.Dict[str, str]
Parses a service_level_objective path into its component segments.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceClient.parse_service_path
parse_service_path(path: str) -> typing.Dict[str, str]
Parses a service path into its component segments.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceClient.service_level_objective_path
service_level_objective_path(
project: str, service: str, service_level_objective: str
) -> str
Returns a fully-qualified service_level_objective string.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceClient.service_path
service_path(project: str, service: str) -> str
Returns a fully-qualified service string.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceClient.update_service
update_service(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.service_service.UpdateServiceRequest, dict
]
] = None,
*,
service: typing.Optional[google.cloud.monitoring_v3.types.service.Service] = 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.monitoring_v3.types.service.Service
Update this Service
.
google.cloud.monitoring_v3.services.service_monitoring_service.ServiceMonitoringServiceClient.update_service_level_objective
update_service_level_objective(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.service_service.UpdateServiceLevelObjectiveRequest,
dict,
]
] = None,
*,
service_level_objective: typing.Optional[
google.cloud.monitoring_v3.types.service.ServiceLevelObjective
] = 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.monitoring_v3.types.service.ServiceLevelObjective
Update the given ServiceLevelObjective
.
google.cloud.monitoring_v3.services.service_monitoring_service.pagers.ListServiceLevelObjectivesAsyncPager
ListServiceLevelObjectivesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.monitoring_v3.types.service_service.ListServiceLevelObjectivesResponse
],
],
request: google.cloud.monitoring_v3.types.service_service.ListServiceLevelObjectivesRequest,
response: google.cloud.monitoring_v3.types.service_service.ListServiceLevelObjectivesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
google.cloud.monitoring_v3.services.service_monitoring_service.pagers.ListServiceLevelObjectivesPager
ListServiceLevelObjectivesPager(
method: typing.Callable[
[...],
google.cloud.monitoring_v3.types.service_service.ListServiceLevelObjectivesResponse,
],
request: google.cloud.monitoring_v3.types.service_service.ListServiceLevelObjectivesRequest,
response: google.cloud.monitoring_v3.types.service_service.ListServiceLevelObjectivesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
google.cloud.monitoring_v3.services.service_monitoring_service.pagers.ListServicesAsyncPager
ListServicesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.monitoring_v3.types.service_service.ListServicesResponse
],
],
request: google.cloud.monitoring_v3.types.service_service.ListServicesRequest,
response: google.cloud.monitoring_v3.types.service_service.ListServicesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.monitoring_v3.services.service_monitoring_service.pagers.ListServicesAsyncPager
google.cloud.monitoring_v3.services.service_monitoring_service.pagers.ListServicesPager
ListServicesPager(
method: typing.Callable[
[...], google.cloud.monitoring_v3.types.service_service.ListServicesResponse
],
request: google.cloud.monitoring_v3.types.service_service.ListServicesRequest,
response: google.cloud.monitoring_v3.types.service_service.ListServicesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.monitoring_v3.services.service_monitoring_service.pagers.ListServicesPager
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceAsyncClient
SnoozeServiceAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.monitoring_v3.services.snooze_service.transports.base.SnoozeServiceTransport, typing.Callable[[...], google.cloud.monitoring_v3.services.snooze_service.transports.base.SnoozeServiceTransport]]] = '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 snooze service async client.
See more: google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceAsyncClient
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceAsyncClient.alert_policy_path
alert_policy_path(project: str, alert_policy: str) -> str
Returns a fully-qualified alert_policy string.
See more: google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceAsyncClient.alert_policy_path
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceAsyncClient.common_folder_path
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceAsyncClient.common_location_path
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceAsyncClient.common_organization_path
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceAsyncClient.common_project_path
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceAsyncClient.create_snooze
create_snooze(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.snooze_service.CreateSnoozeRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
snooze: typing.Optional[google.cloud.monitoring_v3.types.snooze.Snooze] = 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.monitoring_v3.types.snooze.Snooze
Creates a Snooze
that will prevent alerts, which match the
provided criteria, from being opened.
See more: google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceAsyncClient.create_snooze
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceAsyncClient.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.monitoring_v3.services.snooze_service.SnoozeServiceAsyncClient.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.monitoring_v3.services.snooze_service.SnoozeServiceAsyncClient.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.monitoring_v3.services.snooze_service.SnoozeServiceAsyncClient.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.monitoring_v3.services.snooze_service.SnoozeServiceAsyncClient.get_snooze
get_snooze(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.snooze_service.GetSnoozeRequest, 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, str]] = ()
) -> google.cloud.monitoring_v3.types.snooze.Snooze
Retrieves a Snooze
by name
.
See more: google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceAsyncClient.get_snooze
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceAsyncClient.get_transport_class
get_transport_class() -> (
typing.Type[
google.cloud.monitoring_v3.services.snooze_service.transports.base.SnoozeServiceTransport
]
)
Returns an appropriate transport class.
See more: google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceAsyncClient.get_transport_class
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceAsyncClient.list_snoozes
list_snoozes(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.snooze_service.ListSnoozesRequest, 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, str]] = ()
) -> google.cloud.monitoring_v3.services.snooze_service.pagers.ListSnoozesAsyncPager
Lists the Snooze
\ s associated with a project.
See more: google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceAsyncClient.list_snoozes
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceAsyncClient.parse_alert_policy_path
parse_alert_policy_path(path: str) -> typing.Dict[str, str]
Parses a alert_policy path into its component segments.
See more: google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceAsyncClient.parse_alert_policy_path
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceAsyncClient.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.monitoring_v3.services.snooze_service.SnoozeServiceAsyncClient.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.monitoring_v3.services.snooze_service.SnoozeServiceAsyncClient.parse_common_folder_path
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceAsyncClient.parse_snooze_path
parse_snooze_path(path: str) -> typing.Dict[str, str]
Parses a snooze path into its component segments.
See more: google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceAsyncClient.parse_snooze_path
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceAsyncClient.snooze_path
snooze_path(project: str, snooze: str) -> str
Returns a fully-qualified snooze string.
See more: google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceAsyncClient.snooze_path
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceAsyncClient.update_snooze
update_snooze(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.snooze_service.UpdateSnoozeRequest, dict
]
] = None,
*,
snooze: typing.Optional[google.cloud.monitoring_v3.types.snooze.Snooze] = 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, str]] = ()
) -> google.cloud.monitoring_v3.types.snooze.Snooze
Updates a Snooze
, identified by its name
, with the
parameters in the given Snooze
object.
See more: google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceAsyncClient.update_snooze
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceClient
SnoozeServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.monitoring_v3.services.snooze_service.transports.base.SnoozeServiceTransport, typing.Callable[[...], google.cloud.monitoring_v3.services.snooze_service.transports.base.SnoozeServiceTransport]]] = 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 snooze service client.
See more: google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceClient
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceClient.exit
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceClient.alert_policy_path
alert_policy_path(project: str, alert_policy: str) -> str
Returns a fully-qualified alert_policy string.
See more: google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceClient.alert_policy_path
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
See more: google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceClient.common_billing_account_path
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceClient.common_folder_path
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceClient.common_location_path
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceClient.common_organization_path
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceClient.common_project_path
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceClient.create_snooze
create_snooze(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.snooze_service.CreateSnoozeRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
snooze: typing.Optional[google.cloud.monitoring_v3.types.snooze.Snooze] = 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.monitoring_v3.types.snooze.Snooze
Creates a Snooze
that will prevent alerts, which match the
provided criteria, from being opened.
See more: google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceClient.create_snooze
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceClient.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.monitoring_v3.services.snooze_service.SnoozeServiceClient.from_service_account_file
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceClient.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.monitoring_v3.services.snooze_service.SnoozeServiceClient.from_service_account_info
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceClient.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.monitoring_v3.services.snooze_service.SnoozeServiceClient.from_service_account_json
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceClient.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.monitoring_v3.services.snooze_service.SnoozeServiceClient.get_snooze
get_snooze(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.snooze_service.GetSnoozeRequest, 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, str]] = ()
) -> google.cloud.monitoring_v3.types.snooze.Snooze
Retrieves a Snooze
by name
.
See more: google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceClient.get_snooze
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceClient.list_snoozes
list_snoozes(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.snooze_service.ListSnoozesRequest, 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, str]] = ()
) -> google.cloud.monitoring_v3.services.snooze_service.pagers.ListSnoozesPager
Lists the Snooze
\ s associated with a project.
See more: google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceClient.list_snoozes
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceClient.parse_alert_policy_path
parse_alert_policy_path(path: str) -> typing.Dict[str, str]
Parses a alert_policy path into its component segments.
See more: google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceClient.parse_alert_policy_path
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceClient.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.monitoring_v3.services.snooze_service.SnoozeServiceClient.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.monitoring_v3.services.snooze_service.SnoozeServiceClient.parse_common_folder_path
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceClient.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.monitoring_v3.services.snooze_service.SnoozeServiceClient.parse_common_location_path
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceClient.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.monitoring_v3.services.snooze_service.SnoozeServiceClient.parse_common_project_path
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceClient.parse_snooze_path
parse_snooze_path(path: str) -> typing.Dict[str, str]
Parses a snooze path into its component segments.
See more: google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceClient.parse_snooze_path
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceClient.snooze_path
snooze_path(project: str, snooze: str) -> str
Returns a fully-qualified snooze string.
See more: google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceClient.snooze_path
google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceClient.update_snooze
update_snooze(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.snooze_service.UpdateSnoozeRequest, dict
]
] = None,
*,
snooze: typing.Optional[google.cloud.monitoring_v3.types.snooze.Snooze] = 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, str]] = ()
) -> google.cloud.monitoring_v3.types.snooze.Snooze
Updates a Snooze
, identified by its name
, with the
parameters in the given Snooze
object.
See more: google.cloud.monitoring_v3.services.snooze_service.SnoozeServiceClient.update_snooze
google.cloud.monitoring_v3.services.snooze_service.pagers.ListSnoozesAsyncPager
ListSnoozesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.monitoring_v3.types.snooze_service.ListSnoozesResponse
],
],
request: google.cloud.monitoring_v3.types.snooze_service.ListSnoozesRequest,
response: google.cloud.monitoring_v3.types.snooze_service.ListSnoozesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.monitoring_v3.services.snooze_service.pagers.ListSnoozesAsyncPager
google.cloud.monitoring_v3.services.snooze_service.pagers.ListSnoozesPager
ListSnoozesPager(
method: typing.Callable[
[...], google.cloud.monitoring_v3.types.snooze_service.ListSnoozesResponse
],
request: google.cloud.monitoring_v3.types.snooze_service.ListSnoozesRequest,
response: google.cloud.monitoring_v3.types.snooze_service.ListSnoozesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.monitoring_v3.services.snooze_service.pagers.ListSnoozesPager
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceAsyncClient
UptimeCheckServiceAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.monitoring_v3.services.uptime_check_service.transports.base.UptimeCheckServiceTransport, typing.Callable[[...], google.cloud.monitoring_v3.services.uptime_check_service.transports.base.UptimeCheckServiceTransport]]] = '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 uptime check service async client.
See more: google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceAsyncClient
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceAsyncClient.create_uptime_check_config
create_uptime_check_config(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.uptime_service.CreateUptimeCheckConfigRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
uptime_check_config: typing.Optional[
google.cloud.monitoring_v3.types.uptime.UptimeCheckConfig
] = 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.monitoring_v3.types.uptime.UptimeCheckConfig
Creates a new Uptime check configuration.
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceAsyncClient.delete_uptime_check_config
delete_uptime_check_config(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.uptime_service.DeleteUptimeCheckConfigRequest,
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, str]] = ()
) -> None
Deletes an Uptime check configuration.
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceAsyncClient.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.monitoring_v3.services.uptime_check_service.UptimeCheckServiceAsyncClient.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.monitoring_v3.services.uptime_check_service.UptimeCheckServiceAsyncClient.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.monitoring_v3.services.uptime_check_service.UptimeCheckServiceAsyncClient.function_path
function_path(project: str, location: str, function: str) -> str
Returns a fully-qualified function string.
See more: google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceAsyncClient.function_path
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceAsyncClient.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.monitoring_v3.services.uptime_check_service.UptimeCheckServiceAsyncClient.get_transport_class
get_transport_class() -> (
typing.Type[
google.cloud.monitoring_v3.services.uptime_check_service.transports.base.UptimeCheckServiceTransport
]
)
Returns an appropriate transport class.
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceAsyncClient.get_uptime_check_config
get_uptime_check_config(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.uptime_service.GetUptimeCheckConfigRequest,
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, str]] = ()
) -> google.cloud.monitoring_v3.types.uptime.UptimeCheckConfig
Gets a single Uptime check configuration.
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceAsyncClient.list_uptime_check_configs
list_uptime_check_configs(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.uptime_service.ListUptimeCheckConfigsRequest,
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, str]] = ()
) -> (
google.cloud.monitoring_v3.services.uptime_check_service.pagers.ListUptimeCheckConfigsAsyncPager
)
Lists the existing valid Uptime check configurations for the project (leaving out any invalid configurations).
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceAsyncClient.list_uptime_check_ips
list_uptime_check_ips(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.uptime_service.ListUptimeCheckIpsRequest,
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.monitoring_v3.services.uptime_check_service.pagers.ListUptimeCheckIpsAsyncPager
)
Returns the list of IP addresses that checkers run from.
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceAsyncClient.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.monitoring_v3.services.uptime_check_service.UptimeCheckServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceAsyncClient.parse_function_path
parse_function_path(path: str) -> typing.Dict[str, str]
Parses a function path into its component segments.
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceAsyncClient.parse_uptime_check_config_path
parse_uptime_check_config_path(path: str) -> typing.Dict[str, str]
Parses a uptime_check_config path into its component segments.
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceAsyncClient.update_uptime_check_config
update_uptime_check_config(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.uptime_service.UpdateUptimeCheckConfigRequest,
dict,
]
] = None,
*,
uptime_check_config: typing.Optional[
google.cloud.monitoring_v3.types.uptime.UptimeCheckConfig
] = 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.monitoring_v3.types.uptime.UptimeCheckConfig
Updates an Uptime check configuration.
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceAsyncClient.uptime_check_config_path
uptime_check_config_path(project: str, uptime_check_config: str) -> str
Returns a fully-qualified uptime_check_config string.
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceClient
UptimeCheckServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.monitoring_v3.services.uptime_check_service.transports.base.UptimeCheckServiceTransport, typing.Callable[[...], google.cloud.monitoring_v3.services.uptime_check_service.transports.base.UptimeCheckServiceTransport]]] = 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 uptime check service client.
See more: google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceClient
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceClient.exit
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceClient.common_folder_path
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceClient.create_uptime_check_config
create_uptime_check_config(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.uptime_service.CreateUptimeCheckConfigRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
uptime_check_config: typing.Optional[
google.cloud.monitoring_v3.types.uptime.UptimeCheckConfig
] = 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.monitoring_v3.types.uptime.UptimeCheckConfig
Creates a new Uptime check configuration.
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceClient.delete_uptime_check_config
delete_uptime_check_config(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.uptime_service.DeleteUptimeCheckConfigRequest,
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, str]] = ()
) -> None
Deletes an Uptime check configuration.
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceClient.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.monitoring_v3.services.uptime_check_service.UptimeCheckServiceClient.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.monitoring_v3.services.uptime_check_service.UptimeCheckServiceClient.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.monitoring_v3.services.uptime_check_service.UptimeCheckServiceClient.function_path
function_path(project: str, location: str, function: str) -> str
Returns a fully-qualified function string.
See more: google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceClient.function_path
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceClient.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.monitoring_v3.services.uptime_check_service.UptimeCheckServiceClient.get_uptime_check_config
get_uptime_check_config(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.uptime_service.GetUptimeCheckConfigRequest,
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, str]] = ()
) -> google.cloud.monitoring_v3.types.uptime.UptimeCheckConfig
Gets a single Uptime check configuration.
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceClient.list_uptime_check_configs
list_uptime_check_configs(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.uptime_service.ListUptimeCheckConfigsRequest,
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, str]] = ()
) -> (
google.cloud.monitoring_v3.services.uptime_check_service.pagers.ListUptimeCheckConfigsPager
)
Lists the existing valid Uptime check configurations for the project (leaving out any invalid configurations).
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceClient.list_uptime_check_ips
list_uptime_check_ips(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.uptime_service.ListUptimeCheckIpsRequest,
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.monitoring_v3.services.uptime_check_service.pagers.ListUptimeCheckIpsPager
)
Returns the list of IP addresses that checkers run from.
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceClient.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.monitoring_v3.services.uptime_check_service.UptimeCheckServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceClient.parse_function_path
parse_function_path(path: str) -> typing.Dict[str, str]
Parses a function path into its component segments.
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceClient.parse_uptime_check_config_path
parse_uptime_check_config_path(path: str) -> typing.Dict[str, str]
Parses a uptime_check_config path into its component segments.
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceClient.update_uptime_check_config
update_uptime_check_config(
request: typing.Optional[
typing.Union[
google.cloud.monitoring_v3.types.uptime_service.UpdateUptimeCheckConfigRequest,
dict,
]
] = None,
*,
uptime_check_config: typing.Optional[
google.cloud.monitoring_v3.types.uptime.UptimeCheckConfig
] = 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.monitoring_v3.types.uptime.UptimeCheckConfig
Updates an Uptime check configuration.
google.cloud.monitoring_v3.services.uptime_check_service.UptimeCheckServiceClient.uptime_check_config_path
uptime_check_config_path(project: str, uptime_check_config: str) -> str
Returns a fully-qualified uptime_check_config string.
google.cloud.monitoring_v3.services.uptime_check_service.pagers.ListUptimeCheckConfigsAsyncPager
ListUptimeCheckConfigsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.monitoring_v3.types.uptime_service.ListUptimeCheckConfigsResponse
],
],
request: google.cloud.monitoring_v3.types.uptime_service.ListUptimeCheckConfigsRequest,
response: google.cloud.monitoring_v3.types.uptime_service.ListUptimeCheckConfigsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.monitoring_v3.services.uptime_check_service.pagers.ListUptimeCheckConfigsAsyncPager
google.cloud.monitoring_v3.services.uptime_check_service.pagers.ListUptimeCheckConfigsPager
ListUptimeCheckConfigsPager(
method: typing.Callable[
[...],
google.cloud.monitoring_v3.types.uptime_service.ListUptimeCheckConfigsResponse,
],
request: google.cloud.monitoring_v3.types.uptime_service.ListUptimeCheckConfigsRequest,
response: google.cloud.monitoring_v3.types.uptime_service.ListUptimeCheckConfigsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.monitoring_v3.services.uptime_check_service.pagers.ListUptimeCheckConfigsPager
google.cloud.monitoring_v3.services.uptime_check_service.pagers.ListUptimeCheckIpsAsyncPager
ListUptimeCheckIpsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.monitoring_v3.types.uptime_service.ListUptimeCheckIpsResponse
],
],
request: google.cloud.monitoring_v3.types.uptime_service.ListUptimeCheckIpsRequest,
response: google.cloud.monitoring_v3.types.uptime_service.ListUptimeCheckIpsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.monitoring_v3.services.uptime_check_service.pagers.ListUptimeCheckIpsAsyncPager
google.cloud.monitoring_v3.services.uptime_check_service.pagers.ListUptimeCheckIpsPager
ListUptimeCheckIpsPager(
method: typing.Callable[
[...],
google.cloud.monitoring_v3.types.uptime_service.ListUptimeCheckIpsResponse,
],
request: google.cloud.monitoring_v3.types.uptime_service.ListUptimeCheckIpsRequest,
response: google.cloud.monitoring_v3.types.uptime_service.ListUptimeCheckIpsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.monitoring_v3.services.uptime_check_service.pagers.ListUptimeCheckIpsPager