Class: Google::Apis::SecuresourcemanagerV1::UrIs

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

Overview

URIs for the repository.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UrIs

Returns a new instance of UrIs.



2271
2272
2273
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 2271

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

Instance Attribute Details

#apiString

Output only. API is the URI for API access. Corresponds to the JSON property api

Returns:

  • (String)


2259
2260
2261
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 2259

def api
  @api
end

#git_httpsString

Output only. git_https is the git HTTPS URI for git operations. Corresponds to the JSON property gitHttps

Returns:

  • (String)


2264
2265
2266
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 2264

def git_https
  @git_https
end

#htmlString

Output only. HTML is the URI for user to view the repository in a browser. Corresponds to the JSON property html

Returns:

  • (String)


2269
2270
2271
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 2269

def html
  @html
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2276
2277
2278
2279
2280
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 2276

def update!(**args)
  @api = args[:api] if args.key?(:api)
  @git_https = args[:git_https] if args.key?(:git_https)
  @html = args[:html] if args.key?(:html)
end