Sha256: 6da87623dae9ba2d1f2468fdf463d22e93ef807e8e7afd33a224f2da7e6abf83

Contents?: true

Size: 590 Bytes

Versions: 14

Compression:

Stored size: 590 Bytes

Contents

module Fog
  module Compute
    class Google
      class Mock
        def set_snapshot_labels(_snap_name)
          # :no-coverage:
          Fog::Mock.not_implemented
          # :no-coverage:
        end
      end

      class Real
        def set_snapshot_labels(snap_name, label_fingerprint, labels)
          @compute.set_snapshot_labels(
            project, snap_name,
            ::Google::Apis::ComputeV1::GlobalSetLabelsRequest.new(
              label_fingerprint: label_fingerprint,
              labels: labels
            )
          )
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
fog-google-1.24.1 lib/fog/compute/google/requests/set_snapshot_labels.rb
fog-google-1.24.0 lib/fog/compute/google/requests/set_snapshot_labels.rb
fog-google-1.23.0 lib/fog/compute/google/requests/set_snapshot_labels.rb
fog-google-1.22.0 lib/fog/compute/google/requests/set_snapshot_labels.rb
fog-google-1.21.1 lib/fog/compute/google/requests/set_snapshot_labels.rb
fog-google-1.21.0 lib/fog/compute/google/requests/set_snapshot_labels.rb
fog-google-1.20.0 lib/fog/compute/google/requests/set_snapshot_labels.rb
fog-google-1.19.0 lib/fog/compute/google/requests/set_snapshot_labels.rb
fog-google-1.18.0 lib/fog/compute/google/requests/set_snapshot_labels.rb
fog-google-1.17.0 lib/fog/compute/google/requests/set_snapshot_labels.rb
fog-google-1.16.1 lib/fog/compute/google/requests/set_snapshot_labels.rb
fog-google-1.16.0 lib/fog/compute/google/requests/set_snapshot_labels.rb
fog-google-1.15.0 lib/fog/compute/google/requests/set_snapshot_labels.rb
fog-google-1.14.0 lib/fog/compute/google/requests/set_snapshot_labels.rb