get_compute_object_ids_gce
Retrieves all GCE object IDs that match query
def get_compute_object_ids_gce(self, match_all=True, **kwargs):
Arguments
Name
Type
Description
Choices
match_all
bool
Set to False
to match ANY defined criteria
kwargs
Any top level object from the get_compute_gce call
Returns
Type
Return Value
list
List of all the GCE object id's
Example
from rubrik_polaris import PolarisClient
domain = 'my-company'
username = 'john.doe@example.com'
password = 's3cr3tP_a55w0R)'
client = PolarisClient(domain, username, password, insecure=True)
# Search for a set of objects and get their details
for i in client.get_compute_object_ids_gce():
print(client.get_compute_gce(i))
Last updated