Class: Google::Cloud::OsConfig::V1::PatchDeployment

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

Overview

Patch deployments are configurations that individual patch jobs use to complete a patch. These configurations include instance filter, package repository settings, and a schedule. For more information about creating and managing patch deployments, see Scheduling patch jobs.

Defined Under Namespace

Modules: State

Instance Attribute Summary collapse

Instance Attribute Details

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Time the patch deployment was created. Timestamp is in RFC3339 text format.

Returns:



74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# File 'proto_docs/google/cloud/osconfig/v1/patch_deployments.rb', line 74

class PatchDeployment
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Represents state of patch peployment.
  module State
    # The default value. This value is used if the state is omitted.
    STATE_UNSPECIFIED = 0

    # Active value means that patch deployment generates Patch Jobs.
    ACTIVE = 1

    # Paused value means that patch deployment does not generate
    # Patch jobs. Requires user action to move in and out from this state.
    PAUSED = 2
  end
end

#description::String

Returns Optional. Description of the patch deployment. Length of the description is limited to 1024 characters.

Returns:

  • (::String)

    Optional. Description of the patch deployment. Length of the description is limited to 1024 characters.



74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# File 'proto_docs/google/cloud/osconfig/v1/patch_deployments.rb', line 74

class PatchDeployment
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Represents state of patch peployment.
  module State
    # The default value. This value is used if the state is omitted.
    STATE_UNSPECIFIED = 0

    # Active value means that patch deployment generates Patch Jobs.
    ACTIVE = 1

    # Paused value means that patch deployment does not generate
    # Patch jobs. Requires user action to move in and out from this state.
    PAUSED = 2
  end
end

#duration::Google::Protobuf::Duration

Returns Optional. Duration of the patch. After the duration ends, the patch times out.

Returns:



74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# File 'proto_docs/google/cloud/osconfig/v1/patch_deployments.rb', line 74

class PatchDeployment
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Represents state of patch peployment.
  module State
    # The default value. This value is used if the state is omitted.
    STATE_UNSPECIFIED = 0

    # Active value means that patch deployment generates Patch Jobs.
    ACTIVE = 1

    # Paused value means that patch deployment does not generate
    # Patch jobs. Requires user action to move in and out from this state.
    PAUSED = 2
  end
end

#instance_filter::Google::Cloud::OsConfig::V1::PatchInstanceFilter

Returns Required. VM instances to patch.

Returns:



74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# File 'proto_docs/google/cloud/osconfig/v1/patch_deployments.rb', line 74

class PatchDeployment
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Represents state of patch peployment.
  module State
    # The default value. This value is used if the state is omitted.
    STATE_UNSPECIFIED = 0

    # Active value means that patch deployment generates Patch Jobs.
    ACTIVE = 1

    # Paused value means that patch deployment does not generate
    # Patch jobs. Requires user action to move in and out from this state.
    PAUSED = 2
  end
end

#last_execute_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The last time a patch job was started by this deployment. Timestamp is in RFC3339 text format.

Returns:



74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# File 'proto_docs/google/cloud/osconfig/v1/patch_deployments.rb', line 74

class PatchDeployment
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Represents state of patch peployment.
  module State
    # The default value. This value is used if the state is omitted.
    STATE_UNSPECIFIED = 0

    # Active value means that patch deployment generates Patch Jobs.
    ACTIVE = 1

    # Paused value means that patch deployment does not generate
    # Patch jobs. Requires user action to move in and out from this state.
    PAUSED = 2
  end
end

#name::String

Returns Unique name for the patch deployment resource in a project. The patch deployment name is in the form: projects/{project_id}/patchDeployments/{patch_deployment_id}. This field is ignored when you create a new patch deployment.

Returns:

  • (::String)

    Unique name for the patch deployment resource in a project. The patch deployment name is in the form: projects/{project_id}/patchDeployments/{patch_deployment_id}. This field is ignored when you create a new patch deployment.



74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# File 'proto_docs/google/cloud/osconfig/v1/patch_deployments.rb', line 74

