Class: Google::Cloud::OsConfig::V1::CreateOSPolicyAssignmentRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/osconfig/v1/os_policy_assignments.rb

Overview

A request message to create an OS policy assignment

Instance Attribute Summary collapse

Instance Attribute Details

#os_policy_assignment::Google::Cloud::OsConfig::V1::OSPolicyAssignment

Returns Required. The OS policy assignment to be created.

Returns:



292
293
294
295
# File 'proto_docs/google/cloud/osconfig/v1/os_policy_assignments.rb', line 292

class CreateOSPolicyAssignmentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#os_policy_assignment_id::String

Returns Required. The logical name of the OS policy assignment in the project with the following restrictions:

  • Must contain only lowercase letters, numbers, and hyphens.
  • Must start with a letter.
  • Must be between 1-63 characters.
  • Must end with a number or a letter.
  • Must be unique within the project.

Returns:

  • (::String)

    Required. The logical name of the OS policy assignment in the project with the following restrictions:

    • Must contain only lowercase letters, numbers, and hyphens.
    • Must start with a letter.
    • Must be between 1-63 characters.
    • Must end with a number or a letter.
    • Must be unique within the project.


292
293
294
295
# File 'proto_docs/google/cloud/osconfig/v1/os_policy_assignments.rb', line 292

class CreateOSPolicyAssignmentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

Returns Required. The parent resource name in the form: projects/{project}/locations/{location}.

Returns:

  • (::String)

    Required. The parent resource name in the form: projects/{project}/locations/{location}



292
293
294
295
# File 'proto_docs/google/cloud/osconfig/v1/os_policy_assignments.rb', line 292

class CreateOSPolicyAssignmentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end