Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,24 @@ def from_service_account_file(cls, filename, *args, **kwargs):

@classmethod
def billing_account_path(cls, billing_account):
"""Return a fully-qualified billing_account string."""
"""DEPRECATED. Return a fully-qualified billing_account string."""
warnings.warn(
"Resource name helper functions are deprecated.",
PendingDeprecationWarning,
stacklevel=1,
)
return google.api_core.path_template.expand(
"billingAccounts/{billing_account}", billing_account=billing_account
)

@classmethod
def budget_path(cls, billing_account, budget):
"""Return a fully-qualified budget string."""
"""DEPRECATED. Return a fully-qualified budget string."""
warnings.warn(
"Resource name helper functions are deprecated.",
PendingDeprecationWarning,
stacklevel=1,
)
return google.api_core.path_template.expand(
"billingAccounts/{billing_account}/budgets/{budget}",
billing_account=billing_account,
Expand Down
10 changes: 5 additions & 5 deletions billingbudgets/synth.metadata
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"updateTime": "2019-11-15T13:16:37.374488Z",
"updateTime": "2019-11-19T13:16:42.779546Z",
"sources": [
{
"generator": {
"name": "artman",
"version": "0.41.1",
"dockerImage": "googleapis/artman@sha256:545c758c76c3f779037aa259023ec3d1ef2d57d2c8cd00a222cb187d63ceac5e"
"version": "0.42.1",
"dockerImage": "googleapis/artman@sha256:c773192618c608a7a0415dd95282f841f8e6bcdef7dd760a988c93b77a64bd57"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "f6808ff4e8b966cd571e99279d4a2780ed97dff2",
"internalRef": "280581337"
"sha": "d8dd7fe8d5304f7bd1c52207703d7f27d5328c5a",
"internalRef": "281088257"
}
},
{
Expand Down