Migration Center API . projects . locations . assets

Instance Methods

aggregateValues(parent, body=None, x__xgafv=None)

Aggregates the requested fields based on provided function.

batchDelete(parent, body=None, x__xgafv=None)

Deletes list of Assets.

batchUpdate(parent, body=None, x__xgafv=None)

Updates the parameters of a list of assets.

close()

Close httplib2 connections.

delete(name, requestId=None, x__xgafv=None)

Deletes an asset.

get(name, view=None, x__xgafv=None)

Gets the details of an asset.

list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)

Lists all the assets in a given project and location.

list_next()

Retrieves the next page of results.

patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)

Updates the parameters of an asset.

reportAssetFrames(parent, body=None, source=None, x__xgafv=None)

Reports a set of frames.

Method Details

aggregateValues(parent, body=None, x__xgafv=None)
Aggregates the requested fields based on provided function.

Args:
  parent: string, Required. Parent value for `AggregateAssetsValuesRequest`. (required)
  body: object, The request body.
    The object takes the form of:

{ # A request to aggregate one or more values.
  "aggregations": [ # Array of aggregations to perform. Up to 25 aggregations can be defined.
    { # Message describing an aggregation. The message includes the aggregation type, parameters, and the field on which to perform the aggregation.
      "count": { # Object count. # Count the number of matching objects.
      },
      "field": "A String", # The name of the field on which to aggregate.
      "frequency": { # Frequency distribution of all field values. # Creates a frequency distribution of all field values.
      },
      "histogram": { # Histogram of bucketed assets counts by field value. # Creates a bucketed histogram of field values.
        "lowerBounds": [ # Lower bounds of buckets. The response will contain `n+1` buckets for `n` bounds. The first bucket will count all assets for which the field value is smaller than the first bound. Subsequent buckets will count assets for which the field value is greater or equal to a lower bound and smaller than the next one. The last bucket will count assets for which the field value is greater or equal to the final lower bound. You can define up to 20 lower bounds.
          3.14,
        ],
      },
      "sum": { # Sum of field values. # Sum over a numeric field.
      },
    },
  ],
  "filter": "A String", # The aggregation will be performed on assets that match the provided filter.
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # A response to a request to aggregated assets values.
  "results": [ # The aggregation results.
    { # Message describing a result of an aggregation.
      "count": { # The result of a count aggregation.
        "value": "A String",
      },
      "field": "A String",
      "frequency": { # The result of a frequency distribution aggregation.
        "values": {
          "a_key": "A String",
        },
      },
      "histogram": { # The result of a bucketed histogram aggregation.
        "buckets": [ # Buckets in the histogram. There will be `n+1` buckets matching `n` lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.
          { # A histogram bucket with a lower and upper bound, and a count of items with a field value between those bounds. The lower bound is inclusive and the upper bound is exclusive. Lower bound may be -infinity and upper bound may be infinity.
            "count": "A String", # Count of items in the bucket.
            "lowerBound": 3.14, # Lower bound - inclusive.
            "upperBound": 3.14, # Upper bound - exclusive.
          },
        ],
      },
      "sum": { # The result of a sum aggregation.
        "value": 3.14,
      },
    },
  ],
}
batchDelete(parent, body=None, x__xgafv=None)
Deletes list of Assets.

Args:
  parent: string, Required. Parent value for batch asset delete. (required)
  body: object, The request body.
    The object takes the form of:

{ # A request to delete a list of asset.
  "allowMissing": True or False, # Optional. When this value is set to `true` the request is a no-op for non-existing assets. See https://google.aip.dev/135#delete-if-existing for additional details. Default value is `false`.
  "names": [ # Required. The IDs of the assets to delete. A maximum of 1000 assets can be deleted in a batch. Format: projects/{project}/locations/{location}/assets/{name}.
    "A String",
  ],
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
}
batchUpdate(parent, body=None, x__xgafv=None)
Updates the parameters of a list of assets.

Args:
  parent: string, Required. Parent value for batch asset update. (required)
  body: object, The request body.
    The object takes the form of:

