@@ -105,12 +105,7 @@ def from_service_account_file(cls, filename, *args, **kwargs):
105
105
106
106
@classmethod
107
107
def instance_path (cls , project , instance ):
108
- """DEPRECATED. Return a fully-qualified instance string."""
109
- warnings .warn (
110
- "Resource name helper functions are deprecated." ,
111
- PendingDeprecationWarning ,
112
- stacklevel = 1 ,
113
- )
108
+ """Return a fully-qualified instance string."""
114
109
return google .api_core .path_template .expand (
115
110
"projects/{project}/instances/{instance}" ,
116
111
project = project ,
@@ -119,12 +114,7 @@ def instance_path(cls, project, instance):
119
114
120
115
@classmethod
121
116
def instance_config_path (cls , project , instance_config ):
122
- """DEPRECATED. Return a fully-qualified instance_config string."""
123
- warnings .warn (
124
- "Resource name helper functions are deprecated." ,
125
- PendingDeprecationWarning ,
126
- stacklevel = 1 ,
127
- )
117
+ """Return a fully-qualified instance_config string."""
128
118
return google .api_core .path_template .expand (
129
119
"projects/{project}/instanceConfigs/{instance_config}" ,
130
120
project = project ,
@@ -133,12 +123,7 @@ def instance_config_path(cls, project, instance_config):
133
123
134
124
@classmethod
135
125
def project_path (cls , project ):
136
- """DEPRECATED. Return a fully-qualified project string."""
137
- warnings .warn (
138
- "Resource name helper functions are deprecated." ,
139
- PendingDeprecationWarning ,
140
- stacklevel = 1 ,
141
- )
126
+ """Return a fully-qualified project string."""
142
127
return google .api_core .path_template .expand (
143
128
"projects/{project}" , project = project
144
129
)
0 commit comments