Summary of entries of Methods for billingbudgets.
google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceAsyncClient
BudgetServiceAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.billing.budgets_v1.services.budget_service.transports.base.BudgetServiceTransport, typing.Callable[[...], google.cloud.billing.budgets_v1.services.budget_service.transports.base.BudgetServiceTransport]]] = '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 budget service async client.
See more: google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceAsyncClient
google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceAsyncClient.budget_path
budget_path(billing_account: str, budget: str) -> str
Returns a fully-qualified budget string.
See more: google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceAsyncClient.budget_path
google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceAsyncClient.common_folder_path
google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceAsyncClient.common_project_path
google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceAsyncClient.create_budget
create_budget(
request: typing.Optional[
typing.Union[
google.cloud.billing.budgets_v1.types.budget_service.CreateBudgetRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
budget: typing.Optional[
google.cloud.billing.budgets_v1.types.budget_model.Budget
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.billing.budgets_v1.types.budget_model.Budget
Creates a new budget.
See more: google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceAsyncClient.create_budget
google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceAsyncClient.delete_budget
delete_budget(
request: typing.Optional[
typing.Union[
google.cloud.billing.budgets_v1.types.budget_service.DeleteBudgetRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None
Deletes a budget.
See more: google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceAsyncClient.delete_budget
google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceAsyncClient.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.billing.budgets_v1.services.budget_service.BudgetServiceAsyncClient.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.billing.budgets_v1.services.budget_service.BudgetServiceAsyncClient.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.billing.budgets_v1.services.budget_service.BudgetServiceAsyncClient.get_budget
get_budget(
request: typing.Optional[
typing.Union[
google.cloud.billing.budgets_v1.types.budget_service.GetBudgetRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.billing.budgets_v1.types.budget_model.Budget
Returns a budget.
See more: google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceAsyncClient.get_budget
google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceAsyncClient.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.billing.budgets_v1.services.budget_service.BudgetServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.billing.budgets_v1.services.budget_service.transports.base.BudgetServiceTransport
]
Returns an appropriate transport class.
See more: google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceAsyncClient.get_transport_class
google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceAsyncClient.list_budgets
list_budgets(
request: typing.Optional[
typing.Union[
google.cloud.billing.budgets_v1.types.budget_service.ListBudgetsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.billing.budgets_v1.services.budget_service.pagers.ListBudgetsAsyncPager
)
Returns a list of budgets for a billing account.
See more: google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceAsyncClient.list_budgets
google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceAsyncClient.parse_budget_path
parse_budget_path(path: str) -> typing.Dict[str, str]
Parses a budget path into its component segments.
See more: google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceAsyncClient.parse_budget_path
google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceAsyncClient.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.billing.budgets_v1.services.budget_service.BudgetServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceAsyncClient.update_budget
update_budget(
request: typing.Optional[
typing.Union[
google.cloud.billing.budgets_v1.types.budget_service.UpdateBudgetRequest,
dict,
]
] = None,
*,
budget: typing.Optional[
google.cloud.billing.budgets_v1.types.budget_model.Budget
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.billing.budgets_v1.types.budget_model.Budget
Updates a budget and returns the updated budget.
See more: google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceAsyncClient.update_budget
google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceClient
BudgetServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.billing.budgets_v1.services.budget_service.transports.base.BudgetServiceTransport, typing.Callable[[...], google.cloud.billing.budgets_v1.services.budget_service.transports.base.BudgetServiceTransport]]] = 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 budget service client.
See more: google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceClient
google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceClient.exit
google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceClient.budget_path
budget_path(billing_account: str, budget: str) -> str
Returns a fully-qualified budget string.
See more: google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceClient.budget_path
google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceClient.common_folder_path
google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceClient.common_location_path
google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceClient.common_organization_path
google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceClient.common_project_path
google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceClient.create_budget
create_budget(
request: typing.Optional[
typing.Union[
google.cloud.billing.budgets_v1.types.budget_service.CreateBudgetRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
budget: typing.Optional[
google.cloud.billing.budgets_v1.types.budget_model.Budget
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.billing.budgets_v1.types.budget_model.Budget
Creates a new budget.
See more: google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceClient.create_budget
google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceClient.delete_budget
delete_budget(
request: typing.Optional[
typing.Union[
google.cloud.billing.budgets_v1.types.budget_service.DeleteBudgetRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None
Deletes a budget.
See more: google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceClient.delete_budget
google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceClient.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.billing.budgets_v1.services.budget_service.BudgetServiceClient.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.billing.budgets_v1.services.budget_service.BudgetServiceClient.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.billing.budgets_v1.services.budget_service.BudgetServiceClient.get_budget
get_budget(
request: typing.Optional[
typing.Union[
google.cloud.billing.budgets_v1.types.budget_service.GetBudgetRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.billing.budgets_v1.types.budget_model.Budget
Returns a budget.
See more: google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceClient.get_budget
google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceClient.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.billing.budgets_v1.services.budget_service.BudgetServiceClient.list_budgets
list_budgets(
request: typing.Optional[
typing.Union[
google.cloud.billing.budgets_v1.types.budget_service.ListBudgetsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.billing.budgets_v1.services.budget_service.pagers.ListBudgetsPager
Returns a list of budgets for a billing account.
See more: google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceClient.list_budgets
google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceClient.parse_budget_path
parse_budget_path(path: str) -> typing.Dict[str, str]
Parses a budget path into its component segments.
See more: google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceClient.parse_budget_path
google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceClient.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.billing.budgets_v1.services.budget_service.BudgetServiceClient.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.billing.budgets_v1.services.budget_service.BudgetServiceClient.parse_common_folder_path
google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceClient.update_budget
update_budget(
request: typing.Optional[
typing.Union[
google.cloud.billing.budgets_v1.types.budget_service.UpdateBudgetRequest,
dict,
]
] = None,
*,
budget: typing.Optional[
google.cloud.billing.budgets_v1.types.budget_model.Budget
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.billing.budgets_v1.types.budget_model.Budget
Updates a budget and returns the updated budget.
See more: google.cloud.billing.budgets_v1.services.budget_service.BudgetServiceClient.update_budget
google.cloud.billing.budgets_v1.services.budget_service.pagers.ListBudgetsAsyncPager
ListBudgetsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.billing.budgets_v1.types.budget_service.ListBudgetsResponse
],
],
request: google.cloud.billing.budgets_v1.types.budget_service.ListBudgetsRequest,
response: google.cloud.billing.budgets_v1.types.budget_service.ListBudgetsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiates the pager.
See more: google.cloud.billing.budgets_v1.services.budget_service.pagers.ListBudgetsAsyncPager
google.cloud.billing.budgets_v1.services.budget_service.pagers.ListBudgetsPager
ListBudgetsPager(
method: typing.Callable[
[...], google.cloud.billing.budgets_v1.types.budget_service.ListBudgetsResponse
],
request: google.cloud.billing.budgets_v1.types.budget_service.ListBudgetsRequest,
response: google.cloud.billing.budgets_v1.types.budget_service.ListBudgetsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.billing.budgets_v1.services.budget_service.pagers.ListBudgetsPager
google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceAsyncClient
BudgetServiceAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.billing.budgets_v1beta1.services.budget_service.transports.base.BudgetServiceTransport, typing.Callable[[...], google.cloud.billing.budgets_v1beta1.services.budget_service.transports.base.BudgetServiceTransport]]] = '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 budget service async client.
See more: google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceAsyncClient
google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceAsyncClient.budget_path
budget_path(billing_account: str, budget: str) -> str
Returns a fully-qualified budget string.
See more: google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceAsyncClient.budget_path
google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceAsyncClient.create_budget
create_budget(
request: typing.Optional[
typing.Union[
google.cloud.billing.budgets_v1beta1.types.budget_service.CreateBudgetRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.billing.budgets_v1beta1.types.budget_model.Budget
Creates a new budget.
See more: google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceAsyncClient.create_budget
google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceAsyncClient.delete_budget
delete_budget(
request: typing.Optional[
typing.Union[
google.cloud.billing.budgets_v1beta1.types.budget_service.DeleteBudgetRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None
Deletes a budget.
See more: google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceAsyncClient.delete_budget
google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceAsyncClient.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.billing.budgets_v1beta1.services.budget_service.BudgetServiceAsyncClient.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.billing.budgets_v1beta1.services.budget_service.BudgetServiceAsyncClient.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.billing.budgets_v1beta1.services.budget_service.BudgetServiceAsyncClient.get_budget
get_budget(
request: typing.Optional[
typing.Union[
google.cloud.billing.budgets_v1beta1.types.budget_service.GetBudgetRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.billing.budgets_v1beta1.types.budget_model.Budget
Returns a budget.
See more: google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceAsyncClient.get_budget
google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceAsyncClient.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.billing.budgets_v1beta1.services.budget_service.BudgetServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.billing.budgets_v1beta1.services.budget_service.transports.base.BudgetServiceTransport
]
Returns an appropriate transport class.
google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceAsyncClient.list_budgets
list_budgets(
request: typing.Optional[
typing.Union[
google.cloud.billing.budgets_v1beta1.types.budget_service.ListBudgetsRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.billing.budgets_v1beta1.services.budget_service.pagers.ListBudgetsAsyncPager
)
Returns a list of budgets for a billing account.
See more: google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceAsyncClient.list_budgets
google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceAsyncClient.parse_budget_path
parse_budget_path(path: str) -> typing.Dict[str, str]
Parses a budget path into its component segments.
google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceAsyncClient.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.billing.budgets_v1beta1.services.budget_service.BudgetServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceAsyncClient.update_budget
update_budget(
request: typing.Optional[
typing.Union[
google.cloud.billing.budgets_v1beta1.types.budget_service.UpdateBudgetRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.billing.budgets_v1beta1.types.budget_model.Budget
Updates a budget and returns the updated budget.
See more: google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceAsyncClient.update_budget
google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceClient
BudgetServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.billing.budgets_v1beta1.services.budget_service.transports.base.BudgetServiceTransport, typing.Callable[[...], google.cloud.billing.budgets_v1beta1.services.budget_service.transports.base.BudgetServiceTransport]]] = 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 budget service client.
See more: google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceClient
google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceClient.exit
google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceClient.budget_path
budget_path(billing_account: str, budget: str) -> str
Returns a fully-qualified budget string.
See more: google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceClient.budget_path
google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceClient.common_folder_path
google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceClient.common_project_path
google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceClient.create_budget
create_budget(
request: typing.Optional[
typing.Union[
google.cloud.billing.budgets_v1beta1.types.budget_service.CreateBudgetRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.billing.budgets_v1beta1.types.budget_model.Budget
Creates a new budget.
See more: google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceClient.create_budget
google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceClient.delete_budget
delete_budget(
request: typing.Optional[
typing.Union[
google.cloud.billing.budgets_v1beta1.types.budget_service.DeleteBudgetRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None
Deletes a budget.
See more: google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceClient.delete_budget
google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceClient.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.billing.budgets_v1beta1.services.budget_service.BudgetServiceClient.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.billing.budgets_v1beta1.services.budget_service.BudgetServiceClient.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.billing.budgets_v1beta1.services.budget_service.BudgetServiceClient.get_budget
get_budget(
request: typing.Optional[
typing.Union[
google.cloud.billing.budgets_v1beta1.types.budget_service.GetBudgetRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.billing.budgets_v1beta1.types.budget_model.Budget
Returns a budget.
See more: google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceClient.get_budget
google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceClient.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.billing.budgets_v1beta1.services.budget_service.BudgetServiceClient.list_budgets
list_budgets(
request: typing.Optional[
typing.Union[
google.cloud.billing.budgets_v1beta1.types.budget_service.ListBudgetsRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.billing.budgets_v1beta1.services.budget_service.pagers.ListBudgetsPager
)
Returns a list of budgets for a billing account.
See more: google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceClient.list_budgets
google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceClient.parse_budget_path
parse_budget_path(path: str) -> typing.Dict[str, str]
Parses a budget path into its component segments.
See more: google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceClient.parse_budget_path
google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceClient.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.billing.budgets_v1beta1.services.budget_service.BudgetServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceClient.update_budget
update_budget(
request: typing.Optional[
typing.Union[
google.cloud.billing.budgets_v1beta1.types.budget_service.UpdateBudgetRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.billing.budgets_v1beta1.types.budget_model.Budget
Updates a budget and returns the updated budget.
See more: google.cloud.billing.budgets_v1beta1.services.budget_service.BudgetServiceClient.update_budget
google.cloud.billing.budgets_v1beta1.services.budget_service.pagers.ListBudgetsAsyncPager
ListBudgetsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.billing.budgets_v1beta1.types.budget_service.ListBudgetsResponse
],
],
request: google.cloud.billing.budgets_v1beta1.types.budget_service.ListBudgetsRequest,
response: google.cloud.billing.budgets_v1beta1.types.budget_service.ListBudgetsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiates the pager.
See more: google.cloud.billing.budgets_v1beta1.services.budget_service.pagers.ListBudgetsAsyncPager
google.cloud.billing.budgets_v1beta1.services.budget_service.pagers.ListBudgetsPager
ListBudgetsPager(
method: typing.Callable[
[...],
google.cloud.billing.budgets_v1beta1.types.budget_service.ListBudgetsResponse,
],
request: google.cloud.billing.budgets_v1beta1.types.budget_service.ListBudgetsRequest,
response: google.cloud.billing.budgets_v1beta1.types.budget_service.ListBudgetsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.billing.budgets_v1beta1.services.budget_service.pagers.ListBudgetsPager