{ # A request to update a list of assets.
  "requests": [ # Required. The request message specifying the resources to update. A maximum of 1000 assets can be modified in a batch.
    { # A request to update an asset.
      "asset": { # An asset represents a resource in your environment. Asset types include virtual machines and databases. # Required. The resource being updated.
        "assignedGroups": [ # Output only. The list of groups that the asset is assigned to.
          "A String",
        ],
        "attributes": { # Generic asset attributes.
          "a_key": "A String",
        },
        "createTime": "A String", # Output only. The timestamp when the asset was created.
        "insightList": { # Message containing insights list. # Output only. The list of insights associated with the asset.
          "insights": [ # Output only. Insights of the list.
            { # An insight about an asset.
              "genericInsight": { # An insight about an asset (experimental insight) # Output only. A generic insight about an asset.
                "additionalInformation": [ # Output only. Additional information about the insight, each entry can be a logical entry and must make sense if it is displayed with line breaks between each entry. Text can contain md style links
                  "A String",
                ],
                "defaultMessage": "A String", # Output only. In case message_code is not yet known by the client default_message will be the message to be used instead. Text can contain md file style links.
                "messageId": "A String", # Output only. Represents a globally unique message id for this insight, can be used for localization purposes, in case message_code is not yet known by the client use default_message instead.
              },
              "migrationInsight": { # An insight about potential migrations for an asset. # Output only. An insight about potential migrations for an asset.
                "computeEngineTarget": { # Compute engine migration target. # Output only. A Google Compute Engine target.
                  "shape": { # Compute Engine target shape descriptor. # Description of the suggested shape for the migration target.
                    "logicalCoreCount": 42, # Number of logical cores.
                    "machineType": "A String", # Compute Engine machine type.
                    "memoryMb": 42, # Memory in mebibytes.
                    "physicalCoreCount": 42, # Number of physical cores.
                    "series": "A String", # Compute Engine machine series.
                    "storage": [ # Compute Engine storage. Never empty.
                      { # Compute Engine storage option descriptor.
                        "sizeGb": 42, # Disk size in GiB.
                        "type": "A String", # Disk type backing the storage.
                      },
                    ],
                  },
                },
                "fit": { # Describes the fit level of an asset for migration to a specific target. # Output only. Description of how well the asset this insight is associated with fits the proposed migration.
                  "fitLevel": "A String", # Fit level.
                },
                "gkeTarget": { # GKE migration target. # Output only. A Google Kubernetes Engine target.
                },
                "vmwareEngineTarget": { # VMWare engine migration target. # Output only. A VMWare Engine target.
                },
              },
            },
          ],
          "updateTime": "A String", # Output only. Update timestamp.
        },
        "labels": { # Labels as key value pairs.
          "a_key": "A String",
        },
        "name": "A String", # Output only. The full name of the asset.
        "performanceData": { # Performance data for an asset. # Output only. Performance data for the asset.
          "dailyResourceUsageAggregations": [ # Daily resource usage aggregations. Contains all of the data available for an asset, up to the last 420 days. Aggregations are sorted from oldest to most recent.
            { # Usage data aggregation for a single day.
              "cpu": { # Statistical aggregation of CPU usage. # CPU usage.
                "utilizationPercentage": { # Statistical aggregation of samples for a single resource usage. # CPU utilization percentage.
                  "average": 3.14, # Average usage value.
                  "median": 3.14, # Median usage value.
                  "ninteyFifthPercentile": 3.14, # 95th percentile usage value.
                  "peak": 3.14, # Peak usage value.
                },
              },
              "date": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Aggregation date. Day boundaries are at midnight UTC.
                "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
                "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
                "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
              },
              "disk": { # Statistical aggregation of disk usage. # Disk usage.
                "iops": { # Statistical aggregation of samples for a single resource usage. # Disk I/O operations per second.
                  "average": 3.14, # Average usage value.
                  "median": 3.14, # Median usage value.
                  "ninteyFifthPercentile": 3.14, # 95th percentile usage value.
                  "peak": 3.14, # Peak usage value.
                },
              },
              "memory": { # Statistical aggregation of memory usage. # Memory usage.
                "utilizationPercentage": { # Statistical aggregation of samples for a single resource usage. # Memory utilization percentage.
                  "average": 3.14, # Average usage value.
                  "median": 3.14, # Median usage value.
                  "ninteyFifthPercentile": 3.14, # 95th percentile usage value.
                  "peak": 3.14, # Peak usage value.
                },
              },
              "network": { # Statistical aggregation of network usage. # Network usage.
                "egressBps": { # Statistical aggregation of samples for a single resource usage. # Network egress in B/s.
                  "average": 3.14, # Average usage value.
                  "median": 3.14, # Median usage value.
                  "ninteyFifthPercentile": 3.14, # 95th percentile usage value.
                  "peak": 3.14, # Peak usage value.
                },
                "ingressBps": { # Statistical aggregation of samples for a single resource usage. # Network ingress in B/s.
                  "average": 3.14, # Average usage value.
                  "median": 3.14, # Median usage value.
                  "ninteyFifthPercentile": 3.14, # 95th percentile usage value.
                  "peak": 3.14, # Peak usage value.
                },
              },
            },
          ],
        },
        "sources": [ # Output only. The list of sources contributing to the asset.
          "A String",
        ],
        "updateTime": "A String", # Output only. The timestamp when the asset was last updated.
        "virtualMachineDetails": { # Details of a VirtualMachine. # Output only. Asset information specific for virtual machines.
          "coreCount": 42, # Number of CPU cores in the VirtualMachine. Must be non-negative.
          "createTime": "A String", # VM creation timestamp.
          "guestOs": { # Information from Guest-level collections. # Guest OS information.
            "config": { # Guest OS config information. # OS and app configuration.
              "fstab": { # Fstab content. # Mount list (Linux fstab).
                "entries": [ # Fstab entries.
                  { # Single fstab entry.
                    "file": "A String", # The mount point for the filesystem.
                    "freq": 42, # Used by dump to determine which filesystems need to be dumped.
                    "mntops": "A String", # Mount options associated with the filesystem.
                    "passno": 42, # Used by the fsck(8) program to determine the order in which filesystem checks are done at reboot time.
                    "spec": "A String", # The block special device or remote filesystem to be mounted.
                    "vfstype": "A String", # The type of the filesystem.
                  },
                ],
              },
              "hosts": { # Hosts content. # Hosts file (/etc/hosts).
                "entries": [ # Hosts entries.
                  { # Single /etc/hosts entry.
                    "hostNames": [ # List of host names / aliases.
                      "A String",
                    ],
                    "ip": "A String", # IP (raw, IPv4/6 agnostic).
                  },
                ],
              },
              "issue": "A String", # OS issue (typically /etc/issue in Linux).
              "nfsExports": { # NFS exports. # NFS exports.
                "entries": [ # NFS export entries.
                  { # NFS export.
                    "exportDirectory": "A String", # The directory being exported.
                    "hosts": [ # The hosts or networks to which the export is being shared.
                      "A String",
                    ],
                  },
                ],
              },
              "selinux": { # SELinux details. # SELinux details.
                "enabled": True or False, # Is SELinux enabled.
                "mode": "A String", # SELinux mode enforcing / permissive.
              },
            },
            "runtime": { # Guest OS runtime information. # Runtime information.
              "domain": "A String", # Domain, e.g. c.stratozone-development.internal.
              "installedApps": { # Guest installed application list. # Installed applications information.
                "entries": [ # Application entries.
                  { # Guest installed application information.
                    "name": "A String", # Installed application name.
                    "path": "A String", # Source path.
                    "time": "A String", # Date application was installed.
                    "vendor": "A String", # Installed application vendor.
                    "version": "A String", # Installed application version.
                  },
                ],
              },
              "lastUptime": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date since last booted (last uptime date).
                "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
                "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
                "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
              },
              "machineName": "A String", # Machine name.
              "networkInfo": { # Runtime networking information. # Runtime network information (connections, ports).
                "connections": { # Network connection list. # Network connections.
                  "entries": [ # Network connection entries.
                    {
                      "localIpAddress": "A String", # Local IP address.
                      "localPort": 42, # Local port.
                      "pid": "A String", # Process ID.
                      "processName": "A String", # Process or service name.
                      "protocol": "A String", # Connection protocol (e.g. TCP/UDP).
                      "remoteIpAddress": "A String", # Remote IP address.
                      "remotePort": 42, # Remote port.
                      "state": "A String", # Connection state (e.g. CONNECTED).
                    },
                  ],
                },
                "netstat": "A String", # Netstat (raw, OS-agnostic).
                "netstatTime": { # Represents civil time (or occasionally physical time). This type can represent a civil time in one of a few possible ways: * When utc_offset is set and time_zone is unset: a civil time on a calendar day with a particular offset from UTC. * When time_zone is set and utc_offset is unset: a civil time on a calendar day in a particular time zone. * When neither time_zone nor utc_offset is set: a civil time on a calendar day in local time. The date is relative to the Proleptic Gregorian Calendar. If year, month, or day are 0, the DateTime is considered not to have a specific year, month, or day respectively. This type may also be used to represent a physical time if all the date and time fields are set and either case of the `time_offset` oneof is set. Consider using `Timestamp` message for physical time instead. If your use case also would like to store the user's timezone, that can be done in another field. This type is more flexible than some applications may want. Make sure to document and validate your application's limitations. # Netstat time collected.
                  "day": 42, # Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a datetime without a day.
                  "hours": 42, # Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An API may choose to allow the value "24:00:00" for scenarios like business closing time.
                  "minutes": 42, # Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
                  "month": 42, # Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month.
                  "nanos": 42, # Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0.
                  "seconds": 42, # Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API may allow the value 60 if it allows leap-seconds.
                  "timeZone": { # Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones). # Time zone.
                    "id": "A String", # IANA Time Zone Database time zone, e.g. "America/New_York".
                    "version": "A String", # Optional. IANA Time Zone Database version number, e.g. "2019a".
                  },
                  "utcOffset": "A String", # UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00 would be represented as { seconds: -14400 }.
                  "year": 42, # Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year.
                },
              },
              "openFileList": { # Open file list. # Open files information.
                "entries": [ # Open file details entries.
                  { # Open file Information.
                    "command": "A String", # Opened file command.
                    "filePath": "A String", # Opened file file path.
                    "fileType": "A String", # Opened file file type.
                    "user": "A String", # Opened file user.
                  },
                ],
              },
              "processes": { # List of running guest OS processes. # Running processes.
                "processes": [ # Running process entries.
                  { # Guest OS running process details.
                    "attributes": { # Process extended attributes.
                      "a_key": "A String",
                    },
                    "cmdline": "A String", # Process full command line.
                    "exePath": "A String", # Process binary path.
                    "pid": "A String", # Process ID.
                    "user": "A String", # User running the process.
                  },
                ],
              },
              "services": { # List of running guest OS services. # Running background services.
                "services": [ # Running service entries.
                  { # Guest OS running service details.
                    "cmdline": "A String", # Service command line.
                    "exePath": "A String", # Service binary path.
                    "name": "A String", # Service name.
                    "pid": "A String", # Service pid.
                    "startMode": "A String", # Service start mode (raw, OS-agnostic).
                    "state": "A String", # Service state (raw, OS-agnostic).
                    "status": "A String", # Service status.
                  },
                ],
              },
            },
          },
          "memoryMb": 42, # The amount of memory in the VirtualMachine. Must be non-negative.
          "osFamily": "A String", # What family the OS belong to, if known.
          "osName": "A String", # The name of the operating system running on the VirtualMachine.
          "osVersion": "A String", # The version of the operating system running on the virtual machine.
          "platform": { # Information about the platform. # Platform information.
            "awsEc2Details": { # AWS EC2 specific details. # AWS EC2 specific details.
              "location": "A String", # The location of the machine in the AWS format.
              "machineTypeLabel": "A String", # AWS platform's machine type label.
            },
            "azureVmDetails": { # Azure VM specific details. # Azure VM specific details.
              "location": "A String", # The location of the machine in the Azure format.
              "machineTypeLabel": "A String", # Azure platform's machine type label.
              "provisioningState": "A String", # Azure platform's provisioning state.
            },
            "genericDetails": { # Generic platform details. # Generic platform details.
              "location": "A String", # Free text representation of the machine location. The format of this field should not be relied on. Different VMs in the same location may have different string values for this field.
            },
            "physicalDetails": { # Platform specific details for Physical Machines. # Physical machines platform details.
              "location": "A String", # Free text representation of the machine location. The format of this field should not be relied on. Different machines in the same location may have different string values for this field.
            },
            "vmwareDetails": { # VMware specific details. # VMware specific details.
              "esxVersion": "A String", # ESX version.
              "osid": "A String", # VMware os enum - https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html.
              "vcenterVersion": "A String", # vCenter version.
            },
          },
          "powerState": "A String", # Power state of VM (poweredOn or poweredOff).
          "vcenterFolder": "A String", # Folder name in vCenter where asset resides.
          "vcenterUrl": "A String", # vCenter URL used in collection.
          "vcenterVmId": "A String", # vCenter VM ID.
          "vmArchitecture": { # Details of the VM architecture. # VM architecture details (vendor, cpu arch).
            "bios": { # Details about the BIOS. # BIOS Details.
              "biosManufacturer": "A String", # BIOS manufacturer.
              "biosName": "A String", # BIOS name.
              "biosReleaseDate": "A String", # BIOS release date.
              "biosVersion": "A String", # BIOS version.
              "smbiosUuid": "A String", # SMBIOS UUID.
            },
            "cpuArchitecture": "A String", # CPU architecture, e.g., "x64-based PC", "x86_64", "i686" etc.
            "cpuManufacturer": "A String", # CPU manufacturer, e.g., "Intel", "AMD".
            "cpuName": "A String", # CPU name, e.g., "Intel Xeon E5-2690", "AMD EPYC 7571" etc.
            "cpuSocketCount": 42, # Number of processor sockets allocated to the machine.
            "cpuThreadCount": 42, # Number of CPU threads allocated to the machine.
            "firmware": "A String", # Firmware (BIOS/efi).
            "hyperthreading": "A String", # CPU hyperthreading support.
            "vendor": "A String", # Hardware vendor.
          },
          "vmDisks": { # Details of VM disks. # VM disk details.
            "disks": { # VM disks. # List of disks.
              "entries": [ # Disk entries.
                { # Single disk entry.
                  "diskLabel": "A String", # Disk label.
                  "diskLabelType": "A String", # Disk label type (e.g. BIOS/GPT)
                  "hwAddress": "A String", # Disk hardware address (e.g. 0:1 for SCSI).
                  "interfaceType": "A String", # Disks interface type (e.g. SATA/SCSI)
                  "partitions": { # Disk partition list. # Partition layout.
                    "entries": [ # Partition entries.
                      { # Disk Partition details.
                        "capacityBytes": "A String", # Partition capacity.
                        "fileSystem": "A String", # Partition file system.
                        "freeBytes": "A String", # Partition free space.
                        "mountPoint": "A String", # Mount pount (Linux/Windows) or drive letter (Windows).
                        "subPartitions": # Object with schema name: DiskPartitionList # Sub-partitions.
                        "type": "A String", # Partition type (e.g. BIOS boot).
                        "uuid": "A String", # Partition UUID.
                      },
                    ],
                  },
                  "status": "A String", # Disk status (e.g. online).
                  "totalCapacityBytes": "A String", # Disk capacity.
                  "totalFreeBytes": "A String", # Disk free space.
                  "vmwareConfig": { # VMware disk config details. # VMware disk details.
                    "backingType": "A String", # VMDK backing type.
                    "rdmCompatibilityMode": "A String", # RDM compatibility mode.
                    "shared": True or False, # Is VMDK shared with other VMs.
                    "vmdkDiskMode": "A String", # VMDK disk mode.
                  },
                },
              ],
            },
            "hddTotalCapacityBytes": "A String", # Disk total Capacity.
            "hddTotalFreeBytes": "A String", # Total Disk Free Space.
            "lsblkJson": "A String", # Raw lsblk output in json.
          },
          "vmName": "A String", # Virtual Machine display name.
          "vmNetwork": { # Details of network adapters and settings. # VM network details.
            "defaultGw": "A String", # Default gateway address.
            "networkAdapters": { # List of network adapters. # List of network adapters.
              "networkAdapters": [ # Network adapter descriptions.
                { # Details of network adapter.
                  "adapterType": "A String", # Network adapter type (e.g. VMXNET3).
                  "addresses": { # List of allocated/assigned network addresses. # NetworkAddressList
                    "addresses": [ # Network address entries.
                      { # Details of network address.
                        "assignment": "A String", # Whether DHCP is used to assign addresses.
                        "bcast": "A String", # Broadcast address.
                        "fqdn": "A String", # Fully qualified domain name.
                        "ipAddress": "A String", # Assigned or configured IP Address.
                        "subnetMask": "A String", # Subnet mask.
                      },
                    ],
                  },
                  "macAddress": "A String", # MAC address.
                },
              ],
            },
            "primaryIpAddress": "A String", # IP address of the machine.
            "primaryMacAddress": "A String", # MAC address of the machine. This property is used to uniqly identify the machine.
            "publicIpAddress": "A String", # Public IP address of the machine.
          },
          "vmUuid": "A String", # Virtual Machine unique identifier.
        },
      },
      "requestId": "A String", # Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
      "updateMask": "A String", # Required. Field mask is used to specify the fields to be overwritten in the `Asset` resource by the update. The values specified in the `update_mask` field are relative to the resource, not the full request. A field will be overwritten if it is in the mask. A single * value in the mask lets you to overwrite all fields.
    },
  ],
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response for updating a list of assets.
  "assets": [ # Update asset content. The content only includes values after field mask being applied.
    { # An asset represents a resource in your environment. Asset types include virtual machines and databases.
      "assignedGroups": [ # Output only. The list of groups that the asset is assigned to.
        "A String",
      ],
      "attributes": { # Generic asset attributes.
        "a_key": "A String",
      },
      "createTime": "A String", # Output only. The timestamp when the asset was created.
      "insightList": { # Message containing insights list. # Output only. The list of insights associated with the asset.
        "insights": [ # Output only. Insights of the list.
          { # An insight about an asset.
            "genericInsight": { # An insight about an asset (experimental insight) # Output only. A generic insight about an asset.
              "additionalInformation": [ # Output only. Additional information about the insight, each entry can be a logical entry and must make sense if it is displayed with line breaks between each entry. Text can contain md style links
                "A String",
              ],
              "defaultMessage": "A String", # Output only. In case message_code is not yet known by the client default_message will be the message to be used instead. Text can contain md file style links.
              "messageId": "A String", # Output only. Represents a globally unique message id for this insight, can be used for localization purposes, in case message_code is not yet known by the client use default_message instead.
            },
            "migrationInsight": { # An insight about potential migrations for an asset. # Output only. An insight about potential migrations for an asset.
              "computeEngineTarget": { # Compute engine migration target. # Output only. A Google Compute Engine target.
                "shape": { # Compute Engine target shape descriptor. # Description of the suggested shape for the migration target.
                  "logicalCoreCount": 42, # Number of logical cores.
                  "machineType": "A String", # Compute Engine machine type.
                  "memoryMb": 42, # Memory in mebibytes.
                  "physicalCoreCount": 42, # Number of physical cores.
                  "series": "A String", # Compute Engine machine series.
                  "storage": [ # Compute Engine storage. Never empty.
                    { # Compute Engine storage option descriptor.
                      "sizeGb": 42, # Disk size in GiB.
                      "type": "A String", # Disk type backing the storage.
                    },
                  ],
                },
              },
              "fit": { # Describes the fit level of an asset for migration to a specific target. # Output only. Description of how well the asset this insight is associated with fits the proposed migration.
                "fitLevel": "A String", # Fit level.
              },
              "gkeTarget": { # GKE migration target. # Output only. A Google Kubernetes Engine target.
              },
              "vmwareEngineTarget": { # VMWare engine migration target. # Output only. A VMWare Engine target.
              },
            },
          },
        ],
        "updateTime": "A String", # Output only. Update timestamp.
      },
      "labels": { # Labels as key value pairs.
        "a_key": "A String",
      },
      "name": "A String", # Output only. The full name of the asset.
      "performanceData": { # Performance data for an asset. # Output only. Performance data for the asset.
        "dailyResourceUsageAggregations": [ # Daily resource usage aggregations. Contains all of the data available for an asset, up to the last 420 days. Aggregations are sorted from oldest to most recent.
          { # Usage data aggregation for a single day.
            "cpu": { # Statistical aggregation of CPU usage. # CPU usage.
              "utilizationPercentage": { # Statistical aggregation of samples for a single resource usage. # CPU utilization percentage.
                "average": 3.14, # Average usage value.
                "median": 3.14, # Median usage value.
                "ninteyFifthPercentile": 3.14, # 95th percentile usage value.
                "peak": 3.14, # Peak usage value.
              },
            },
            "date": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Aggregation date. Day boundaries are at midnight UTC.
              "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
              "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
              "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
            },
            "disk": { # Statistical aggregation of disk usage. # Disk usage.
              "iops": { # Statistical aggregation of samples for a single resource usage. # Disk I/O operations per second.
                "average": 3.14, # Average usage value.
                "median": 3.14, # Median usage value.
                "ninteyFifthPercentile": 3.14, # 95th percentile usage value.
                "peak": 3.14, # Peak usage value.
              },
            },
            "memory": { # Statistical aggregation of memory usage. # Memory usage.
              "utilizationPercentage": { # Statistical aggregation of samples for a single resource usage. # Memory utilization percentage.
                "average": 3.14, # Average usage value.
                "median": 3.14, # Median usage value.
                "ninteyFifthPercentile": 3.14, # 95th percentile usage value.
                "peak": 3.14, # Peak usage value.
              },
            },
            "network": { # Statistical aggregation of network usage. # Network usage.
              "egressBps": { # Statistical aggregation of samples for a single resource usage. # Network egress in B/s.
                "average": 3.14, # Average usage value.
                "median": 3.14, # Median usage value.
                "ninteyFifthPercentile": 3.14, # 95th percentile usage value.
                "peak": 3.14, # Peak usage value.
              },
              "ingressBps": { # Statistical aggregation of samples for a single resource usage. # Network ingress in B/s.
                "average": 3.14, # Average usage value.
                "median": 3.14, # Median usage value.
                "ninteyFifthPercentile": 3.14, # 95th percentile usage value.
                "peak": 3.14, # Peak usage value.
              },
            },
          },
        ],
      },
      "sources": [ # Output only. The list of sources contributing to the asset.
        "A String",
      ],
      "updateTime": "A String", # Output only. The timestamp when the asset was last updated.
      "virtualMachineDetails": { # Details of a VirtualMachine. # Output only. Asset information specific for virtual machines.
        "coreCount": 42, # Number of CPU cores in the VirtualMachine. Must be non-negative.
        "createTime": "A String", # VM creation timestamp.
        "guestOs": { # Information from Guest-level collections. # Guest OS information.
          "config": { # Guest OS config information. # OS and app configuration.
            "fstab": { # Fstab content. # Mount list (Linux fstab).
              "entries": [ # Fstab entries.
                { # Single fstab entry.
                  "file": "A String", # The mount point for the filesystem.
                  "freq": 42, # Used by dump to determine which filesystems need to be dumped.
                  "mntops": "A String", # Mount options associated with the filesystem.
                  "passno": 42, # Used by the fsck(8) program to determine the order in which filesystem checks are done at reboot time.
                  "spec": "A String", # The block special device or remote filesystem to be mounted.
                  "vfstype": "A String", # The type of the filesystem.
                },
              ],
            },
            "hosts": { # Hosts content. # Hosts file (/etc/hosts).
              "entries": [ # Hosts entries.
                { # Single /etc/hosts entry.
                  "hostNames": [ # List of host names / aliases.
                    "A String",
                  ],
                  "ip": "A String", # IP (raw, IPv4/6 agnostic).
                },
              ],
            },
            "issue": "A String", # OS issue (typically /etc/issue in Linux).
            "nfsExports": { # NFS exports. # NFS exports.
              "entries": [ # NFS export entries.
                { # NFS export.
                  "exportDirectory": "A String", # The directory being exported.
                  "hosts": [ # The hosts or networks to which the export is being shared.
                    "A String",
                  ],
                },
              ],
            },
            "selinux": { # SELinux details. # SELinux details.
              "enabled": True or False, # Is SELinux enabled.
              "mode": "A String", # SELinux mode enforcing / permissive.
            },
          },
          "runtime": { # Guest OS runtime information. # Runtime information.
            "domain": "A String", # Domain, e.g. c.stratozone-development.internal.
            "installedApps": { # Guest installed application list. # Installed applications information.
              "entries": [ # Application entries.
                { # Guest installed application information.
                  "name": "A String", # Installed application name.
                  "path": "A String", # Source path.
                  "time": "A String", # Date application was installed.
                  "vendor": "A String", # Installed application vendor.
                  "version": "A String", # Installed application version.
                },
              ],
            },
            "lastUptime": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date since last booted (last uptime date).
              "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
              "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
              "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
            },
            "machineName": "A String", # Machine name.
            "networkInfo": { # Runtime networking information. # Runtime network information (connections, ports).
              "connections": { # Network connection list. # Network connections.
                "entries": [ # Network connection entries.
                  {
                    "localIpAddress": "A String", # Local IP address.
                    "localPort": 42, # Local port.
                    "pid": "A String", # Process ID.
                    "processName": "A String", # Process or service name.
                    "protocol": "A String", # Connection protocol (e.g. TCP/UDP).
                    "remoteIpAddress": "A String", # Remote IP address.
                    "remotePort": 42, # Remote port.
                    "state": "A String", # Connection state (e.g. CONNECTED).
                  },
                ],
              },
              "netstat": "A String", # Netstat (raw, OS-agnostic).
              "netstatTime": { # Represents civil time (or occasionally physical time). This type can represent a civil time in one of a few possible ways: * When utc_offset is set and time_zone is unset: a civil time on a calendar day with a particular offset from UTC. * When time_zone is set and utc_offset is unset: a civil time on a calendar day in a particular time zone. * When neither time_zone nor utc_offset is set: a civil time on a calendar day in local time. The date is relative to the Proleptic Gregorian Calendar. If year, month, or day are 0, the DateTime is considered not to have a specific year, month, or day respectively. This type may also be used to represent a physical time if all the date and time fields are set and either case of the `time_offset` oneof is set. Consider using `Timestamp` message for physical time instead. If your use case also would like to store the user's timezone, that can be done in another field. This type is more flexible than some applications may want. Make sure to document and validate your application's limitations. # Netstat time collected.
                "day": 42, # Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a datetime without a day.
                "hours": 42, # Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An API may choose to allow the value "24:00:00" for scenarios like business closing time.
                "minutes": 42, # Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
                "month": 42, # Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month.
                "nanos": 42, # Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0.
                "seconds": 42, # Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API may allow the value 60 if it allows leap-seconds.
                "timeZone": { # Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones). # Time zone.
                  "id": "A String", # IANA Time Zone Database time zone, e.g. "America/New_York".
                  "version": "A String", # Optional. IANA Time Zone Database version number, e.g. "2019a".
                },
                "utcOffset": "A String", # UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00 would be represented as { seconds: -14400 }.
                "year": 42, # Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year.
              },
            },
            "openFileList": { # Open file list. # Open files information.
              "entries": [ # Open file details entries.
                { # Open file Information.
                  "command": "A String", # Opened file command.
                  "filePath": "A String", # Opened file file path.
                  "fileType": "A String", # Opened file file type.
                  "user": "A String", # Opened file user.
                },
              ],
            },
            "processes": { # List of running guest OS processes. # Running processes.
              "processes": [ # Running process entries.
                { # Guest OS running process details.
                  "attributes": { # Process extended attributes.
                    "a_key": "A String",
                  },
                  "cmdline": "A String", # Process full command line.
                  "exePath": "A String", # Process binary path.
                  "pid": "A String", # Process ID.
                  "user": "A String", # User running the process.
                },
              ],
            },
            "services": { # List of running guest OS services. # Running background services.
              "services": [ # Running service entries.
                { # Guest OS running service details.
                  "cmdline": "A String", # Service command line.
                  "exePath": "A String", # Service binary path.
                  "name": "A String", # Service name.
                  "pid": "A String", # Service pid.
                  "startMode": "A String", # Service start mode (raw, OS-agnostic).
                  "state": "A String", # Service state (raw, OS-agnostic).
                  "status": "A String", # Service status.
                },
              ],
            },
          },
        },
        "memoryMb": 42, # The amount of memory in the VirtualMachine. Must be non-negative.
        "osFamily": "A String", # What family the OS belong to, if known.
        "osName": "A String", # The name of the operating system running on the VirtualMachine.
        "osVersion": "A String", # The version of the operating system running on the virtual machine.
        "platform": { # Information about the platform. # Platform information.
          "awsEc2Details": { # AWS EC2 specific details. # AWS EC2 specific details.
            "location": "A String", # The location of the machine in the AWS format.
            "machineTypeLabel": "A String", # AWS platform's machine type label.
          },
          "azureVmDetails": { # Azure VM specific details. # Azure VM specific details.
            "location": "A String", # The location of the machine in the Azure format.
            "machineTypeLabel": "A String", # Azure platform's machine type label.
            "provisioningState": "A String", # Azure platform's provisioning state.
          },
          "genericDetails": { # Generic platform details. # Generic platform details.
            "location": "A String", # Free text representation of the machine location. The format of this field should not be relied on. Different VMs in the same location may have different string values for this field.
          },
          "physicalDetails": { # Platform specific details for Physical Machines. # Physical machines platform details.
            "location": "A String", # Free text representation of the machine location. The format of this field should not be relied on. Different machines in the same location may have different string values for this field.
          },
          "vmwareDetails": { # VMware specific details. # VMware specific details.
            "esxVersion": "A String", # ESX version.
            "osid": "A String", # VMware os enum - https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html.
            "vcenterVersion": "A String", # vCenter version.
          },
        },
        "powerState": "A String", # Power state of VM (poweredOn or poweredOff).
        "vcenterFolder": "A String", # Folder name in vCenter where asset resides.
        "vcenterUrl": "A String", # vCenter URL used in collection.
        "vcenterVmId": "A String", # vCenter VM ID.
        "vmArchitecture": { # Details of the VM architecture. # VM architecture details (vendor, cpu arch).
          "bios": { # Details about the BIOS. # BIOS Details.
            "biosManufacturer": "A String", # BIOS manufacturer.
            "biosName": "A String", # BIOS name.
            "biosReleaseDate": "A String", # BIOS release date.
            "biosVersion": "A String", # BIOS version.
            "smbiosUuid": "A String", # SMBIOS UUID.
          },
          "cpuArchitecture": "A String", # CPU architecture, e.g., "x64-based PC", "x86_64", "i686" etc.
          "cpuManufacturer": "A String", # CPU manufacturer, e.g., "Intel", "AMD".
          "cpuName": "A String", # CPU name, e.g., "Intel Xeon E5-2690", "AMD EPYC 7571" etc.
          "cpuSocketCount": 42, # Number of processor sockets allocated to the machine.
          "cpuThreadCount": 42, # Number of CPU threads allocated to the machine.
          "firmware": "A String", # Firmware (BIOS/efi).
          "hyperthreading": "A String", # CPU hyperthreading support.
          "vendor": "A String", # Hardware vendor.
        },
        "vmDisks": { # Details of VM disks. # VM disk details.
          "disks": { # VM disks. # List of disks.
            "entries": [ # Disk entries.
              { # Single disk entry.
                "diskLabel": "A String", # Disk label.
                "diskLabelType": "A String", # Disk label type (e.g. BIOS/GPT)
                "hwAddress": "A String", # Disk hardware address (e.g. 0:1 for SCSI).
                "interfaceType": "A String", # Disks interface type (e.g. SATA/SCSI)
                "partitions": { # Disk partition list. # Partition layout.
                  "entries": [ # Partition entries.
                    { # Disk Partition details.
                      "capacityBytes": "A String", # Partition capacity.
                      "fileSystem": "A String", # Partition file system.
                      "freeBytes": "A String", # Partition free space.
                      "mountPoint": "A String", # Mount pount (Linux/Windows) or drive letter (Windows).
                      "subPartitions": # Object with schema name: DiskPartitionList # Sub-partitions.
                      "type": "A String", # Partition type (e.g. BIOS boot).
                      "uuid": "A String", # Partition UUID.
                    },
                  ],
                },
                "status": "A String", # Disk status (e.g. online).
                "totalCapacityBytes": "A String", # Disk capacity.
                "totalFreeBytes": "A String", # Disk free space.
                "vmwareConfig": { # VMware disk config details. # VMware disk details.
                  "backingType": "A String", # VMDK backing type.
                  "rdmCompatibilityMode": "A String", # RDM compatibility mode.
                  "shared": True or False, # Is VMDK shared with other VMs.
                  "vmdkDiskMode": "A String", # VMDK disk mode.
                },
              },
            ],
          },
          "hddTotalCapacityBytes": "A String", # Disk total Capacity.
          "hddTotalFreeBytes": "A String", # Total Disk Free Space.
          "lsblkJson": "A String", # Raw lsblk output in json.
        },
        "vmName": "A String", # Virtual Machine display name.
        "vmNetwork": { # Details of network adapters and settings. # VM network details.
          "defaultGw": "A String", # Default gateway address.
          "networkAdapters": { # List of network adapters. # List of network adapters.
            "networkAdapters": [ # Network adapter descriptions.
              { # Details of network adapter.
                "adapterType": "A String", # Network adapter type (e.g. VMXNET3).
                "addresses": { # List of allocated/assigned network addresses. # NetworkAddressList
                  "addresses": [ # Network address entries.
                    { # Details of network address.
                      "assignment": "A String", # Whether DHCP is used to assign addresses.
                      "bcast": "A String", # Broadcast address.
                      "fqdn": "A String", # Fully qualified domain name.
                      "ipAddress": "A String", # Assigned or configured IP Address.
                      "subnetMask": "A String", # Subnet mask.
                    },
                  ],
                },
                "macAddress": "A String", # MAC address.
              },
            ],
          },
          "primaryIpAddress": "A String", # IP address of the machine.
          "primaryMacAddress": "A String", # MAC address of the machine. This property is used to uniqly identify the machine.
          "publicIpAddress": "A String", # Public IP address of the machine.
        },
        "vmUuid": "A String", # Virtual Machine unique identifier.
      },
    },
  ],
}
close()
Close httplib2 connections.
delete(name, requestId=None, x__xgafv=None)
Deletes an asset.

