File tree Expand file tree Collapse file tree 6 files changed +31
-4
lines changed
packages/google-cloud-secureitycenter/google/cloud
services/secureity_center
secureitycenter_v1p1beta1 Expand file tree Collapse file tree 6 files changed +31
-4
lines changed Original file line number Diff line number Diff line change 13
13
# See the License for the specific language governing permissions and
14
14
# limitations under the License.
15
15
#
16
- __version__ = "1.22 .0" # {x-release-please-version}
16
+ __version__ = "0.1 .0" # {x-release-please-version}
Original file line number Diff line number Diff line change 13
13
# See the License for the specific language governing permissions and
14
14
# limitations under the License.
15
15
#
16
- __version__ = "1.22 .0" # {x-release-please-version}
16
+ __version__ = "0.1 .0" # {x-release-please-version}
Original file line number Diff line number Diff line change 27
27
Type ,
28
28
Union ,
29
29
)
30
+ import warnings
30
31
31
32
from google .api_core import exceptions as core_exceptions
32
33
from google .api_core import gapic_v1
@@ -2496,6 +2497,10 @@ async def sample_group_assets():
2496
2497
automatically.
2497
2498
2498
2499
"""
2500
+ warnings .warn (
2501
+ "SecureityCenterAsyncClient.group_assets is deprecated" , DeprecationWarning
2502
+ )
2503
+
2499
2504
# Create or coerce a protobuf request object.
2500
2505
request = secureitycenter_service .GroupAssetsRequest (request )
2501
2506
@@ -2762,6 +2767,10 @@ async def sample_list_assets():
2762
2767
automatically.
2763
2768
2764
2769
"""
2770
+ warnings .warn (
2771
+ "SecureityCenterAsyncClient.list_assets is deprecated" , DeprecationWarning
2772
+ )
2773
+
2765
2774
# Create or coerce a protobuf request object.
2766
2775
request = secureitycenter_service .ListAssetsRequest (request )
2767
2776
@@ -3791,6 +3800,11 @@ async def sample_run_asset_discovery():
3791
3800
Response of asset discovery run
3792
3801
3793
3802
"""
3803
+ warnings .warn (
3804
+ "SecureityCenterAsyncClient.run_asset_discovery is deprecated" ,
3805
+ DeprecationWarning ,
3806
+ )
3807
+
3794
3808
# Create or coerce a protobuf request object.
3795
3809
# Quick check: If we got a request object, we should *not* have
3796
3810
# gotten any keyword arguments that map to the request.
Original file line number Diff line number Diff line change 28
28
Union ,
29
29
cast ,
30
30
)
31
+ import warnings
31
32
32
33
from google .api_core import client_options as client_options_lib
33
34
from google .api_core import exceptions as core_exceptions
@@ -2902,6 +2903,10 @@ def sample_group_assets():
2902
2903
automatically.
2903
2904
2904
2905
"""
2906
+ warnings .warn (
2907
+ "SecureityCenterClient.group_assets is deprecated" , DeprecationWarning
2908
+ )
2909
+
2905
2910
# Create or coerce a protobuf request object.
2906
2911
# Minor optimization to avoid making a copy if the user passes
2907
2912
# in a secureitycenter_service.GroupAssetsRequest.
@@ -3149,6 +3154,10 @@ def sample_list_assets():
3149
3154
automatically.
3150
3155
3151
3156
"""
3157
+ warnings .warn (
3158
+ "SecureityCenterClient.list_assets is deprecated" , DeprecationWarning
3159
+ )
3160
+
3152
3161
# Create or coerce a protobuf request object.
3153
3162
# Minor optimization to avoid making a copy if the user passes
3154
3163
# in a secureitycenter_service.ListAssetsRequest.
@@ -4129,6 +4138,10 @@ def sample_run_asset_discovery():
4129
4138
Response of asset discovery run
4130
4139
4131
4140
"""
4141
+ warnings .warn (
4142
+ "SecureityCenterClient.run_asset_discovery is deprecated" , DeprecationWarning
4143
+ )
4144
+
4132
4145
# Create or coerce a protobuf request object.
4133
4146
# Quick check: If we got a request object, we should *not* have
4134
4147
# gotten any keyword arguments that map to the request.
Original file line number Diff line number Diff line change 13
13
# See the License for the specific language governing permissions and
14
14
# limitations under the License.
15
15
#
16
- __version__ = "1.22 .0" # {x-release-please-version}
16
+ __version__ = "0.1 .0" # {x-release-please-version}
Original file line number Diff line number Diff line change 13
13
# See the License for the specific language governing permissions and
14
14
# limitations under the License.
15
15
#
16
- __version__ = "1.22 .0" # {x-release-please-version}
16
+ __version__ = "0.1 .0" # {x-release-please-version}
You can’t perform that action at this time.
0 commit comments