@BetaApi
  public final ShieldedInstanceIdentity getShieldedInstanceIdentityInstance(
      ProjectZoneInstanceName instance) {

    GetShieldedInstanceIdentityInstanceHttpRequest request =
        GetShieldedInstanceIdentityInstanceHttpRequest.newBuilder()
            .setInstance(instance == null ? null : instance.toString())
            .build();
    return getShieldedInstanceIdentityInstance(request);
  }
@ BetaApi public final ShieldedInstanceIdentity getShieldedInstanceIdentityInstance ( ProjectZoneInstanceName instance ) { GetShieldedInstanceIdentityInstanceHttpRequest request = GetShieldedInstanceIdentityInstanceHttpRequest . newBuilder ( ) . setInstance ( instance == null ? null : instance . toString ( ) ) . build ( ) ; return getShieldedInstanceIdentityInstance ( request ) ; }
Returns the Shielded Instance Identity of an instance

<p>Sample code:

<pre><code>
try (InstanceClient instanceClient = InstanceClient.create()) {
ProjectZoneInstanceName instance = ProjectZoneInstanceName.of("[PROJECT]", "[ZONE]", "[INSTANCE]");
ShieldedInstanceIdentity response = instanceClient.getShieldedInstanceIdentityInstance(instance);
}
</code></pre>

@param instance Name or id of the instance scoping this request.
@throws com.google.api.gax.rpc.ApiException if the remote call fails