Class: Google::Apis::DnsV1beta2::Operation
- Inherits:
-
Object
- Object
- Google::Apis::DnsV1beta2::Operation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dns_v1beta2/classes.rb,
generated/google/apis/dns_v1beta2/representations.rb,
generated/google/apis/dns_v1beta2/representations.rb
Instance Attribute Summary collapse
-
#dns_key_context ⇒ Google::Apis::DnsV1beta2::OperationDnsKeyContext
Corresponds to the JSON property
dnsKeyContext
. -
#id ⇒ String
Corresponds to the JSON property
id
. -
#kind ⇒ String
Identifies what kind of resource this is.
-
#start_time ⇒ String
Corresponds to the JSON property
startTime
. -
#status ⇒ String
Corresponds to the JSON property
status
. -
#type ⇒ String
Corresponds to the JSON property
type
. -
#user ⇒ String
Corresponds to the JSON property
user
. -
#zone_context ⇒ Google::Apis::DnsV1beta2::OperationManagedZoneContext
Corresponds to the JSON property
zoneContext
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Operation
constructor
A new instance of Operation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Operation
Returns a new instance of Operation
715 716 717 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 715 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dns_key_context ⇒ Google::Apis::DnsV1beta2::OperationDnsKeyContext
Corresponds to the JSON property dnsKeyContext
677 678 679 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 677 def dns_key_context @dns_key_context end |
#id ⇒ String
Corresponds to the JSON property id
682 683 684 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 682 def id @id end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "dns#
operation".
Corresponds to the JSON property kind
688 689 690 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 688 def kind @kind end |
#start_time ⇒ String
Corresponds to the JSON property startTime
693 694 695 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 693 def start_time @start_time end |
#status ⇒ String
Corresponds to the JSON property status
698 699 700 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 698 def status @status end |
#type ⇒ String
Corresponds to the JSON property type
703 704 705 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 703 def type @type end |
#user ⇒ String
Corresponds to the JSON property user
708 709 710 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 708 def user @user end |
#zone_context ⇒ Google::Apis::DnsV1beta2::OperationManagedZoneContext
Corresponds to the JSON property zoneContext
713 714 715 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 713 def zone_context @zone_context end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
720 721 722 723 724 725 726 727 728 729 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 720 def update!(**args) @dns_key_context = args[:dns_key_context] if args.key?(:dns_key_context) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @start_time = args[:start_time] if args.key?(:start_time) @status = args[:status] if args.key?(:status) @type = args[:type] if args.key?(:type) @user = args[:user] if args.key?(:user) @zone_context = args[:zone_context] if args.key?(:zone_context) end |