Class: Google::Apis::PeopleV1::ContactGroupResponse
- Inherits:
-
Object
- Object
- Google::Apis::PeopleV1::ContactGroupResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/people_v1/classes.rb,
generated/google/apis/people_v1/representations.rb,
generated/google/apis/people_v1/representations.rb
Overview
The response for a specific contact group.
Instance Attribute Summary collapse
-
#contact_group ⇒ Google::Apis::PeopleV1::ContactGroup
A contact group.
-
#requested_resource_name ⇒ String
The original requested resource name.
-
#status ⇒ Google::Apis::PeopleV1::Status
The
Status
type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ContactGroupResponse
constructor
A new instance of ContactGroupResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ContactGroupResponse
Returns a new instance of ContactGroupResponse
410 411 412 |
# File 'generated/google/apis/people_v1/classes.rb', line 410 def initialize(**args) update!(**args) end |
Instance Attribute Details
#contact_group ⇒ Google::Apis::PeopleV1::ContactGroup
A contact group.
Corresponds to the JSON property contactGroup
393 394 395 |
# File 'generated/google/apis/people_v1/classes.rb', line 393 def contact_group @contact_group end |
#requested_resource_name ⇒ String
The original requested resource name.
Corresponds to the JSON property requestedResourceName
398 399 400 |
# File 'generated/google/apis/people_v1/classes.rb', line 398 def requested_resource_name @requested_resource_name end |
#status ⇒ Google::Apis::PeopleV1::Status
The Status
type defines a logical error model that is suitable for
different programming environments, including REST APIs and RPC APIs. It is
used by gRPC. Each Status
message contains
three pieces of data: error code, error message, and error details.
You can find out more about this error model and how to work with it in the
API Design Guide.
Corresponds to the JSON property status
408 409 410 |
# File 'generated/google/apis/people_v1/classes.rb', line 408 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
415 416 417 418 419 |
# File 'generated/google/apis/people_v1/classes.rb', line 415 def update!(**args) @contact_group = args[:contact_group] if args.key?(:contact_group) @requested_resource_name = args[:requested_resource_name] if args.key?(:requested_resource_name) @status = args[:status] if args.key?(:status) end |