Args:
  name: string, Required. Name of the resource. (required)
  requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
}
get(name, view=None, x__xgafv=None)
Gets the details of an asset.

Args:
  name: string, Required. Name of the resource. (required)
  view: string, View of the assets. Defaults to BASIC.
    Allowed values
      ASSET_VIEW_UNSPECIFIED - The asset view is not specified. The API displays the basic view by default.
      ASSET_VIEW_BASIC - The asset view includes only basic metadata of the asset.
      ASSET_VIEW_FULL - The asset view includes all the metadata of an asset and performance data.
      ASSET_VIEW_STANDARD - The asset view includes the standard metadata of an asset.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # An asset represents a resource in your environment. Asset types include virtual machines and databases.
  "assignedGroups": [ # Output only. The list of groups that the asset is assigned to.
    "A String",
  ],
  "attributes": { # Generic asset attributes.
    "a_key": "A String",
  },
  "createTime": "A String", # Output only. The timestamp when the asset was created.
  "insightList": { # Message containing insights list. # Output only. The list of insights associated with the asset.
    "insights": [ # Output only. Insights of the list.
      { # An insight about an asset.
        "genericInsight": { # An insight about an asset (experimental insight) # Output only. A generic insight about an asset.
          "additionalInformation": [ # Output only. Additional information about the insight, each entry can be a logical entry and must make sense if it is displayed with line breaks between each entry. Text can contain md style links
            "A String",
          ],
          "defaultMessage": "A String", # Output only. In case message_code is not yet known by the client default_message will be the message to be used instead. Text can contain md file style links.
          "messageId": "A String", # Output only. Represents a globally unique message id for this insight, can be used for localization purposes, in case message_code is not yet known by the client use default_message instead.
        },
        "migrationInsight": { # An insight about potential migrations for an asset. # Output only. An insight about potential migrations for an asset.
          "computeEngineTarget": { # Compute engine migration target. # Output only. A Google Compute Engine target.
            "shape": { # Compute Engine target shape descriptor. # Description of the suggested shape for the migration target.
              "logicalCoreCount": 42, # Number of logical cores.
              "machineType": "A String", # Compute Engine machine type.
              "memoryMb": 42, # Memory in mebibytes.
              "physicalCoreCount": 42, # Number of physical cores.
              "series": "A String", # Compute Engine machine series.
              "storage": [ # Compute Engine storage. Never empty.
                { # Compute Engine storage option descriptor.
                  "sizeGb": 42, # Disk size in GiB.
                  "type": "A String", # Disk type backing the storage.
                },
              ],
            },
          },
          "fit": { # Describes the fit level of an asset for migration to a specific target. # Output only. Description of how well the asset this insight is associated with fits the proposed migration.
            "fitLevel": "A String", # Fit level.
          },
          "gkeTarget": { # GKE migration target. # Output only. A Google Kubernetes Engine target.
          },
          "vmwareEngineTarget": { # VMWare engine migration target. # Output only. A VMWare Engine target.
          },
        },
      },
    ],
    "updateTime": "A String", # Output only. Update timestamp.
  },
  "labels": { # Labels as key value pairs.
    "a_key": "A String",
  },
  "name": "A String", # Output only. The full name of the asset.
  "performanceData": { # Performance data for an asset. # Output only. Performance data for the asset.
    "dailyResourceUsageAggregations": [ # Daily resource usage aggregations. Contains all of the data available for an asset, up to the last 420 days. Aggregations are sorted from oldest to most recent.
      { # Usage data aggregation for a single day.
        "cpu": { # Statistical aggregation of CPU usage. # CPU usage.
          "utilizationPercentage": { # Statistical aggregation of samples for a single resource usage. # CPU utilization percentage.
            "average": 3.14, # Average usage value.
            "median": 3.14, # Median usage value.
            "ninteyFifthPercentile": 3.14, # 95th percentile usage value.
            "peak": 3.14, # Peak usage value.
          },
        },
        "date": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Aggregation date. Day boundaries are at midnight UTC.
          "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
          "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
          "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
        },
        "disk": { # Statistical aggregation of disk usage. # Disk usage.
          "iops": { # Statistical aggregation of samples for a single resource usage. # Disk I/O operations per second.
            "average": 3.14, # Average usage value.
            "median": 3.14, # Median usage value.
            "ninteyFifthPercentile": 3.14, # 95th percentile usage value.
            "peak": 3.14, # Peak usage value.
          },
        },
        "memory": { # Statistical aggregation of memory usage. # Memory usage.
          "utilizationPercentage": { # Statistical aggregation of samples for a single resource usage. # Memory utilization percentage.
            "average": 3.14, # Average usage value.
            "median": 3.14, # Median usage value.
            "ninteyFifthPercentile": 3.14, # 95th percentile usage value.
            "peak": 3.14, # Peak usage value.
          },
        },
        "network": { # Statistical aggregation of network usage. # Network usage.
          "egressBps": { # Statistical aggregation of samples for a single resource usage. # Network egress in B/s.
            "average": 3.14, # Average usage value.
            "median": 3.14, # Median usage value.
            "ninteyFifthPercentile": 3.14, # 95th percentile usage value.
            "peak": 3.14, # Peak usage value.
          },
          "ingressBps": { # Statistical aggregation of samples for a single resource usage. # Network ingress in B/s.
            "average": 3.14, # Average usage value.
            "median": 3.14, # Median usage value.
            "ninteyFifthPercentile": 3.14, # 95th percentile usage value.
            "peak": 3.14, # Peak usage value.
          },
        },
      },
    ],
  },
  "sources": [ # Output only. The list of sources contributing to the asset.
    "A String",
  ],
  "updateTime": "A String", # Output only. The timestamp when the asset was last updated.
  "virtualMachineDetails": { # Details of a VirtualMachine. # Output only. Asset information specific for virtual machines.
    "coreCount": 42, # Number of CPU cores in the VirtualMachine. Must be non-negative.
    "createTime": "A String", # VM creation timestamp.
    "guestOs": { # Information from Guest-level collections. # Guest OS information.
      "config": { # Guest OS config information. # OS and app configuration.
        "fstab": { # Fstab content. # Mount list (Linux fstab).
          "entries": [ # Fstab entries.
            { # Single fstab entry.
              "file": "A String", # The mount point for the filesystem.
              "freq": 42, # Used by dump to determine which filesystems need to be dumped.
              "mntops": "A String", # Mount options associated with the filesystem.
              "passno": 42, # Used by the fsck(8) program to determine the order in which filesystem checks are done at reboot time.
              "spec": "A String", # The block special device or remote filesystem to be mounted.
              "vfstype": "A String", # The type of the filesystem.
            },
          ],
        },
        "hosts": { # Hosts content. # Hosts file (/etc/hosts).
          "entries": [ # Hosts entries.
            { # Single /etc/hosts entry.
              "hostNames": [ # List of host names / aliases.
                "A String",
              ],
              "ip": "A String", # IP (raw, IPv4/6 agnostic).
            },
          ],
        },
        "issue": "A String", # OS issue (typically /etc/issue in Linux).
        "nfsExports": { # NFS exports. # NFS exports.
          "entries": [ # NFS export entries.
            { # NFS export.
              "exportDirectory": "A String", # The directory being exported.
              "hosts": [ # The hosts or networks to which the export is being shared.
                "A String",
              ],
            },
          ],
        },
        "selinux": { # SELinux details. # SELinux details.
          "enabled": True or False, # Is SELinux enabled.
          "mode": "A String", # SELinux mode enforcing / permissive.
        },
      },
      "runtime": { # Guest OS runtime information. # Runtime information.
        "domain": "A String", # Domain, e.g. c.stratozone-development.internal.
        "installedApps": { # Guest installed application list. # Installed applications information.
          "entries": [ # Application entries.
            { # Guest installed application information.
              "name": "A String", # Installed application name.
              "path": "A String", # Source path.
              "time": "A String", # Date application was installed.
              "vendor": "A String", # Installed application vendor.
              "version": "A String", # Installed application version.
            },
          ],
        },
        "lastUptime": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date since last booted (last uptime date).
          "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
          "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
          "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
        },
        "machineName": "A String", # Machine name.
        "networkInfo": { # Runtime networking information. # Runtime network information (connections, ports).
          "connections": { # Network connection list. # Network connections.
            "entries": [ # Network connection entries.
              {
                "localIpAddress": "A String", # Local IP address.
                "localPort": 42, # Local port.
                "pid": "A String", # Process ID.
                "processName": "A String", # Process or service name.
                "protocol": "A String", # Connection protocol (e.g. TCP/UDP).
                "remoteIpAddress": "A String", # Remote IP address.
                "remotePort": 42, # Remote port.
                "state": "A String", # Connection state (e.g. CONNECTED).
              },
            ],
          },
          "netstat": "A String", # Netstat (raw, OS-agnostic).
          "netstatTime": { # Represents civil time (or occasionally physical time). This type can represent a civil time in one of a few possible ways: * When utc_offset is set and time_zone is unset: a civil time on a calendar day with a particular offset from UTC. * When time_zone is set and utc_offset is unset: a civil time on a calendar day in a particular time zone. * When neither time_zone nor utc_offset is set: a civil time on a calendar day in local time. The date is relative to the Proleptic Gregorian Calendar. If year, month, or day are 0, the DateTime is considered not to have a specific year, month, or day respectively. This type may also be used to represent a physical time if all the date and time fields are set and either case of the `time_offset` oneof is set. Consider using `Timestamp` message for physical time instead. If your use case also would like to store the user's timezone, that can be done in another field. This type is more flexible than some applications may want. Make sure to document and validate your application's limitations. # Netstat time collected.
            "day": 42, # Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a datetime without a day.
            "hours": 42, # Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An API may choose to allow the value "24:00:00" for scenarios like business closing time.
            "minutes": 42, # Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
            "month": 42, # Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month.
            "nanos": 42, # Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0.
            "seconds": 42, # Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API may allow the value 60 if it allows leap-seconds.
            "timeZone": { # Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones). # Time zone.
              "id": "A String", # IANA Time Zone Database time zone, e.g. "America/New_York".
              "version": "A String", # Optional. IANA Time Zone Database version number, e.g. "2019a".
            },
            "utcOffset": "A String", # UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00 would be represented as { seconds: -14400 }.
            "year": 42, # Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year.
          },
        },
        "openFileList": { # Open file list. # Open files information.
          "entries": [ # Open file details entries.
            { # Open file Information.
              "command": "A String", # Opened file command.
              "filePath": "A String", # Opened file file path.
              "fileType": "A String", # Opened file file type.
              "user": "A String", # Opened file user.
            },
          ],
        },
        "processes": { # List of running guest OS processes. # Running processes.
          "processes": [ # Running process entries.
            { # Guest OS running process details.
              "attributes": { # Process extended attributes.
                "a_key": "A String",
              },
              "cmdline": "A String", # Process full command line.
              "exePath": "A String", # Process binary path.
              "pid": "A String", # Process ID.
              "user": "A String", # User running the process.
            },
          ],
        },
        "services": { # List of running guest OS services. # Running background services.
          "services": [ # Running service entries.
            { # Guest OS running service details.
              "cmdline": "A String", # Service command line.
              "exePath": "A String", # Service binary path.
              "name": "A String", # Service name.
              "pid": "A String", # Service pid.
              "startMode": "A String", # Service start mode (raw, OS-agnostic).
              "state": "A String", # Service state (raw, OS-agnostic).
              "status": "A String", # Service status.
            },
          ],
        },
      },
    },
    "memoryMb": 42, # The amount of memory in the VirtualMachine. Must be non-negative.
    "osFamily": "A String", # What family the OS belong to, if known.
    "osName": "A String", # The name of the operating system running on the VirtualMachine.
    "osVersion": "A String", # The version of the operating system running on the virtual machine.
    "platform": { # Information about the platform. # Platform information.
      "awsEc2Details": { # AWS EC2 specific details. # AWS EC2 specific details.
        "location": "A String", # The location of the machine in the AWS format.
        "machineTypeLabel": "A String", # AWS platform's machine type label.
      },
      "azureVmDetails": { # Azure VM specific details. # Azure VM specific details.
        "location": "A String", # The location of the machine in the Azure format.
        "machineTypeLabel": "A String", # Azure platform's machine type label.
        "provisioningState": "A String", # Azure platform's provisioning state.
      },
      "genericDetails": { # Generic platform details. # Generic platform details.
        "location": "A String", # Free text representation of the machine location. The format of this field should not be relied on. Different VMs in the same location may have different string values for this field.
      },
      "physicalDetails": { # Platform specific details for Physical Machines. # Physical machines platform details.
        "location": "A String", # Free text representation of the machine location. The format of this field should not be relied on. Different machines in the same location may have different string values for this field.
      },
      "vmwareDetails": { # VMware specific details. # VMware specific details.
        "esxVersion": "A String", # ESX version.
        "osid": "A String", # VMware os enum - https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html.
        "vcenterVersion": "A String", # vCenter version.
      },
    },
    "powerState": "A String", # Power state of VM (poweredOn or poweredOff).
    "vcenterFolder": "A String", # Folder name in vCenter where asset resides.
    "vcenterUrl": "A String", # vCenter URL used in collection.
    "vcenterVmId": "A String", # vCenter VM ID.
    "vmArchitecture": { # Details of the VM architecture. # VM architecture details (vendor, cpu arch).
      "bios": { # Details about the BIOS. # BIOS Details.
        "biosManufacturer": "A String", # BIOS manufacturer.
        "biosName": "A String", # BIOS name.
        "biosReleaseDate": "A String", # BIOS release date.
        "biosVersion": "A String", # BIOS version.
        "smbiosUuid": "A String", # SMBIOS UUID.
      },
      "cpuArchitecture": "A String", # CPU architecture, e.g., "x64-based PC", "x86_64", "i686" etc.
      "cpuManufacturer": "A String", # CPU manufacturer, e.g., "Intel", "AMD".
      "cpuName": "A String", # CPU name, e.g., "Intel Xeon E5-2690", "AMD EPYC 7571" etc.
      "cpuSocketCount": 42, # Number of processor sockets allocated to the machine.
      "cpuThreadCount": 42, # Number of CPU threads allocated to the machine.
      "firmware": "A String", # Firmware (BIOS/efi).
      "hyperthreading": "A String", # CPU hyperthreading support.
      "vendor": "A String", # Hardware vendor.
    },
    "vmDisks": { # Details of VM disks. # VM disk details.
      "disks": { # VM disks. # List of disks.
        "entries": [ # Disk entries.
          { # Single disk entry.
            "diskLabel": "A String", # Disk label.
            "diskLabelType": "A String", # Disk label type (e.g. BIOS/GPT)
            "hwAddress": "A String", # Disk hardware address (e.g. 0:1 for SCSI).
            "interfaceType": "A String", # Disks interface type (e.g. SATA/SCSI)
            "partitions": { # Disk partition list. # Partition layout.
              "entries": [ # Partition entries.
                { # Disk Partition details.
                  "capacityBytes": "A String", # Partition capacity.
                  "fileSystem": "A String", # Partition file system.
                  "freeBytes": "A String", # Partition free space.
                  "mountPoint": "A String", # Mount pount (Linux/Windows) or drive letter (Windows).
                  "subPartitions": # Object with schema name: DiskPartitionList # Sub-partitions.
                  "type": "A String", # Partition type (e.g. BIOS boot).
                  "uuid": "A String", # Partition UUID.
                },
              ],
            },
            "status": "A String", # Disk status (e.g. online).
            "totalCapacityBytes": "A String", # Disk capacity.
            "totalFreeBytes": "A String", # Disk free space.
            "vmwareConfig": { # VMware disk config details. # VMware disk details.
              "backingType": "A String", # VMDK backing type.
              "rdmCompatibilityMode": "A String", # RDM compatibility mode.
              "shared": True or False, # Is VMDK shared with other VMs.
              "vmdkDiskMode": "A String", # VMDK disk mode.
            },
          },
        ],
      },
      "hddTotalCapacityBytes": "A String", # Disk total Capacity.
      "hddTotalFreeBytes": "A String", # Total Disk Free Space.
      "lsblkJson": "A String", # Raw lsblk output in json.
    },
    "vmName": "A String", # Virtual Machine display name.
    "vmNetwork": { # Details of network adapters and settings. # VM network details.
      "defaultGw": "A String", # Default gateway address.
      "networkAdapters": { # List of network adapters. # List of network adapters.
        "networkAdapters": [ # Network adapter descriptions.
          { # Details of network adapter.
            "adapterType": "A String", # Network adapter type (e.g. VMXNET3).
            "addresses": { # List of allocated/assigned network addresses. # NetworkAddressList
              "addresses": [ # Network address entries.
                { # Details of network address.
                  "assignment": "A String", # Whether DHCP is used to assign addresses.
                  "bcast": "A String", # Broadcast address.
                  "fqdn": "A String", # Fully qualified domain name.
                  "ipAddress": "A String", # Assigned or configured IP Address.
                  "subnetMask": "A String", # Subnet mask.
                },
              ],
            },
            "macAddress": "A String", # MAC address.
          },
        ],
      },
      "primaryIpAddress": "A String", # IP address of the machine.
      "primaryMacAddress": "A String", # MAC address of the machine. This property is used to uniqly identify the machine.
      "publicIpAddress": "A String", # Public IP address of the machine.
    },
    "vmUuid": "A String", # Virtual Machine unique identifier.
  },
}
list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)
Lists all the assets in a given project and location.

