api_key.pbext.go raw

   1  // Code generated by protoc-gen-goext. DO NOT EDIT.
   2  
   3  package iam
   4  
   5  import (
   6  	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
   7  )
   8  
   9  func (m *ApiKey) SetId(v string) {
  10  	m.Id = v
  11  }
  12  
  13  func (m *ApiKey) SetServiceAccountId(v string) {
  14  	m.ServiceAccountId = v
  15  }
  16  
  17  func (m *ApiKey) SetCreatedAt(v *timestamppb.Timestamp) {
  18  	m.CreatedAt = v
  19  }
  20  
  21  func (m *ApiKey) SetDescription(v string) {
  22  	m.Description = v
  23  }
  24  
  25  func (m *ApiKey) SetLastUsedAt(v *timestamppb.Timestamp) {
  26  	m.LastUsedAt = v
  27  }
  28  
  29  func (m *ApiKey) SetScope(v string) {
  30  	m.Scope = v
  31  }
  32  
  33  func (m *ApiKey) SetScopes(v []string) {
  34  	m.Scopes = v
  35  }
  36  
  37  func (m *ApiKey) SetExpiresAt(v *timestamppb.Timestamp) {
  38  	m.ExpiresAt = v
  39  }
  40