Class: Google::Apis::ApihubV1::GoogleCloudApihubV1Owner
- Inherits:
-
Object
- Object
- Google::Apis::ApihubV1::GoogleCloudApihubV1Owner
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apihub_v1/classes.rb,
lib/google/apis/apihub_v1/representations.rb,
lib/google/apis/apihub_v1/representations.rb
Overview
Owner details.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Optional.
-
#email ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApihubV1Owner
constructor
A new instance of GoogleCloudApihubV1Owner.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApihubV1Owner
Returns a new instance of GoogleCloudApihubV1Owner.
3942 3943 3944 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3942 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Optional. The name of the owner.
Corresponds to the JSON property displayName
3935 3936 3937 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3935 def display_name @display_name end |
#email ⇒ String
Required. The email of the owner.
Corresponds to the JSON property email
3940 3941 3942 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3940 def email @email end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3947 3948 3949 3950 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3947 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @email = args[:email] if args.key?(:email) end |