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
Returns
- (::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
Parameter
- value (::Google::Cloud::OsConfig::V1alpha::OSPolicyAssignment) — Required. The OS policy assignment to be created.
Returns
- (::Google::Cloud::OsConfig::V1alpha::OSPolicyAssignment) — Required. The OS policy assignment to be created.
#os_policy_assignment_id
def os_policy_assignment_id() -> ::String
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.
#os_policy_assignment_id=
def os_policy_assignment_id=(value) -> ::String
Parameter
-
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.
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.
#parent
def parent() -> ::String
Returns
- (::String) — Required. The parent resource name in the form: projects/{project}/locations/{location}
#parent=
def parent=(value) -> ::String
Parameter
- value (::String) — 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}