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.Union[str, 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]] = 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.Union[str, 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]] = 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.Union[str, 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]] = 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.Union[str, 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]] = 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