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 @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "1.22.0" # {x-release-please-version}
__version__ = "0.1.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "1.22.0" # {x-release-please-version}
__version__ = "0.1.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
Type,
Union,
)
import warnings

from google.api_core import exceptions as core_exceptions
from google.api_core import gapic_v1
Expand Down Expand Up @@ -2496,6 +2497,10 @@ async def sample_group_assets():
automatically.

"""
warnings.warn(
"SecurityCenterAsyncClient.group_assets is deprecated", DeprecationWarning
)

# Create or coerce a protobuf request object.
request = securitycenter_service.GroupAssetsRequest(request)

Expand Down Expand Up @@ -2762,6 +2767,10 @@ async def sample_list_assets():
automatically.

"""
warnings.warn(
"SecurityCenterAsyncClient.list_assets is deprecated", DeprecationWarning
)

# Create or coerce a protobuf request object.
request = securitycenter_service.ListAssetsRequest(request)

Expand Down Expand Up @@ -3791,6 +3800,11 @@ async def sample_run_asset_discovery():
Response of asset discovery run

"""
warnings.warn(
"SecurityCenterAsyncClient.run_asset_discovery is deprecated",
DeprecationWarning,
)

# Create or coerce a protobuf request object.
# Quick check: If we got a request object, we should *not* have
# gotten any keyword arguments that map to the request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
Union,
cast,
)
import warnings

from google.api_core import client_options as client_options_lib
from google.api_core import exceptions as core_exceptions
Expand Down Expand Up @@ -2902,6 +2903,10 @@ def sample_group_assets():
automatically.

"""
warnings.warn(
"SecurityCenterClient.group_assets is deprecated", DeprecationWarning
)

# Create or coerce a protobuf request object.
# Minor optimization to avoid making a copy if the user passes
# in a securitycenter_service.GroupAssetsRequest.
Expand Down Expand Up @@ -3149,6 +3154,10 @@ def sample_list_assets():
automatically.

"""
warnings.warn(
"SecurityCenterClient.list_assets is deprecated", DeprecationWarning
)

# Create or coerce a protobuf request object.
# Minor optimization to avoid making a copy if the user passes
# in a securitycenter_service.ListAssetsRequest.
Expand Down Expand Up @@ -4129,6 +4138,10 @@ def sample_run_asset_discovery():
Response of asset discovery run

"""
warnings.warn(
"SecurityCenterClient.run_asset_discovery is deprecated", DeprecationWarning
)

# Create or coerce a protobuf request object.
# Quick check: If we got a request object, we should *not* have
# gotten any keyword arguments that map to the request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "1.22.0" # {x-release-please-version}
__version__ = "0.1.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "1.22.0" # {x-release-please-version}
__version__ = "0.1.0" # {x-release-please-version}