Reference documentation and code samples for the Cloud OS Config V1alpha API class Google::Cloud::OsConfig::V1alpha::CreateOSPolicyAssignmentRequest.
A request message to create an OS policy assignment
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#os_policy_assignment
def os_policy_assignment() -> ::Google::Cloud::OsConfig::V1alpha::OSPolicyAssignment
- (::Google::Cloud::OsConfig::V1alpha::OSPolicyAssignment) — Required. The OS policy assignment to be created.
#os_policy_assignment=
def os_policy_assignment=(value) -> ::Google::Cloud::OsConfig::V1alpha::OSPolicyAssignment
- value (::Google::Cloud::OsConfig::V1alpha::OSPolicyAssignment) — Required. The OS policy assignment to be created.
- (::Google::Cloud::OsConfig::V1alpha::OSPolicyAssignment) — Required. The OS policy assignment to be created.
#os_policy_assignment_id
def os_policy_assignment_id() -> ::String
-
(::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.
#os_policy_assignment_id=
def os_policy_assignment_id=(value) -> ::String
-
value (::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.
-
(::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.
#parent
def parent() -> ::String
- (::String) — Required. The parent resource name in the form: projects/{project}/locations/{location}
#parent=
def parent=(value) -> ::String
- value (::String) — Required. The parent resource name in the form: projects/{project}/locations/{location}
- (::String) — Required. The parent resource name in the form: projects/{project}/locations/{location}