class PatchDeployment
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Represents state of patch peployment.
  module State
    # The default value. This value is used if the state is omitted.
    STATE_UNSPECIFIED = 0

    # Active value means that patch deployment generates Patch Jobs.
    ACTIVE = 1

    # Paused value means that patch deployment does not generate
    # Patch jobs. Requires user action to move in and out from this state.
    PAUSED = 2
  end
end

#one_time_schedule::Google::Cloud::OsConfig::V1::OneTimeSchedule

Returns Required. Schedule a one-time execution.

Returns:



74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# File 'proto_docs/google/cloud/osconfig/v1/patch_deployments.rb', line 74

class PatchDeployment
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Represents state of patch peployment.
  module State
    # The default value. This value is used if the state is omitted.
    STATE_UNSPECIFIED = 0

    # Active value means that patch deployment generates Patch Jobs.
    ACTIVE = 1

    # Paused value means that patch deployment does not generate
    # Patch jobs. Requires user action to move in and out from this state.
    PAUSED = 2
  end
end

#patch_config::Google::Cloud::OsConfig::V1::PatchConfig

Returns Optional. Patch configuration that is applied.

Returns:



74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# File 'proto_docs/google/cloud/osconfig/v1/patch_deployments.rb', line 74

class PatchDeployment
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Represents state of patch peployment.
  module State
    # The default value. This value is used if the state is omitted.
    STATE_UNSPECIFIED = 0

    # Active value means that patch deployment generates Patch Jobs.
    ACTIVE = 1

    # Paused value means that patch deployment does not generate
    # Patch jobs. Requires user action to move in and out from this state.
    PAUSED = 2
  end
end

#recurring_schedule::Google::Cloud::OsConfig::V1::RecurringSchedule

Returns Required. Schedule recurring executions.

Returns:



74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# File 'proto_docs/google/cloud/osconfig/v1/patch_deployments.rb', line 74

class PatchDeployment
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Represents state of patch peployment.
  module State
    # The default value. This value is used if the state is omitted.
    STATE_UNSPECIFIED = 0

    # Active value means that patch deployment generates Patch Jobs.
    ACTIVE = 1

    # Paused value means that patch deployment does not generate
    # Patch jobs. Requires user action to move in and out from this state.
    PAUSED = 2
  end
end

#rollout::Google::Cloud::OsConfig::V1::PatchRollout

Returns Optional. Rollout strategy of the patch job.

Returns:



74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# File 'proto_docs/google/cloud/osconfig/v1/patch_deployments.rb', line 74

class PatchDeployment
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Represents state of patch peployment.
  module State
    # The default value. This value is used if the state is omitted.
    STATE_UNSPECIFIED = 0

    # Active value means that patch deployment generates Patch Jobs.
    ACTIVE = 1

    # Paused value means that patch deployment does not generate
    # Patch jobs. Requires user action to move in and out from this state.
    PAUSED = 2
  end
end

#state::Google::Cloud::OsConfig::V1::PatchDeployment::State (readonly)

Returns Output only. Current state of the patch deployment.

Returns:



74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# File 'proto_docs/google/cloud/osconfig/v1/patch_deployments.rb', line 74

class PatchDeployment
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Represents state of patch peployment.
  module State
    # The default value. This value is used if the state is omitted.
    STATE_UNSPECIFIED = 0

    # Active value means that patch deployment generates Patch Jobs.
    ACTIVE = 1

    # Paused value means that patch deployment does not generate
    # Patch jobs. Requires user action to move in and out from this state.
    PAUSED = 2
  end
end

#update_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Time the patch deployment was last updated. Timestamp is in RFC3339 text format.

Returns:



74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# File 'proto_docs/google/cloud/osconfig/v1/patch_deployments.rb', line 74

class PatchDeployment
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Represents state of patch peployment.
  module State
    # The default value. This value is used if the state is omitted.
    STATE_UNSPECIFIED = 0

    # Active value means that patch deployment generates Patch Jobs.
    ACTIVE = 1

    # Paused value means that patch deployment does not generate
    # Patch jobs. Requires user action to move in and out from this state.
    PAUSED = 2
  end
end