Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::SetIamPolicyInstanceTemplateRequest (v1.4.0)

Stay organized with collections Save and categorize content based on your preferences.

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::SetIamPolicyInstanceTemplateRequest.

A request message for InstanceTemplates.SetIamPolicy. See the method description for details.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#global_set_policy_request_resource

def global_set_policy_request_resource() -> ::Google::Cloud::Compute::V1::GlobalSetPolicyRequest
Returns

#global_set_policy_request_resource=

def global_set_policy_request_resource=(value) -> ::Google::Cloud::Compute::V1::GlobalSetPolicyRequest
Parameter
Returns

#project

def project() -> ::String
Returns
  • (::String) — Project ID for this request.

#project=

def project=(value) -> ::String
Parameter
  • value (::String) — Project ID for this request.
Returns
  • (::String) — Project ID for this request.

#resource

def resource() -> ::String
Returns
  • (::String) — Name or id of the resource for this request.

#resource=

def resource=(value) -> ::String
Parameter
  • value (::String) — Name or id of the resource for this request.
Returns
  • (::String) — Name or id of the resource for this request.