Args:
  parent: string, Required. Parent value for `ListAssetsRequest`. (required)
  filter: string, Filtering results.
  orderBy: string, Field to sort by. See https://google.aip.dev/132#ordering for more details.
  pageSize: integer, Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
  pageToken: string, A token identifying a page of results the server should return.
  view: string, View of the assets. Defaults to BASIC.
    Allowed values
      ASSET_VIEW_UNSPECIFIED - The asset view is not specified. The API displays the basic view by default.
      ASSET_VIEW_BASIC - The asset view includes only basic metadata of the asset.
      ASSET_VIEW_FULL - The asset view includes all the metadata of an asset and performance data.
      ASSET_VIEW_STANDARD - The asset view includes the standard metadata of an asset.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response message for listing assets.
  "assets": [ # A list of assets.
    { # An asset represents a resource in your environment. Asset types include virtual machines and databases.
      "assignedGroups": [ # Output only. The list of groups that the asset is assigned to.
        "A String",
      ],
      "attributes": { # Generic asset attributes.
        "a_key": "A String",
      },
      "createTime": "A String", # Output only. The timestamp when the asset was created.
      "insightList": { # Message containing insights list. # Output only. The list of insights associated with the asset.
        "insights": [ # Output only. Insights of the list.
          { # An insight about an asset.
            "genericInsight": { # An insight about an asset (experimental insight) # Output only. A generic insight about an asset.
              "additionalInformation": [ # Output only. Additional information about the insight, each entry can be a logical entry and must make sense if it is displayed with line breaks between each entry. Text can contain md style links
                "A String",
              ],
              "defaultMessage": "A String", # Output only. In case message_code is not yet known by the client default_message will be the message to be used instead. Text can contain md file style links.
              "messageId": "A String", # Output only. Represents a globally unique message id for this insight, can be used for localization purposes, in case message_code is not yet known by the client use default_message instead.
            },
            "migrationInsight": { # An insight about potential migrations for an asset. # Output only. An insight about potential migrations for an asset.
              "computeEngineTarget": { # Compute engine migration target. # Output only. A Google Compute Engine target.
                "shape": { # Compute Engine target shape descriptor. # Description of the suggested shape for the migration target.
                  "logicalCoreCount": 42, # Number of logical cores.
                  "machineType": "A String", # Compute Engine machine type.
                  "memoryMb": 42, # Memory in mebibytes.
                  "physicalCoreCount": 42, # Number of physical cores.
                  "series": "A String", # Compute Engine machine series.
                  "storage": [ # Compute Engine storage. Never empty.
                    { # Compute Engine storage option descriptor.
                      "sizeGb": 42, # Disk size in GiB.
                      "type": "A String", # Disk type backing the storage.
                    },
                  ],
                },
              },
              "fit": { # Describes the fit level of an asset for migration to a specific target. # Output only. Description of how well the asset this insight is associated with fits the proposed migration.
                "fitLevel": "A String", # Fit level.
              },
              "gkeTarget": { # GKE migration target. # Output only. A Google Kubernetes Engine target.
              },
              "vmwareEngineTarget": { # VMWare engine migration target. # Output only. A VMWare Engine target.
              },
            },
          },
        ],
        "updateTime": "A String", # Output only. Update timestamp.
      },
      "labels": { # Labels as key value pairs.
        "a_key": "A String",
      },
      "name": "A String", # Output only. The full name of the asset.
      "performanceData": { # Performance data for an asset. # Output only. Performance data for the asset.
        "dailyResourceUsageAggregations": [ # Daily resource usage aggregations. Contains all of the data available for an asset, up to the last 420 days. Aggregations are sorted from oldest to most recent.
          { # Usage data aggregation for a single day.
            "cpu": { # Statistical aggregation of CPU usage. # CPU usage.
              "utilizationPercentage": { # Statistical aggregation of samples for a single resource usage. # CPU utilization percentage.
                "average": 3.14, # Average usage value.
                "median": 3.14, # Median usage value.
                "ninteyFifthPercentile": 3.14, # 95th percentile usage value.
                "peak": 3.14, # Peak usage value.
              },
            },
            "date": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Aggregation date. Day boundaries are at midnight UTC.
              "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
              "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
              "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
            },
            "disk": { # Statistical aggregation of disk usage. # Disk usage.
              "iops": { # Statistical aggregation of samples for a single resource usage. # Disk I/O operations per second.
                "average": 3.14, # Average usage value.
                "median": 3.14, # Median usage value.
                "ninteyFifthPercentile": 3.14, # 95th percentile usage value.
                "peak": 3.14, # Peak usage value.
              },
            },
            "memory": { # Statistical aggregation of memory usage. # Memory usage.
              "utilizationPercentage": { # Statistical aggregation of samples for a single resource usage. # Memory utilization percentage.
                "average": 3.14, # Average usage value.
                "median": 3.14, # Median usage value.
                "ninteyFifthPercentile": 3.14, # 95th percentile usage value.
                "peak": 3.14, # Peak usage value.
              },
            },
            "network": { # Statistical aggregation of network usage. # Network usage.
              "egressBps": { # Statistical aggregation of samples for a single resource usage. # Network egress in B/s.
                "average": 3.14, # Average usage value.
                "median": 3.14, # Median usage value.
                "ninteyFifthPercentile": 3.14, # 95th percentile usage value.
                "peak": 3.14, # Peak usage value.
              },
              "ingressBps": { # Statistical aggregation of samples for a single resource usage. # Network ingress in B/s.
                "average": 3.14, # Average usage value.
                "median": 3.14, # Median usage value.
                "ninteyFifthPercentile": 3.14, # 95th percentile usage value.
                "peak": 3.14, # Peak usage value.
              },
            },
          },
        ],
      },
      "sources": [ # Output only. The list of sources contributing to the asset.
        "A String",
      ],
      "updateTime": "A String", # Output only. The timestamp when the asset was last updated.
      "virtualMachineDetails": { # Details of a VirtualMachine. # Output only. Asset information specific for virtual machines.
        "coreCount": 42, # Number of CPU cores in the VirtualMachine. Must be non-negative.
        "createTime": "A String", # VM creation timestamp.
        "guestOs": { # Information from Guest-level collections. # Guest OS information.
          "config": { # Guest OS config information. # OS and app configuration.
            "fstab": { # Fstab content. # Mount list (Linux fstab).
              "entries": [ # Fstab entries.
                { # Single fstab entry.
                  "file": "A String", # The mount point for the filesystem.
                  "freq": 42, # Used by dump to determine which filesystems need to be dumped.
                  "mntops": "A String", # Mount options associated with the filesystem.
                  "passno": 42, # Used by the fsck(8) program to determine the order in which filesystem checks are done at reboot time.
                  "spec": "A String", # The block special device or remote filesystem to be mounted.
                  "vfstype": "A String", # The type of the filesystem.
                },
              ],
            },
            "hosts": { # Hosts content. # Hosts file (/etc/hosts).
              "entries": [ # Hosts entries.
                { # Single /etc/hosts entry.
                  "hostNames": [ # List of host names / aliases.
                    "A String",
                  ],
                  "ip": "A String", # IP (raw, IPv4/6 agnostic).
                },
              ],
            },
            "issue": "A String", # OS issue (typically /etc/issue in Linux).
            "nfsExports": { # NFS exports. # NFS exports.
              "entries": [ # NFS export entries.
                { # NFS export.
                  "exportDirectory": "A String", # The directory being exported.
                  "hosts": [ # The hosts or networks to which the export is being shared.
                    "A String",
                  ],
                },
              ],
            },
            "selinux": { # SELinux details. # SELinux details.
              "enabled": True or False, # Is SELinux enabled.
              "mode": "A String", # SELinux mode enforcing / permissive.
            },
          },
          "runtime": { # Guest OS runtime information. # Runtime information.
            "domain": "A String", # Domain, e.g. c.stratozone-development.internal.
            "installedApps": { # Guest installed application list. # Installed applications information.
              "entries": [ # Application entries.
                { # Guest installed application information.
                  "name": "A String", # Installed application name.
                  "path": "A String", # Source path.
                  "time": "A String", # Date application was installed.
                  "vendor": "A String", # Installed application vendor.
                  "version": "A String", # Installed application version.
                },
              ],
            },
            "lastUptime": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date since last booted (last uptime date).
              "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
              "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
              "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
            },
            "machineName": "A String", # Machine name.
            "networkInfo": { # Runtime networking information. # Runtime network information (connections, ports).
              "connections": { # Network connection list. # Network connections.
                "entries": [ # Network connection entries.
                  {
                    "localIpAddress": "A String", # Local IP address.
                    "localPort": 42, # Local port.
                    "pid": "A String", # Process ID.
                    "processName": "A String", # Process or service name.
                    "protocol": "A String", # Connection protocol (e.g. TCP/UDP).
                    "remoteIpAddress": "A String", # Remote IP address.
                    "remotePort": 42, # Remote port.
                    "state": "A String", # Connection state (e.g. CONNECTED).
                  },
                ],
              },
              "netstat": "A String", # Netstat (raw, OS-agnostic).
              "netstatTime": { # Represents civil time (or occasionally physical time). This type can represent a civil time in one of a few possible ways: * When utc_offset is set and time_zone is unset: a civil time on a calendar day with a particular offset from UTC. * When time_zone is set and utc_offset is unset: a civil time on a calendar day in a particular time zone. * When neither time_zone nor utc_offset is set: a civil time on a calendar day in local time. The date is relative to the Proleptic Gregorian Calendar. If year, month, or day are 0, the DateTime is considered not to have a specific year, month, or day respectively. This type may also be used to represent a physical time if all the date and time fields are set and either case of the `time_offset` oneof is set. Consider using `Timestamp` message for physical time instead. If your use case also would like to store the user's timezone, that can be done in another field. This type is more flexible than some applications may want. Make sure to document and validate your application's limitations. # Netstat time collected.
                "day": 42, # Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a datetime without a day.
                "hours": 42, # Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An API may choose to allow the value "24:00:00" for scenarios like business closing time.
                "minutes": 42, # Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
                "month": 42, # Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month.
                "nanos": 42, # Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0.
                "seconds": 42, # Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API may allow the value 60 if it allows leap-seconds.
                "timeZone": { # Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones). # Time zone.
                  "id": "A String", # IANA Time Zone Database time zone, e.g. "America/New_York".
                  "version": "A String", # Optional. IANA Time Zone Database version number, e.g. "2019a".
                },
                "utcOffset": "A String", # UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00 would be represented as { seconds: -14400 }.
                "year": 42, # Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year.
              },
            },
            "openFileList": { # Open file list. # Open files information.
              "entries": [ # Open file details entries.
                { # Open file Information.
                  "command": "A String", # Opened file command.
                  "filePath": "A String", # Opened file file path.
                  "fileType": "A String", # Opened file file type.
                  "user": "A String", # Opened file user.
                },
              ],
            },
            "processes": { # List of running guest OS processes. # Running processes.
              "processes": [ # Running process entries.
                { # Guest OS running process details.
                  "attributes": { # Process extended attributes.
                    "a_key": "A String",
                  },
                  "cmdline": "A String", # Process full command line.
                  "exePath": "A String", # Process binary path.
                  "pid": "A String", # Process ID.
                  "user": "A String", # User running the process.
                },
              ],
            },
            "services": { # List of running guest OS services. # Running background services.
              "services": [ # Running service entries.
                { # Guest OS running service details.
                  "cmdline": "A String", # Service command line.
                  "exePath": "A String", # Service binary path.
                  "name": "A String", # Service name.
                  "pid": "A String", # Service pid.
                  "startMode": "A String", # Service start mode (raw, OS-agnostic).
                  "state": "A String", # Service state (raw, OS-agnostic).
                  "status": "A String", # Service status.
                },
              ],
            },
          },
        },
        "memoryMb": 42, # The amount of memory in the VirtualMachine. Must be non-negative.
        "osFamily": "A String", # What family the OS belong to, if known.
        "osName": "A String", # The name of the operating system running on the VirtualMachine.
        "osVersion": "A String", # The version of the operating system running on the virtual machine.
        "platform": { # Information about the platform. # Platform information.
          "awsEc2Details": { # AWS EC2 specific details. # AWS EC2 specific details.
            "location": "A String", # The location of the machine in the AWS format.
            "machineTypeLabel": "A String", # AWS platform's machine type label.
          },
          "azureVmDetails": { # Azure VM specific details. # Azure VM specific details.
            "location": "A String", # The location of the machine in the Azure format.
            "machineTypeLabel": "A String", # Azure platform's machine type label.
            "provisioningState": "A String", # Azure platform's provisioning state.
          },
          "genericDetails": { # Generic platform details. # Generic platform details.
            "location": "A String", # Free text representation of the machine location. The format of this field should not be relied on. Different VMs in the same location may have different string values for this field.
          },
          "physicalDetails": { # Platform specific details for Physical Machines. # Physical machines platform details.
            "location": "A String", # Free text representation of the machine location. The format of this field should not be relied on. Different machines in the same location may have different string values for this field.
          },
          "vmwareDetails": { # VMware specific details. # VMware specific details.
            "esxVersion": "A String", # ESX version.
            "osid": "A String", # VMware os enum - https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html.
            "vcenterVersion": "A String", # vCenter version.
          },
        },
        "powerState": "A String", # Power state of VM (poweredOn or poweredOff).
        "vcenterFolder": "A String", # Folder name in vCenter where asset resides.
        "vcenterUrl": "A String", # vCenter URL used in collection.
        "vcenterVmId": "A String", # vCenter VM ID.
        "vmArchitecture": { # Details of the VM architecture. # VM architecture details (vendor, cpu arch).
          "bios": { # Details about the BIOS. # BIOS Details.
            "biosManufacturer": "A String", # BIOS manufacturer.
            "biosName": "A String", # BIOS name.
            "biosReleaseDate": "A String", # BIOS release date.
            "biosVersion": "A String", # BIOS version.
            "smbiosUuid": "A String", # SMBIOS UUID.
          },
          "cpuArchitecture": "A String", # CPU architecture, e.g., "x64-based PC", "x86_64", "i686" etc.
          "cpuManufacturer": "A String", # CPU manufacturer, e.g., "Intel", "AMD".
          "cpuName": "A String", # CPU name, e.g., "Intel Xeon E5-2690", "AMD EPYC 7571" etc.
          "cpuSocketCount": 42, # Number of processor sockets allocated to the machine.
          "cpuThreadCount": 42, # Number of CPU threads allocated to the machine.
          "firmware": "A String", # Firmware (BIOS/efi).
          "hyperthreading": "A String", # CPU hyperthreading support.
          "vendor": "A String", # Hardware vendor.
        },
        "vmDisks": { # Details of VM disks. # VM disk details.
          "disks": { # VM disks. # List of disks.
            "entries": [ # Disk entries.
              { # Single disk entry.
                "diskLabel": "A String", # Disk label.
                "diskLabelType": "A String", # Disk label type (e.g. BIOS/GPT)
                "hwAddress": "A String", # Disk hardware address (e.g. 0:1 for SCSI).
                "interfaceType": "A String", # Disks interface type (e.g. SATA/SCSI)
                "partitions": { # Disk partition list. # Partition layout.
                  "entries": [ # Partition entries.
                    { # Disk Partition details.
                      "capacityBytes": "A String", # Partition capacity.
                      "fileSystem": "A String", # Partition file system.
                      "freeBytes": "A String", # Partition free space.
                      "mountPoint": "A String", # Mount pount (Linux/Windows) or drive letter (Windows).
                      "subPartitions": # Object with schema name: DiskPartitionList # Sub-partitions.
                      "type": "A String", # Partition type (e.g. BIOS boot).
                      "uuid": "A String", # Partition UUID.
                    },
                  ],
                },
                "status": "A String", # Disk status (e.g. online).
                "totalCapacityBytes": "A String", # Disk capacity.
                "totalFreeBytes": "A String", # Disk free space.
                "vmwareConfig": { # VMware disk config details. # VMware disk details.
                  "backingType": "A String", # VMDK backing type.
                  "rdmCompatibilityMode": "A String", # RDM compatibility mode.
                  "shared": True or False, # Is VMDK shared with other VMs.
                  "vmdkDiskMode": "A String", # VMDK disk mode.
                },
              },
            ],
          },
          "hddTotalCapacityBytes": "A String", # Disk total Capacity.
          "hddTotalFreeBytes": "A String", # Total Disk Free Space.
          "lsblkJson": "A String", # Raw lsblk output in json.
        },
        "vmName": "A String", # Virtual Machine display name.
        "vmNetwork": { # Details of network adapters and settings. # VM network details.
          "defaultGw": "A String", # Default gateway address.
          "networkAdapters": { # List of network adapters. # List of network adapters.
            "networkAdapters": [ # Network adapter descriptions.
              { # Details of network adapter.
                "adapterType": "A String", # Network adapter type (e.g. VMXNET3).
                "addresses": { # List of allocated/assigned network addresses. # NetworkAddressList
                  "addresses": [ # Network address entries.
                    { # Details of network address.
                      "assignment": "A String", # Whether DHCP is used to assign addresses.
                      "bcast": "A String", # Broadcast address.
                      "fqdn": "A String", # Fully qualified domain name.
                      "ipAddress": "A String", # Assigned or configured IP Address.
                      "subnetMask": "A String", # Subnet mask.
                    },
                  ],
                },
                "macAddress": "A String", # MAC address.
              },
            ],
          },
          "primaryIpAddress": "A String", # IP address of the machine.
          "primaryMacAddress": "A String", # MAC address of the machine. This property is used to uniqly identify the machine.
          "publicIpAddress": "A String", # Public IP address of the machine.
        },
        "vmUuid": "A String", # Virtual Machine unique identifier.
      },
    },
  ],
  "nextPageToken": "A String", # A token identifying a page of results the server should return.
  "unreachable": [ # Locations that could not be reached.
    "A String",
  ],
}
list_next()
Retrieves the next page of results.

        Args:
          previous_request: The request for the previous page. (required)
          previous_response: The response from the request for the previous page. (required)

        Returns:
          A request object that you can call 'execute()' on to request the next
          page. Returns None if there are no more items in the collection.
        
patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)
Updates the parameters of an asset.

Args:
  name: string, Output only. The full name of the asset. (required)
  body: object, The request body.
    The object takes the form of:

{ # An asset represents a resource in your environment. Asset types include virtual machines and databases.
  "assignedGroups": [ # Output only. The list of groups that the asset is assigned to.
    "A String",
  ],
  "attributes": { # Generic asset attributes.
    "a_key": "A String",
  },
  "createTime": "A String", # Output only. The timestamp when the asset was created.
  "insightList": { # Message containing insights list. # Output only. The list of insights associated with the asset.
    "insights": [ # Output only. Insights of the list.
      { # An insight about an asset.
        "genericInsight": { # An insight about an asset (experimental insight) # Output only. A generic insight about an asset.
          "additionalInformation": [ # Output only. Additional information about the insight, each entry can be a logical entry and must make sense if it is displayed with line breaks between each entry. Text can contain md style links
            "A String",
          ],
          "defaultMessage": "A String", # Output only. In case message_code is not yet known by the client default_message will be the message to be used instead. Text can contain md file style links.
          "messageId": "A String", # Output only. Represents a globally unique message id for this insight, can be used for localization purposes, in case message_code is not yet known by the client use default_message instead.
        },
        "migrationInsight": { # An insight about potential migrations for an asset. # Output only. An insight about potential migrations for an asset.
          "computeEngineTarget": { # Compute engine migration target. # Output only. A Google Compute Engine target.
            "shape": { # Compute Engine target shape descriptor. # Description of the suggested shape for the migration target.
              "logicalCoreCount": 42, # Number of logical cores.
              "machineType": "A String", # Compute Engine machine type.
              "memoryMb": 42, # Memory in mebibytes.
              "physicalCoreCount": 42, # Number of physical cores.
              "series": "A String", # Compute Engine machine series.
              "storage": [ # Compute Engine storage. Never empty.
                { # Compute Engine storage option descriptor.
                  "sizeGb": 42, # Disk size in GiB.
                  "type": "A String", # Disk type backing the storage.
                },
              ],
            },
          },
          "fit": { # Describes the fit level of an asset for migration to a specific target. # Output only. Description of how well the asset this insight is associated with fits the proposed migration.
            "fitLevel": "A String", # Fit level.
          },
          "gkeTarget": { # GKE migration target. # Output only. A Google Kubernetes Engine target.
          },
          "vmwareEngineTarget": { # VMWare engine migration target. # Output only. A VMWare Engine target.
          },
        },
      },
    ],
    "updateTime": "A String", # Output only. Update timestamp.
  },
  "labels": { # Labels as key value pairs.
    "a_key": "A String",
  },
  "name": "A String", # Output only. The full name of the asset.
  "performanceData": { # Performance data for an asset. # Output only. Performance data for the asset.
    "dailyResourceUsageAggregations": [ # Daily resource usage aggregations. Contains all of the data available for an asset, up to the last 420 days. Aggregations are sorted from oldest to most recent.
      { # Usage data aggregation for a single day.
        "cpu": { # Statistical aggregation of CPU usage. # CPU usage.
          "utilizationPercentage": { # Statistical aggregation of samples for a single resource usage. # CPU utilization percentage.
            "average": 3.14, # Average usage value.
            "median": 3.14, # Median usage value.
            "ninteyFifthPercentile": 3.14, # 95th percentile usage value.
            "peak": 3.14, # Peak usage value.
          },
        },
        "date": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Aggregation date. Day boundaries are at midnight UTC.
          "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
          "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
          "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
        },
        "disk": { # Statistical aggregation of disk usage. # Disk usage.
          "iops": { # Statistical aggregation of samples for a single resource usage. # Disk I/O operations per second.
            "average": 3.14, # Average usage value.
            "median": 3.14, # Median usage value.
            "ninteyFifthPercentile": 3.14, # 95th percentile usage value.
            "peak": 3.14, # Peak usage value.
          },
        },
        "memory": { # Statistical aggregation of memory usage. # Memory usage.
          "utilizationPercentage": { # Statistical aggregation of samples for a single resource usage. # Memory utilization percentage.
            "average": 3.14, # Average usage value.
            "median": 3.14, # Median usage value.
            "ninteyFifthPercentile": 3.14, # 95th percentile usage value.
            "peak": 3.14, # Peak usage value.
          },
        },
        "network": { # Statistical aggregation of network usage. # Network usage.
          "egressBps": { # Statistical aggregation of samples for a single resource usage. # Network egress in B/s.
            "average": 3.14, # Average usage value.
            "median": 3.14, # Median usage value.
            "ninteyFifthPercentile": 3.14, # 95th percentile usage value.
            "peak": 3.14, # Peak usage value.
          },
          "ingressBps": { # Statistical aggregation of samples for a single resource usage. # Network ingress in B/s.
            "average": 3.14, # Average usage value.
            "median": 3.14, # Median usage value.
            "ninteyFifthPercentile": 3.14, # 95th percentile usage value.
            "peak": 3.14, # Peak usage value.
          },
        },
      },
    ],
  },
  "sources": [ # Output only. The list of sources contributing to the asset.
    "A String",
  ],
  "updateTime": "A String", # Output only. The timestamp when the asset was last updated.
  "virtualMachineDetails": { # Details of a VirtualMachine. # Output only. Asset information specific for virtual machines.
    "coreCount": 42, # Number of CPU cores in the VirtualMachine. Must be non-negative.
    "createTime": "A String", # VM creation timestamp.
    "guestOs": { # Information from Guest-level collections. # Guest OS information.
      "config": { # Guest OS config information. # OS and app configuration.
        "fstab": { # Fstab content. # Mount list (Linux fstab).
          "entries": [ # Fstab entries.
            { # Single fstab entry.
              "file": "A String", # The mount point for the filesystem.
              "freq": 42, # Used by dump to determine which filesystems need to be dumped.
              "mntops": "A String", # Mount options associated with the filesystem.
              "passno": 42, # Used by the fsck(8) program to determine the order in which filesystem checks are done at reboot time.
              "spec": "A String", # The block special device or remote filesystem to be mounted.
              "vfstype": "A String", # The type of the filesystem.
            },
          ],
        },
        "hosts": { # Hosts content. # Hosts file (/etc/hosts).
          "entries": [ # Hosts entries.
            { # Single /etc/hosts entry.
              "hostNames": [ # List of host names / aliases.
                "A String",
              ],
              "ip": "A String", # IP (raw, IPv4/6 agnostic).
            },
          ],
        },
        "issue": "A String", # OS issue (typically /etc/issue in Linux).
        "nfsExports": { # NFS exports. # NFS exports.
          "entries": [ # NFS export entries.
            { # NFS export.
              "exportDirectory": "A String", # The directory being exported.
              "hosts": [ # The hosts or networks to which the export is being shared.
                "A String",
              ],
            },
          ],
        },
        "selinux": { # SELinux details. # SELinux details.
          "enabled": True or False, # Is SELinux enabled.
          "mode": "A String", # SELinux mode enforcing / permissive.
        },
      },
      "runtime": { # Guest OS runtime information. # Runtime information.
        "domain": "A String", # Domain, e.g. c.stratozone-development.internal.
        "installedApps": { # Guest installed application list. # Installed applications information.
          "entries": [ # Application entries.
            { # Guest installed application information.
              "name": "A String", # Installed application name.
              "path": "A String", # Source path.
              "time": "A String", # Date application was installed.
              "vendor": "A String", # Installed application vendor.
              "version": "A String", # Installed application version.
            },
          ],
        },
        "lastUptime": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date since last booted (last uptime date).
          "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
          "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
          "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
        },
        "machineName": "A String", # Machine name.
        "networkInfo": { # Runtime networking information. # Runtime network information (connections, ports).
          "connections": { # Network connection list. # Network connections.
            "entries": [ # Network connection entries.
              {
                "localIpAddress": "A String", # Local IP address.
                "localPort": 42, # Local port.
                "pid": "A String", # Process ID.
                "processName": "A String", # Process or service name.
                "protocol": "A String", # Connection protocol (e.g. TCP/UDP).
                "remoteIpAddress": "A String", # Remote IP address.
                "remotePort": 42, # Remote port.
                "state": "A String", # Connection state (e.g. CONNECTED).
              },
            ],
          },
          "netstat": "A String", # Netstat (raw, OS-agnostic).
          "netstatTime": { # Represents civil time (or occasionally physical time). This type can represent a civil time in one of a few possible ways: * When utc_offset is set and time_zone is unset: a civil time on a calendar day with a particular offset from UTC. * When time_zone is set and utc_offset is unset: a civil time on a calendar day in a particular time zone. * When neither time_zone nor utc_offset is set: a civil time on a calendar day in local time. The date is relative to the Proleptic Gregorian Calendar. If year, month, or day are 0, the DateTime is considered not to have a specific year, month, or day respectively. This type may also be used to represent a physical time if all the date and time fields are set and either case of the `time_offset` oneof is set. Consider using `Timestamp` message for physical time instead. If your use case also would like to store the user's timezone, that can be done in another field. This type is more flexible than some applications may want. Make sure to document and validate your application's limitations. # Netstat time collected.
            "day": 42, # Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a datetime without a day.
            "hours": 42, # Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An API may choose to allow the value "24:00:00" for scenarios like business closing time.
            "minutes": 42, # Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
            "month": 42, # Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month.
            "nanos": 42, # Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0.
            "seconds": 42, # Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API may allow the value 60 if it allows leap-seconds.
            "timeZone": { # Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones). # Time zone.
              "id": "A String", # IANA Time Zone Database time zone, e.g. "America/New_York".
              "version": "A String", # Optional. IANA Time Zone Database version number, e.g. "2019a".
            },
            "utcOffset": "A String", # UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00 would be represented as { seconds: -14400 }.
            "year": 42, # Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year.
          },
        },
        "openFileList": { # Open file list. # Open files information.
          "entries": [ # Open file details entries.
            { # Open file Information.
              "command": "A String", # Opened file command.
              "filePath": "A String", # Opened file file path.
              "fileType": "A String", # Opened file file type.
              "user": "A String", # Opened file user.
            },
          ],
        },
        "processes": { # List of running guest OS processes. # Running processes.
          "processes": [ # Running process entries.
            { # Guest OS running process details.
              "attributes": { # Process extended attributes.
                "a_key": "A String",
              },
              "cmdline": "A String", # Process full command line.
              "exePath": "A String", # Process binary path.
              "pid": "A String", # Process ID.
              "user": "A String", # User running the process.
            },
          ],
        },
        "services": { # List of running guest OS services. # Running background services.
          "services": [ # Running service entries.
            { # Guest OS running service details.
              "cmdline": "A String", # Service command line.
              "exePath": "A String", # Service binary path.
              "name": "A String", # Service name.
              "pid": "A String", # Service pid.
              "startMode": "A String", # Service start mode (raw, OS-agnostic).
              "state": "A String", # Service state (raw, OS-agnostic).
              "status": "A String", # Service status.
            },
          ],
        },
      },
    },
    "memoryMb": 42, # The amount of memory in the VirtualMachine. Must be non-negative.
    "osFamily": "A String", # What family the OS belong to, if known.
    "osName": "A String", # The name of the operating system running on the VirtualMachine.
    "osVersion": "A String", # The version of the operating system running on the virtual machine.
    "platform": { # Information about the platform. # Platform information.
      "awsEc2Details": { # AWS EC2 specific details. # AWS EC2 specific details.
        "location": "A String", # The location of the machine in the AWS format.
        "machineTypeLabel": "A String", # AWS platform's machine type label.
      },
      "azureVmDetails": { # Azure VM specific details. # Azure VM specific details.
        "location": "A String", # The location of the machine in the Azure format.
        "machineTypeLabel": "A String", # Azure platform's machine type label.
        "provisioningState": "A String", # Azure platform's provisioning state.
      },
      "genericDetails": { # Generic platform details. # Generic platform details.
        "location": "A String", # Free text representation of the machine location. The format of this field should not be relied on. Different VMs in the same location may have different string values for this field.
      },
      "physicalDetails": { # Platform specific details for Physical Machines. # Physical machines platform details.
        "location": "A String", # Free text representation of the machine location. The format of this field should not be relied on. Different machines in the same location may have different string values for this field.
      },
      "vmwareDetails": { # VMware specific details. # VMware specific details.
        "esxVersion": "A String", # ESX version.
        "osid": "A String", # VMware os enum - https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html.
        "vcenterVersion": "A String", # vCenter version.
      },
    },
    "powerState": "A String", # Power state of VM (poweredOn or poweredOff).
    "vcenterFolder": "A String", # Folder name in vCenter where asset resides.
    "vcenterUrl": "A String", # vCenter URL used in collection.
    "vcenterVmId": "A String", # vCenter VM ID.
    "vmArchitecture": { # Details of the VM architecture. # VM architecture details (vendor, cpu arch).
      "bios": { # Details about the BIOS. # BIOS Details.
        "biosManufacturer": "A String", # BIOS manufacturer.
        "biosName": "A String", # BIOS name.
        "biosReleaseDate": "A String", # BIOS release date.
        "biosVersion": "A String", # BIOS version.
        "smbiosUuid": "A String", # SMBIOS UUID.
      },
      "cpuArchitecture": "A String", # CPU architecture, e.g., "x64-based PC", "x86_64", "i686" etc.
      "cpuManufacturer": "A String", # CPU manufacturer, e.g., "Intel", "AMD".
      "cpuName": "A String", # CPU name, e.g., "Intel Xeon E5-2690", "AMD EPYC 7571" etc.
      "cpuSocketCount": 42, # Number of processor sockets allocated to the machine.
      "cpuThreadCount": 42, # Number of CPU threads allocated to the machine.
      "firmware": "A String", # Firmware (BIOS/efi).
      "hyperthreading": "A String", # CPU hyperthreading support.
      "vendor": "A String", # Hardware vendor.
    },
    "vmDisks": { # Details of VM disks. # VM disk details.
      "disks": { # VM disks. # List of disks.
        "entries": [ # Disk entries.
          { # Single disk entry.
            "diskLabel": "A String", # Disk label.
            "diskLabelType": "A String", # Disk label type (e.g. BIOS/GPT)
            "hwAddress": "A String", # Disk hardware address (e.g. 0:1 for SCSI).
            "interfaceType": "A String", # Disks interface type (e.g. SATA/SCSI)
            "partitions": { # Disk partition list. # Partition layout.
              "entries": [ # Partition entries.
                { # Disk Partition details.
                  "capacityBytes": "A String", # Partition capacity.
                  "fileSystem": "A String", # Partition file system.
                  "freeBytes": "A String", # Partition free space.
                  "mountPoint": "A String", # Mount pount (Linux/Windows) or drive letter (Windows).
                  "subPartitions": # Object with schema name: DiskPartitionList # Sub-partitions.
                  "type": "A String", # Partition type (e.g. BIOS boot).
                  "uuid": "A String", # Partition UUID.
                },
              ],
            },
            "status": "A String", # Disk status (e.g. online).
            "totalCapacityBytes": "A String", # Disk capacity.
            "totalFreeBytes": "A String", # Disk free space.
            "vmwareConfig": { # VMware disk config details. # VMware disk details.
              "backingType": "A String", # VMDK backing type.
              "rdmCompatibilityMode": "A String", # RDM compatibility mode.
              "shared": True or False, # Is VMDK shared with other VMs.
              "vmdkDiskMode": "A String", # VMDK disk mode.
            },
          },
        ],
      },
      "hddTotalCapacityBytes": "A String", # Disk total Capacity.
      "hddTotalFreeBytes": "A String", # Total Disk Free Space.
      "lsblkJson": "A String", # Raw lsblk output in json.
    },
    "vmName": "A String", # Virtual Machine display name.
    "vmNetwork": { # Details of network adapters and settings. # VM network details.
      "defaultGw": "A String", # Default gateway address.
      "networkAdapters": { # List of network adapters. # List of network adapters.
        "networkAdapters": [ # Network adapter descriptions.
          { # Details of network adapter.
            "adapterType": "A String", # Network adapter type (e.g. VMXNET3).
            "addresses": { # List of allocated/assigned network addresses. # NetworkAddressList
              "addresses": [ # Network address entries.
                { # Details of network address.
                  "assignment": "A String", # Whether DHCP is used to assign addresses.
                  "bcast": "A String", # Broadcast address.
                  "fqdn": "A String", # Fully qualified domain name.
                  "ipAddress": "A String", # Assigned or configured IP Address.
                  "subnetMask": "A String", # Subnet mask.
                },
              ],
            },
            "macAddress": "A String", # MAC address.
          },
        ],
      },
      "primaryIpAddress": "A String", # IP address of the machine.
      "primaryMacAddress": "A String", # MAC address of the machine. This property is used to uniqly identify the machine.
      "publicIpAddress": "A String", # Public IP address of the machine.
    },
    "vmUuid": "A String", # Virtual Machine unique identifier.
  },
}

  requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
  updateMask: string, Required. Field mask is used to specify the fields to be overwritten in the `Asset` resource by the update. The values specified in the `update_mask` field are relative to the resource, not the full request. A field will be overwritten if it is in the mask. A single * value in the mask lets you to overwrite all fields.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # An asset represents a resource in your environment. Asset types include virtual machines and databases.
  "assignedGroups": [ # Output only. The list of groups that the asset is assigned to.
    "A String",
  ],
  "attributes": { # Generic asset attributes.
    "a_key": "A String",
  },
  "createTime": "A String", # Output only. The timestamp when the asset was created.
  "insightList": { # Message containing insights list. # Output only. The list of insights associated with the asset.
    "insights": [ # Output only. Insights of the list.
      { # An insight about an asset.
        "genericInsight": { # An insight about an asset (experimental insight) # Output only. A generic insight about an asset.
          "additionalInformation": [ # Output only. Additional information about the insight, each entry can be a logical entry and must make sense if it is displayed with line breaks between each entry. Text can contain md style links
            "A String",
          ],
          "defaultMessage": "A String", # Output only. In case message_code is not yet known by the client default_message will be the message to be used instead. Text can contain md file style links.
          "messageId": "A String", # Output only. Represents a globally unique message id for this insight, can be used for localization purposes, in case message_code is not yet known by the client use default_message instead.
        },
        "migrationInsight": { # An insight about potential migrations for an asset. # Output only. An insight about potential migrations for an asset.
          "computeEngineTarget": { # Compute engine migration target. # Output only. A Google Compute Engine target.
            "shape": { # Compute Engine target shape descriptor. # Description of the suggested shape for the migration target.
              "logicalCoreCount": 42, # Number of logical cores.
              "machineType": "A String", # Compute Engine machine type.
              "memoryMb": 42, # Memory in mebibytes.
              "physicalCoreCount": 42, # Number of physical cores.
              "series": "A String", # Compute Engine machine series.
              "storage": [ # Compute Engine storage. Never empty.
                { # Compute Engine storage option descriptor.
                  "sizeGb": 42, # Disk size in GiB.
                  "type": "A String", # Disk type backing the storage.
                },
              ],
            },
          },
          "fit": { # Describes the fit level of an asset for migration to a specific target. # Output only. Description of how well the asset this insight is associated with fits the proposed migration.
            "fitLevel": "A String", # Fit level.
          },
          "gkeTarget": { # GKE migration target. # Output only. A Google Kubernetes Engine target.
          },
          "vmwareEngineTarget": { # VMWare engine migration target. # Output only. A VMWare Engine target.
          },
        },
      },
    ],
    "updateTime": "A String", # Output only. Update timestamp.
  },
  "labels": { # Labels as key value pairs.
    "a_key": "A String",
  },
  "name": "A String", # Output only. The full name of the asset.
  "performanceData": { # Performance data for an asset. # Output only. Performance data for the asset.
    "dailyResourceUsageAggregations": [ # Daily resource usage aggregations. Contains all of the data available for an asset, up to the last 420 days. Aggregations are sorted from oldest to most recent.
      { # Usage data aggregation for a single day.
        "cpu": { # Statistical aggregation of CPU usage. # CPU usage.
          "utilizationPercentage": { # Statistical aggregation of samples for a single resource usage. # CPU utilization percentage.
            "average": 3.14, # Average usage value.
            "median": 3.14, # Median usage value.
            "ninteyFifthPercentile": 3.14, # 95th percentile usage value.
            "peak": 3.14, # Peak usage value.
          },
        },
        "date": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Aggregation date. Day boundaries are at midnight UTC.
          "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
          "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
          "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
        },
        "disk": { # Statistical aggregation of disk usage. # Disk usage.
          "iops": { # Statistical aggregation of samples for a single resource usage. # Disk I/O operations per second.
            "average": 3.14, # Average usage value.
            "median": 3.14, # Median usage value.
            "ninteyFifthPercentile": 3.14, # 95th percentile usage value.
            "peak": 3.14, # Peak usage value.
          },
        },
        "memory": { # Statistical aggregation of memory usage. # Memory usage.
          "utilizationPercentage": { # Statistical aggregation of samples for a single resource usage. # Memory utilization percentage.
            "average": 3.14, # Average usage value.
            "median": 3.14, # Median usage value.
            "ninteyFifthPercentile": 3.14, # 95th percentile usage value.
            "peak": 3.14, # Peak usage value.
          },
        },
        "network": { # Statistical aggregation of network usage. # Network usage.
          "egressBps": { # Statistical aggregation of samples for a single resource usage. # Network egress in B/s.
            "average": 3.14, # Average usage value.
            "median": 3.14, # Median usage value.
            "ninteyFifthPercentile": 3.14, # 95th percentile usage value.
            "peak": 3.14, # Peak usage value.
          },
          "ingressBps": { # Statistical aggregation of samples for a single resource usage. # Network ingress in B/s.
            "average": 3.14, # Average usage value.
            "median": 3.14, # Median usage value.
            "ninteyFifthPercentile": 3.14, # 95th percentile usage value.
            "peak": 3.14, # Peak usage value.
          },
        },
      },
    ],
  },
  "sources": [ # Output only. The list of sources contributing to the asset.
    "A String",
  ],
  "updateTime": "A String", # Output only. The timestamp when the asset was last updated.
  "virtualMachineDetails": { # Details of a VirtualMachine. # Output only. Asset information specific for virtual machines.
    "coreCount": 42, # Number of CPU cores in the VirtualMachine. Must be non-negative.
    "createTime": "A String", # VM creation timestamp.
    "guestOs": { # Information from Guest-level collections. # Guest OS information.
      "config": { # Guest OS config information. # OS and app configuration.
        "fstab": { # Fstab content. # Mount list (Linux fstab).
          "entries": [ # Fstab entries.
            { # Single fstab entry.
              "file": "A String", # The mount point for the filesystem.
              "freq": 42, # Used by dump to determine which filesystems need to be dumped.
              "mntops": "A String", # Mount options associated with the filesystem.
              "passno": 42, # Used by the fsck(8) program to determine the order in which filesystem checks are done at reboot time.
              "spec": "A String", # The block special device or remote filesystem to be mounted.
              "vfstype": "A String", # The type of the filesystem.
            },
          ],
        },
        "hosts": { # Hosts content. # Hosts file (/etc/hosts).
          "entries": [ # Hosts entries.
            { # Single /etc/hosts entry.
              "hostNames": [ # List of host names / aliases.
                "A String",
              ],
              "ip": "A String", # IP (raw, IPv4/6 agnostic).
            },
          ],
        },
        "issue": "A String", # OS issue (typically /etc/issue in Linux).
        "nfsExports": { # NFS exports. # NFS exports.
          "entries": [ # NFS export entries.
            { # NFS export.
              "exportDirectory": "A String", # The directory being exported.
              "hosts": [ # The hosts or networks to which the export is being shared.
                "A String",
              ],
            },
          ],
        },
        "selinux": { # SELinux details. # SELinux details.
          "enabled": True or False, # Is SELinux enabled.
          "mode": "A String", # SELinux mode enforcing / permissive.
        },
      },
      "runtime": { # Guest OS runtime information. # Runtime information.
        "domain": "A String", # Domain, e.g. c.stratozone-development.internal.
        "installedApps": { # Guest installed application list. # Installed applications information.
          "entries": [ # Application entries.
            { # Guest installed application information.
              "name": "A String", # Installed application name.
              "path": "A String", # Source path.
              "time": "A String", # Date application was installed.
              "vendor": "A String", # Installed application vendor.
              "version": "A String", # Installed application version.
            },
          ],
        },
        "lastUptime": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date since last booted (last uptime date).
          "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
          "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
          "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
        },
        "machineName": "A String", # Machine name.
        "networkInfo": { # Runtime networking information. # Runtime network information (connections, ports).
          "connections": { # Network connection list. # Network connections.
            "entries": [ # Network connection entries.
              {
                "localIpAddress": "A String", # Local IP address.
                "localPort": 42, # Local port.
                "pid": "A String", # Process ID.
                "processName": "A String", # Process or service name.
                "protocol": "A String", # Connection protocol (e.g. TCP/UDP).
                "remoteIpAddress": "A String", # Remote IP address.
                "remotePort": 42, # Remote port.
                "state": "A String", # Connection state (e.g. CONNECTED).
              },
            ],
          },
          "netstat": "A String", # Netstat (raw, OS-agnostic).
          "netstatTime": { # Represents civil time (or occasionally physical time). This type can represent a civil time in one of a few possible ways: * When utc_offset is set and time_zone is unset: a civil time on a calendar day with a particular offset from UTC. * When time_zone is set and utc_offset is unset: a civil time on a calendar day in a particular time zone. * When neither time_zone nor utc_offset is set: a civil time on a calendar day in local time. The date is relative to the Proleptic Gregorian Calendar. If year, month, or day are 0, the DateTime is considered not to have a specific year, month, or day respectively. This type may also be used to represent a physical time if all the date and time fields are set and either case of the `time_offset` oneof is set. Consider using `Timestamp` message for physical time instead. If your use case also would like to store the user's timezone, that can be done in another field. This type is more flexible than some applications may want. Make sure to document and validate your application's limitations. # Netstat time collected.
            "day": 42, # Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a datetime without a day.
            "hours": 42, # Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An API may choose to allow the value "24:00:00" for scenarios like business closing time.
            "minutes": 42, # Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
            "month": 42, # Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month.
            "nanos": 42, # Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0.
            "seconds": 42, # Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API may allow the value 60 if it allows leap-seconds.
            "timeZone": { # Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones). # Time zone.
              "id": "A String", # IANA Time Zone Database time zone, e.g. "America/New_York".
              "version": "A String", # Optional. IANA Time Zone Database version number, e.g. "2019a".
            },
            "utcOffset": "A String", # UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00 would be represented as { seconds: -14400 }.
            "year": 42, # Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year.
          },
        },
        "openFileList": { # Open file list. # Open files information.
          "entries": [ # Open file details entries.
            { # Open file Information.
              "command": "A String", # Opened file command.
              "filePath": "A String", # Opened file file path.
              "fileType": "A String", # Opened file file type.
              "user": "A String", # Opened file user.
            },
          ],
        },
        "processes": { # List of running guest OS processes. # Running processes.
          "processes": [ # Running process entries.
            { # Guest OS running process details.
              "attributes": { # Process extended attributes.
                "a_key": "A String",
              },
              "cmdline": "A String", # Process full command line.
              "exePath": "A String", # Process binary path.
              "pid": "A String", # Process ID.
              "user": "A String", # User running the process.
            },
          ],
        },
        "services": { # List of running guest OS services. # Running background services.
          "services": [ # Running service entries.
            { # Guest OS running service details.
              "cmdline": "A String", # Service command line.
              "exePath": "A String", # Service binary path.
              "name": "A String", # Service name.
              "pid": "A String", # Service pid.
              "startMode": "A String", # Service start mode (raw, OS-agnostic).
              "state": "A String", # Service state (raw, OS-agnostic).
              "status": "A String", # Service status.
            },
          ],
        },
      },
    },
    "memoryMb": 42, # The amount of memory in the VirtualMachine. Must be non-negative.
    "osFamily": "A String", # What family the OS belong to, if known.
    "osName": "A String", # The name of the operating system running on the VirtualMachine.
    "osVersion": "A String", # The version of the operating system running on the virtual machine.
    "platform": { # Information about the platform. # Platform information.
      "awsEc2Details": { # AWS EC2 specific details. # AWS EC2 specific details.
        "location": "A String", # The location of the machine in the AWS format.
        "machineTypeLabel": "A String", # AWS platform's machine type label.
      },
      "azureVmDetails": { # Azure VM specific details. # Azure VM specific details.
        "location": "A String", # The location of the machine in the Azure format.
        "machineTypeLabel": "A String", # Azure platform's machine type label.
        "provisioningState": "A String", # Azure platform's provisioning state.
      },
      "genericDetails": { # Generic platform details. # Generic platform details.
        "location": "A String", # Free text representation of the machine location. The format of this field should not be relied on. Different VMs in the same location may have different string values for this field.
      },
      "physicalDetails": { # Platform specific details for Physical Machines. # Physical machines platform details.
        "location": "A String", # Free text representation of the machine location. The format of this field should not be relied on. Different machines in the same location may have different string values for this field.
      },
      "vmwareDetails": { # VMware specific details. # VMware specific details.
        "esxVersion": "A String", # ESX version.
        "osid": "A String", # VMware os enum - https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html.
        "vcenterVersion": "A String", # vCenter version.
      },
    },
    "powerState": "A String", # Power state of VM (poweredOn or poweredOff).
    "vcenterFolder": "A String", # Folder name in vCenter where asset resides.
    "vcenterUrl": "A String", # vCenter URL used in collection.
    "vcenterVmId": "A String", # vCenter VM ID.
    "vmArchitecture": { # Details of the VM architecture. # VM architecture details (vendor, cpu arch).
      "bios": { # Details about the BIOS. # BIOS Details.
        "biosManufacturer": "A String", # BIOS manufacturer.
        "biosName": "A String", # BIOS name.
        "biosReleaseDate": "A String", # BIOS release date.
        "biosVersion": "A String", # BIOS version.
        "smbiosUuid": "A String", # SMBIOS UUID.
      },
      "cpuArchitecture": "A String", # CPU architecture, e.g., "x64-based PC", "x86_64", "i686" etc.
      "cpuManufacturer": "A String", # CPU manufacturer, e.g., "Intel", "AMD".
      "cpuName": "A String", # CPU name, e.g., "Intel Xeon E5-2690", "AMD EPYC 7571" etc.
      "cpuSocketCount": 42, # Number of processor sockets allocated to the machine.
      "cpuThreadCount": 42, # Number of CPU threads allocated to the machine.
      "firmware": "A String", # Firmware (BIOS/efi).
      "hyperthreading": "A String", # CPU hyperthreading support.
      "vendor": "A String", # Hardware vendor.
    },
    "vmDisks": { # Details of VM disks. # VM disk details.
      "disks": { # VM disks. # List of disks.
        "entries": [ # Disk entries.
          { # Single disk entry.
            "diskLabel": "A String", # Disk label.
            "diskLabelType": "A String", # Disk label type (e.g. BIOS/GPT)
            "hwAddress": "A String", # Disk hardware address (e.g. 0:1 for SCSI).
            "interfaceType": "A String", # Disks interface type (e.g. SATA/SCSI)
            "partitions": { # Disk partition list. # Partition layout.
              "entries": [ # Partition entries.
                { # Disk Partition details.
                  "capacityBytes": "A String", # Partition capacity.
                  "fileSystem": "A String", # Partition file system.
                  "freeBytes": "A String", # Partition free space.
                  "mountPoint": "A String", # Mount pount (Linux/Windows) or drive letter (Windows).
                  "subPartitions": # Object with schema name: DiskPartitionList # Sub-partitions.
                  "type": "A String", # Partition type (e.g. BIOS boot).
                  "uuid": "A String", # Partition UUID.
                },
              ],
            },
            "status": "A String", # Disk status (e.g. online).
            "totalCapacityBytes": "A String", # Disk capacity.
            "totalFreeBytes": "A String", # Disk free space.
            "vmwareConfig": { # VMware disk config details. # VMware disk details.
              "backingType": "A String", # VMDK backing type.
              "rdmCompatibilityMode": "A String", # RDM compatibility mode.
              "shared": True or False, # Is VMDK shared with other VMs.
              "vmdkDiskMode": "A String", # VMDK disk mode.
            },
          },
        ],
      },
      "hddTotalCapacityBytes": "A String", # Disk total Capacity.
      "hddTotalFreeBytes": "A String", # Total Disk Free Space.
      "lsblkJson": "A String", # Raw lsblk output in json.
    },
    "vmName": "A String", # Virtual Machine display name.
    "vmNetwork": { # Details of network adapters and settings. # VM network details.
      "defaultGw": "A String", # Default gateway address.
      "networkAdapters": { # List of network adapters. # List of network adapters.
        "networkAdapters": [ # Network adapter descriptions.
          { # Details of network adapter.
            "adapterType": "A String", # Network adapter type (e.g. VMXNET3).
            "addresses": { # List of allocated/assigned network addresses. # NetworkAddressList
              "addresses": [ # Network address entries.
                { # Details of network address.
                  "assignment": "A String", # Whether DHCP is used to assign addresses.
                  "bcast": "A String", # Broadcast address.
                  "fqdn": "A String", # Fully qualified domain name.
                  "ipAddress": "A String", # Assigned or configured IP Address.
                  "subnetMask": "A String", # Subnet mask.
                },
              ],
            },
            "macAddress": "A String", # MAC address.
          },
        ],
      },
      "primaryIpAddress": "A String", # IP address of the machine.
      "primaryMacAddress": "A String", # MAC address of the machine. This property is used to uniqly identify the machine.
      "publicIpAddress": "A String", # Public IP address of the machine.
    },
    "vmUuid": "A String", # Virtual Machine unique identifier.
  },
}
reportAssetFrames(parent, body=None, source=None, x__xgafv=None)
Reports a set of frames.

