Class: Google::Apis::MerchantapiAccountsV1beta::DeveloperRegistration
- Inherits:
-
Object
- Object
- Google::Apis::MerchantapiAccountsV1beta::DeveloperRegistration
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/merchantapi_accounts_v1beta/classes.rb,
lib/google/apis/merchantapi_accounts_v1beta/representations.rb,
lib/google/apis/merchantapi_accounts_v1beta/representations.rb
Overview
Represents a developer registration owned by a Merchant account.
Instance Attribute Summary collapse
-
#gcp_ids ⇒ Array<String>
Output only.
-
#name ⇒ String
Identifier.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeveloperRegistration
constructor
A new instance of DeveloperRegistration.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DeveloperRegistration
Returns a new instance of DeveloperRegistration.
1507 1508 1509 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1507 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gcp_ids ⇒ Array<String>
Output only. The GCP ids attached to this developer registration
Corresponds to the JSON property gcpIds
1498 1499 1500 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1498 def gcp_ids @gcp_ids end |
#name ⇒ String
Identifier. The name (ID) of the developer registration. Generated upon
creation of a new DeveloperRegistration. The account represents the
merchant ID of the merchant that owns the registration.
Corresponds to the JSON property name
1505 1506 1507 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1505 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1512 1513 1514 1515 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1512 def update!(**args) @gcp_ids = args[:gcp_ids] if args.key?(:gcp_ids) @name = args[:name] if args.key?(:name) end |