Class: Google::Apis::DomainsV1alpha2::InitiatePushTransferRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/domains_v1alpha2/classes.rb,
lib/google/apis/domains_v1alpha2/representations.rb,
lib/google/apis/domains_v1alpha2/representations.rb

Overview

Request for the InitiatePushTransfer method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InitiatePushTransferRequest

Returns a new instance of InitiatePushTransferRequest.



958
959
960
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 958

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#tagString

Required. The Tag of the new registrar. Can be found at List of registrars. Corresponds to the JSON property tag

Returns:

  • (String)


949
950
951
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 949

def tag
  @tag
end

#validate_onlyBoolean Also known as: validate_only?

Optional. If set, validates the request without actually initiating the transfer. Corresponds to the JSON property validateOnly

Returns:

  • (Boolean)


955
956
957
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 955

def validate_only
  @validate_only
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



963
964
965
966
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 963

def update!(**args)
  @tag = args[:tag] if args.key?(:tag)
  @validate_only = args[:validate_only] if args.key?(:validate_only)
end