Args:
  parent: string, Required. Parent of the resource. (required)
  body: object, The request body.
    The object takes the form of:

{ # Collection of frame data.
  "framesData": [ # A repeated field of asset data.
    { # Contains data reported from an inventory source on an asset.
      "attributes": { # Generic asset attributes.
        "a_key": "A String",
      },
      "labels": { # Labels as key value pairs.
        "a_key": "A String",
      },
      "performanceSamples": [ # Asset performance data samples. Samples that are from more than 40 days ago or after tomorrow are ignored.
        { # Performance data sample.
          "cpu": { # CPU usage sample. # CPU usage sample.
            "utilizedPercentage": 3.14, # Percentage of total CPU capacity utilized. Must be in the interval [0, 100]. On most systems can be calculated using 100 - idle percentage.
          },
          "disk": { # Disk usage sample. Values are across all disks. # Disk usage sample.
            "averageIops": 3.14, # Average IOPS sampled over a short window. Must be non-negative. Must be equal to the sum of read and write if one of them is positive. if both read and write are zero they are ignored.
          },
          "memory": { # Memory usage sample. # Memory usage sample.
            "utilizedPercentage": 3.14, # Percentage of system memory utilized. Must be in the interval [0, 100].
          },
          "network": { # Network usage sample. Values are across all network interfaces. # Network usage sample.
            "averageEgressBps": 3.14, # Average network egress in B/s sampled over a short window. Must be non-negative.
            "averageIngressBps": 3.14, # Average network ingress in B/s sampled over a short window. Must be non-negative.
          },
          "sampleTime": "A String", # Time the sample was collected. If omitted, the frame report time will be used.
        },
      ],
      "reportTime": "A String", # The time the data was reported.
      "traceToken": "A String", # Optional. Trace token is optionally provided to assist with debugging and traceability.
      "virtualMachineDetails": { # Details of a VirtualMachine. # Asset information specific for virtual machines.
        "coreCount": 42, # Number of CPU cores in the VirtualMachine. Must be non-negative.
        "createTime": "A String", # VM creation timestamp.
        "guestOs": { # Information from Guest-level collections. # Guest OS information.
          "config": { # Guest OS config information. # OS and app configuration.
            "fstab": { # Fstab content. # Mount list (Linux fstab).
              "entries": [ # Fstab entries.
                { # Single fstab entry.
                  "file": "A String", # The mount point for the filesystem.
                  "freq": 42, # Used by dump to determine which filesystems need to be dumped.
                  "mntops": "A String", # Mount options associated with the filesystem.
                  "passno": 42, # Used by the fsck(8) program to determine the order in which filesystem checks are done at reboot time.
                  "spec": "A String", # The block special device or remote filesystem to be mounted.
                  "vfstype": "A String", # The type of the filesystem.
                },
              ],
            },
            "hosts": { # Hosts content. # Hosts file (/etc/hosts).
              "entries": [ # Hosts entries.
                { # Single /etc/hosts entry.
                  "hostNames": [ # List of host names / aliases.
                    "A String",
                  ],
                  "ip": "A String", # IP (raw, IPv4/6 agnostic).
                },
              ],
            },
            "issue": "A String", # OS issue (typically /etc/issue in Linux).
            "nfsExports": { # NFS exports. # NFS exports.
              "entries": [ # NFS export entries.
                { # NFS export.
                  "exportDirectory": "A String", # The directory being exported.
                  "hosts": [ # The hosts or networks to which the export is being shared.
                    "A String",
                  ],
                },
              ],
            },
            "selinux": { # SELinux details. # SELinux details.
              "enabled": True or False, # Is SELinux enabled.
              "mode": "A String", # SELinux mode enforcing / permissive.
            },
          },
          "runtime": { # Guest OS runtime information. # Runtime information.
            "domain": "A String", # Domain, e.g. c.stratozone-development.internal.
            "installedApps": { # Guest installed application list. # Installed applications information.
              "entries": [ # Application entries.
                { # Guest installed application information.
                  "name": "A String", # Installed application name.
                  "path": "A String", # Source path.
                  "time": "A String", # Date application was installed.
                  "vendor": "A String", # Installed application vendor.
                  "version": "A String", # Installed application version.
                },
              ],
            },
            "lastUptime": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date since last booted (last uptime date).
              "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
              "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
              "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
            },
            "machineName": "A String", # Machine name.
            "networkInfo": { # Runtime networking information. # Runtime network information (connections, ports).
              "connections": { # Network connection list. # Network connections.
                "entries": [ # Network connection entries.
                  {
                    "localIpAddress": "A String", # Local IP address.
                    "localPort": 42, # Local port.
                    "pid": "A String", # Process ID.
                    "processName": "A String", # Process or service name.
                    "protocol": "A String", # Connection protocol (e.g. TCP/UDP).
                    "remoteIpAddress": "A String", # Remote IP address.
                    "remotePort": 42, # Remote port.
                    "state": "A String", # Connection state (e.g. CONNECTED).
                  },
                ],
              },
              "netstat": "A String", # Netstat (raw, OS-agnostic).
              "netstatTime": { # Represents civil time (or occasionally physical time). This type can represent a civil time in one of a few possible ways: * When utc_offset is set and time_zone is unset: a civil time on a calendar day with a particular offset from UTC. * When time_zone is set and utc_offset is unset: a civil time on a calendar day in a particular time zone. * When neither time_zone nor utc_offset is set: a civil time on a calendar day in local time. The date is relative to the Proleptic Gregorian Calendar. If year, month, or day are 0, the DateTime is considered not to have a specific year, month, or day respectively. This type may also be used to represent a physical time if all the date and time fields are set and either case of the `time_offset` oneof is set. Consider using `Timestamp` message for physical time instead. If your use case also would like to store the user's timezone, that can be done in another field. This type is more flexible than some applications may want. Make sure to document and validate your application's limitations. # Netstat time collected.
                "day": 42, # Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a datetime without a day.
                "hours": 42, # Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An API may choose to allow the value "24:00:00" for scenarios like business closing time.
                "minutes": 42, # Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
                "month": 42, # Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month.
                "nanos": 42, # Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0.
                "seconds": 42, # Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API may allow the value 60 if it allows leap-seconds.
                "timeZone": { # Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones). # Time zone.
                  "id": "A String", # IANA Time Zone Database time zone, e.g. "America/New_York".
                  "version": "A String", # Optional. IANA Time Zone Database version number, e.g. "2019a".
                },
                "utcOffset": "A String", # UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00 would be represented as { seconds: -14400 }.
                "year": 42, # Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year.
              },
            },
            "openFileList": { # Open file list. # Open files information.
              "entries": [ # Open file details entries.
                { # Open file Information.
                  "command": "A String", # Opened file command.
                  "filePath": "A String", # Opened file file path.
                  "fileType": "A String", # Opened file file type.
                  "user": "A String", # Opened file user.
                },
              ],
            },
            "processes": { # List of running guest OS processes. # Running processes.
              "processes": [ # Running process entries.
                { # Guest OS running process details.
                  "attributes": { # Process extended attributes.
                    "a_key": "A String",
                  },
                  "cmdline": "A String", # Process full command line.
                  "exePath": "A String", # Process binary path.
                  "pid": "A String", # Process ID.
                  "user": "A String", # User running the process.
                },
              ],
            },
            "services": { # List of running guest OS services. # Running background services.
              "services": [ # Running service entries.
                { # Guest OS running service details.
                  "cmdline": "A String", # Service command line.
                  "exePath": "A String", # Service binary path.
                  "name": "A String", # Service name.
                  "pid": "A String", # Service pid.
                  "startMode": "A String", # Service start mode (raw, OS-agnostic).
                  "state": "A String", # Service state (raw, OS-agnostic).
                  "status": "A String", # Service status.
                },
              ],
            },
          },
        },
        "memoryMb": 42, # The amount of memory in the VirtualMachine. Must be non-negative.
        "osFamily": "A String", # What family the OS belong to, if known.
        "osName": "A String", # The name of the operating system running on the VirtualMachine.
        "osVersion": "A String", # The version of the operating system running on the virtual machine.
        "platform": { # Information about the platform. # Platform information.
          "awsEc2Details": { # AWS EC2 specific details. # AWS EC2 specific details.
            "location": "A String", # The location of the machine in the AWS format.
            "machineTypeLabel": "A String", # AWS platform's machine type label.
          },
          "azureVmDetails": { # Azure VM specific details. # Azure VM specific details.
            "location": "A String", # The location of the machine in the Azure format.
            "machineTypeLabel": "A String", # Azure platform's machine type label.
            "provisioningState": "A String", # Azure platform's provisioning state.
          },
          "genericDetails": { # Generic platform details. # Generic platform details.
            "location": "A String", # Free text representation of the machine location. The format of this field should not be relied on. Different VMs in the same location may have different string values for this field.
          },
          "physicalDetails": { # Platform specific details for Physical Machines. # Physical machines platform details.
            "location": "A String", # Free text representation of the machine location. The format of this field should not be relied on. Different machines in the same location may have different string values for this field.
          },
          "vmwareDetails": { # VMware specific details. # VMware specific details.
            "esxVersion": "A String", # ESX version.
            "osid": "A String", # VMware os enum - https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html.
            "vcenterVersion": "A String", # vCenter version.
          },
        },
        "powerState": "A String", # Power state of VM (poweredOn or poweredOff).
        "vcenterFolder": "A String", # Folder name in vCenter where asset resides.
        "vcenterUrl": "A String", # vCenter URL used in collection.
        "vcenterVmId": "A String", # vCenter VM ID.
        "vmArchitecture": { # Details of the VM architecture. # VM architecture details (vendor, cpu arch).
          "bios": { # Details about the BIOS. # BIOS Details.
            "biosManufacturer": "A String", # BIOS manufacturer.
            "biosName": "A String", # BIOS name.
            "biosReleaseDate": "A String", # BIOS release date.
            "biosVersion": "A String", # BIOS version.
            "smbiosUuid": "A String", # SMBIOS UUID.
          },
          "cpuArchitecture": "A String", # CPU architecture, e.g., "x64-based PC", "x86_64", "i686" etc.
          "cpuManufacturer": "A String", # CPU manufacturer, e.g., "Intel", "AMD".
          "cpuName": "A String", # CPU name, e.g., "Intel Xeon E5-2690", "AMD EPYC 7571" etc.
          "cpuSocketCount": 42, # Number of processor sockets allocated to the machine.
          "cpuThreadCount": 42, # Number of CPU threads allocated to the machine.
          "firmware": "A String", # Firmware (BIOS/efi).
          "hyperthreading": "A String", # CPU hyperthreading support.
          "vendor": "A String", # Hardware vendor.
        },
        "vmDisks": { # Details of VM disks. # VM disk details.
          "disks": { # VM disks. # List of disks.
            "entries": [ # Disk entries.
              { # Single disk entry.
                "diskLabel": "A String", # Disk label.
                "diskLabelType": "A String", # Disk label type (e.g. BIOS/GPT)
                "hwAddress": "A String", # Disk hardware address (e.g. 0:1 for SCSI).
                "interfaceType": "A String", # Disks interface type (e.g. SATA/SCSI)
                "partitions": { # Disk partition list. # Partition layout.
                  "entries": [ # Partition entries.
                    { # Disk Partition details.
                      "capacityBytes": "A String", # Partition capacity.
                      "fileSystem": "A String", # Partition file system.
                      "freeBytes": "A String", # Partition free space.
                      "mountPoint": "A String", # Mount pount (Linux/Windows) or drive letter (Windows).
                      "subPartitions": # Object with schema name: DiskPartitionList # Sub-partitions.
                      "type": "A String", # Partition type (e.g. BIOS boot).
                      "uuid": "A String", # Partition UUID.
                    },
                  ],
                },
                "status": "A String", # Disk status (e.g. online).
                "totalCapacityBytes": "A String", # Disk capacity.
                "totalFreeBytes": "A String", # Disk free space.
                "vmwareConfig": { # VMware disk config details. # VMware disk details.
                  "backingType": "A String", # VMDK backing type.
                  "rdmCompatibilityMode": "A String", # RDM compatibility mode.
                  "shared": True or False, # Is VMDK shared with other VMs.
                  "vmdkDiskMode": "A String", # VMDK disk mode.
                },
              },
            ],
          },
          "hddTotalCapacityBytes": "A String", # Disk total Capacity.
          "hddTotalFreeBytes": "A String", # Total Disk Free Space.
          "lsblkJson": "A String", # Raw lsblk output in json.
        },
        "vmName": "A String", # Virtual Machine display name.
        "vmNetwork": { # Details of network adapters and settings. # VM network details.
          "defaultGw": "A String", # Default gateway address.
          "networkAdapters": { # List of network adapters. # List of network adapters.
            "networkAdapters": [ # Network adapter descriptions.
              { # Details of network adapter.
                "adapterType": "A String", # Network adapter type (e.g. VMXNET3).
                "addresses": { # List of allocated/assigned network addresses. # NetworkAddressList
                  "addresses": [ # Network address entries.
                    { # Details of network address.
                      "assignment": "A String", # Whether DHCP is used to assign addresses.
                      "bcast": "A String", # Broadcast address.
                      "fqdn": "A String", # Fully qualified domain name.
                      "ipAddress": "A String", # Assigned or configured IP Address.
                      "subnetMask": "A String", # Subnet mask.
                    },
                  ],
                },
                "macAddress": "A String", # MAC address.
              },
            ],
          },
          "primaryIpAddress": "A String", # IP address of the machine.
          "primaryMacAddress": "A String", # MAC address of the machine. This property is used to uniqly identify the machine.
          "publicIpAddress": "A String", # Public IP address of the machine.
        },
        "vmUuid": "A String", # Virtual Machine unique identifier.
      },
    },
  ],
}

  source: string, Required. Reference to a source.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # A response to a call to `ReportAssetFrame`.
}