Class: Google::Apis::DeveloperconnectV1::AppHubService

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

Overview

AppHubService represents the App Hub Service.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppHubService

Returns a new instance of AppHubService.



131
132
133
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 131

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

Instance Attribute Details

#apphub_serviceString

Required. Output only. Immutable. The name of the App Hub Service. Format: projects/project/locations/location/applications/application/services/ service`. Corresponds to the JSON propertyapphubService`

Returns:

  • (String)


119
120
121
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 119

def apphub_service
  @apphub_service
end

#criticalityString

Output only. The criticality of the App Hub Service. Corresponds to the JSON property criticality

Returns:

  • (String)


124
125
126
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 124

def criticality
  @criticality
end

#environmentString

Output only. The environment of the App Hub Service. Corresponds to the JSON property environment

Returns:

  • (String)


129
130
131
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 129

def environment
  @environment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



136
137
138
139
140
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 136

def update!(**args)
  @apphub_service = args[:apphub_service] if args.key?(:apphub_service)
  @criticality = args[:criticality] if args.key?(:criticality)
  @environment = args[:environment] if args.key?(:environment)
end