Class: Google::Apis::GroupsmigrationV1::Groups

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

Overview

JSON response template for groups migration API.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Groups

Returns a new instance of Groups.



39
40
41
# File 'generated/google/apis/groupsmigration_v1/classes.rb', line 39

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

Instance Attribute Details

#kindString

The kind of insert resource this is. Corresponds to the JSON property kind

Returns:

  • (String)


32
33
34
# File 'generated/google/apis/groupsmigration_v1/classes.rb', line 32

def kind
  @kind
end

#response_codeString

The status of the insert request. Corresponds to the JSON property responseCode

Returns:

  • (String)


37
38
39
# File 'generated/google/apis/groupsmigration_v1/classes.rb', line 37

def response_code
  @response_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



44
45
46
47
# File 'generated/google/apis/groupsmigration_v1/classes.rb', line 44

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