Reference documentation and code samples for the Cloud OS Config V1alpha API class Google::Cloud::OsConfig::V1alpha::GetInstanceOSPoliciesComplianceRequest.
A request message for getting OS policies compliance data for the given Compute Engine VM instance.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name
def name() -> ::String
-
(::String) — Required. API resource name for instance OS policies compliance resource.
Format:
projects/{project}/locations/{location}/instanceOSPoliciesCompliances/{instance}
For
{project}
, either Compute Engine project-number or project-id can be provided. For{instance}
, either Compute Engine VM instance-id or instance-name can be provided.
#name=
def name=(value) -> ::String
-
value (::String) — Required. API resource name for instance OS policies compliance resource.
Format:
projects/{project}/locations/{location}/instanceOSPoliciesCompliances/{instance}
For
{project}
, either Compute Engine project-number or project-id can be provided. For{instance}
, either Compute Engine VM instance-id or instance-name can be provided.
-
(::String) — Required. API resource name for instance OS policies compliance resource.
Format:
projects/{project}/locations/{location}/instanceOSPoliciesCompliances/{instance}
For
{project}
, either Compute Engine project-number or project-id can be provided. For{instance}
, either Compute Engine VM instance-id or instance-name can be provided.